Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cdda5f776f8694e126028f8522b11c284e24cb57 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-ssh6504852765565564589.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 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-ssh7060019176614284324.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 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9553220888254523826.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > 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-ssh8296511192978790574.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16766765145066040110.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 ‘prd-centos7-blackbox-4c-2g-7129’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-7326’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7327 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision cdda5f776f8694e126028f8522b11c284e24cb57 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdda5f776f8694e126028f8522b11c284e24cb57 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#754)" > git rev-list --no-walk 79e086bdcf3469f579d899f8914ab591dc96aef3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:48 ========================================================= 01:24:48 EdgeX Global Pipelines Version Info 01:24:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:49 ------------------- 01:24:49 stable info: 01:24:49 ------------------- 01:24:49 Commited By: Cherry Wang cherry@iotechsys.com 01:24:49 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:24:49 Message: update stable to v1.0.276 01:24:50 ------------------- 01:24:50 experimental info: 01:24:50 ------------------- 01:24:50 Commited By: **** collab-it+edgex@linuxfoundation.org 01:24:50 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 01:24:50 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:24:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdda5f7 [Pipeline] echo 01:24:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:51 provisioning config files... 01:24:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11186010061387304330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:51 ---> ****-login.sh 01:24:51 nexus3.edgexfoundry.org:10001 01:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:52 01:24:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:52 Configure a credential helper to remove this warning. See 01:24:52 https://docs.****.com/go/credential-store/ 01:24:52 01:24:52 Login Succeeded 01:24:52 nexus3.edgexfoundry.org:10002 01:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:52 01:24:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:52 Configure a credential helper to remove this warning. See 01:24:52 https://docs.****.com/go/credential-store/ 01:24:52 01:24:52 Login Succeeded 01:24:52 nexus3.edgexfoundry.org:10003 01:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:52 01:24:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:52 Configure a credential helper to remove this warning. See 01:24:52 https://docs.****.com/go/credential-store/ 01:24:52 01:24:52 Login Succeeded 01:24:52 nexus3.edgexfoundry.org:10004 01:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:52 01:24:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:52 Configure a credential helper to remove this warning. See 01:24:52 https://docs.****.com/go/credential-store/ 01:24:52 01:24:52 Login Succeeded 01:24:52 ****.io 01:24:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:52 01:24:52 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 01:24:52 Configure a credential helper to remove this warning. See 01:24:52 https://docs.****.com/go/credential-store/ 01:24:52 01:24:52 Login Succeeded 01:24:52 ---> ****-login.sh ends [Pipeline] } 01:24:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:53 + git rev-list -1 --merges cdda5f776f8694e126028f8522b11c284e24cb57~1..cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] echo 01:24:53 -----------> git rev-list -1 --merges cdda5f776f8694e126028f8522b11c284e24cb57~1..cdda5f776f8694e126028f8522b11c284e24cb57 cdda5f776f8694e126028f8522b11c284e24cb57 [false] [Pipeline] sh 01:24:53 + git log --format=format:%s -1 cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] echo 01:24:53 ========================================================= 01:24:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:53 + git log --format=format:%s -1 cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] echo 01:24:53 [semverPrep] GIT_COMMIT: cdda5f776f8694e126028f8522b11c284e24cb57, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#754) [Pipeline] echo 01:24:53 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:54 + grep -v github /etc/ssh/ssh_known_hosts 01:24:54 + [ -e /tmp/ssh_known_hosts ] 01:24:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:54 + sudo tee -a /etc/ssh/ssh_known_hosts 01:24:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:54 01:24:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:54 0.1.4: Pulling from edgex-devops/py-git-semver 01:24:54 3dae71ba6b94: Pulling fs layer 01:24:54 6bf1a483ea7c: Pulling fs layer 01:24:54 f5dfc541a4d3: Pulling fs layer 01:24:54 461d9e800cba: Pulling fs layer 01:24:54 80192f66455f: Pulling fs layer 01:24:54 2e8e34ca0e6c: Pulling fs layer 01:24:54 a29436f7fd5d: Pulling fs layer 01:24:54 923cac83aea3: Pulling fs layer 01:24:54 25ad8b0a4227: Pulling fs layer 01:24:54 db01528c6b51: Pulling fs layer 01:24:54 28988de357af: Pulling fs layer 01:24:54 923cac83aea3: Waiting 01:24:54 25ad8b0a4227: Waiting 01:24:54 461d9e800cba: Waiting 01:24:54 db01528c6b51: Waiting 01:24:54 80192f66455f: Waiting 01:24:54 28988de357af: Waiting 01:24:54 2e8e34ca0e6c: Waiting 01:24:54 a29436f7fd5d: Waiting 01:24:54 6bf1a483ea7c: Verifying Checksum 01:24:54 6bf1a483ea7c: Download complete 01:24:54 461d9e800cba: Verifying Checksum 01:24:54 461d9e800cba: Download complete 01:24:54 80192f66455f: Verifying Checksum 01:24:54 80192f66455f: Download complete 01:24:55 f5dfc541a4d3: Verifying Checksum 01:24:55 f5dfc541a4d3: Download complete 01:24:55 3dae71ba6b94: Download complete 01:24:55 923cac83aea3: Verifying Checksum 01:24:55 923cac83aea3: Download complete 01:24:55 25ad8b0a4227: Verifying Checksum 01:24:55 25ad8b0a4227: Download complete 01:24:55 db01528c6b51: Verifying Checksum 01:24:55 db01528c6b51: Download complete 01:24:55 28988de357af: Download complete 01:24:55 a29436f7fd5d: Download complete 01:24:55 2e8e34ca0e6c: Verifying Checksum 01:24:55 2e8e34ca0e6c: Download complete 01:24:56 3dae71ba6b94: Pull complete 01:24:56 6bf1a483ea7c: Pull complete 01:24:57 f5dfc541a4d3: Pull complete 01:24:57 461d9e800cba: Pull complete 01:24:57 80192f66455f: Pull complete 01:25:01 2e8e34ca0e6c: Pull complete 01:25:02 a29436f7fd5d: Pull complete 01:25:02 923cac83aea3: Pull complete 01:25:02 25ad8b0a4227: Pull complete 01:25:02 db01528c6b51: Pull complete 01:25:02 28988de357af: Pull complete 01:25:02 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 01:25:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:25:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:02 prd-ubuntu20.04-docker-8c-8g-7327 does not seem to be running inside a container 01:25:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:25:06 $ docker top 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 -eo pid,comm 01:25:06 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). 01:25:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:25:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:06 [ssh-agent] Looking for ssh-agent implementation... 01:25:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:07 $ docker exec 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 ssh-agent 01:25:07 SSH_AUTH_SOCK=/tmp/ssh-N56MZMFNPUeJ/agent.33 01:25:07 SSH_AGENT_PID=39 01:25:07 Running ssh-add (command line suppressed) 01:25:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12661975750701224541.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12661975750701224541.key) 01:25:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] sh 01:25:07 + git tag --points-at HEAD [Pipeline] } 01:25:07 $ docker exec --env ******** --env ******** 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 ssh-agent -k 01:25:07 unset SSH_AUTH_SOCK; 01:25:07 unset SSH_AGENT_PID; 01:25:07 echo Agent pid 39 killed; 01:25:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:25:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:08 [ssh-agent] Looking for ssh-agent implementation... 01:25:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:08 $ docker exec 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 ssh-agent 01:25:08 SSH_AUTH_SOCK=/tmp/ssh-7cLetuVN0qEf/agent.86 01:25:08 SSH_AGENT_PID=92 01:25:08 Running ssh-add (command line suppressed) 01:25:08 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13938952959385098835.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13938952959385098835.key) 01:25:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:08 + git semver init 01:25:09 2025-08-21 01:25:08,916 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 01:25:09 2025-08-21 01:25:08,920 [run_init] DEBUG init version:0.0.0 force:False 01:25:09 2025-08-21 01:25:08,921 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:25:09 2025-08-21 01:25:08,921 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:25:09 2025-08-21 01:25:08,922 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, stdin=None, shell=False, universal_newlines=False) 01:25:13 2025-08-21 01:25:12,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:25:13 2025-08-21 01:25:12,531 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:25:13 2025-08-21 01:25:12,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:25:13 2025-08-21 01:25:12,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:25:13 4.1.0-dev.4 [Pipeline] } 01:25:13 $ docker exec --env ******** --env ******** 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 ssh-agent -k 01:25:13 unset SSH_AUTH_SOCK; 01:25:13 unset SSH_AGENT_PID; 01:25:13 echo Agent pid 92 killed; 01:25:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:13 + git semver [Pipeline] } 01:25:14 $ docker stop --time=1 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 01:25:15 $ docker rm -f --volumes 16cada032c5feae0afb1a0e0ff10e72415f348daf2daa0b6ff9bec45901ba087 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:25:15 Stashed 1 file(s) [Pipeline] echo 01:25:16 [edgeXSemver]: initialized semver on version 4.1.0-dev.4 [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 01:25:16 provisioning config files... 01:25:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13254307084137456780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:16 ---> ****-login.sh 01:25:16 nexus3.edgexfoundry.org:10001 01:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:16 Login Succeeded 01:25:16 nexus3.edgexfoundry.org:10002 01:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:16 Login Succeeded 01:25:16 nexus3.edgexfoundry.org:10003 01:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:16 Login Succeeded 01:25:16 nexus3.edgexfoundry.org:10004 01:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:16 Login Succeeded 01:25:16 ****.io 01:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:17 Login Succeeded 01:25:17 ---> ****-login.sh ends [Pipeline] } 01:25:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:25:17 ========================================================= 01:25:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:25:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:17 + 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 . 01:25:18 #0 building with "default" instance using docker driver 01:25:18 01:25:18 #1 [internal] load build definition from Dockerfile 01:25:18 #1 transferring dockerfile: 1.84kB done 01:25:18 #1 DONE 0.0s 01:25:18 01:25:18 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:25:18 #2 DONE 0.1s 01:25:18 01:25:18 #3 [internal] load .dockerignore 01:25:18 #3 transferring context: 182B done 01:25:18 #3 DONE 0.0s 01:25:18 01:25:18 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:25:18 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 01:25:18 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 01:25:18 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 01:25:18 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 01:25:18 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 01:25:18 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 01:25:18 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.15MB / 3.63MB 0.1s 01:25:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 5.24MB / 74.06MB 0.1s 01:25:18 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.2s done 01:25:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 13.63MB / 74.06MB 0.2s 01:25:18 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 01:25:18 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.2s 01:25:18 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.2s done 01:25:18 #4 ... 01:25:18 01:25:18 #5 [internal] load build context 01:25:18 #5 transferring context: 30.63MB 0.3s done 01:25:18 #5 DONE 0.3s 01:25:18 01:25:18 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 01:25:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 27.26MB / 74.06MB 0.3s 01:25:18 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 01:25:18 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.2s done 01:25:18 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.3s 01:25:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 3.15MB / 103.05MB 0.3s 01:25:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 44.04MB / 74.06MB 0.4s 01:25:18 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.3s done 01:25:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 11.53MB / 103.05MB 0.4s 01:25:18 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.0s done 01:25:18 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 3.15MB / 13.29MB 0.4s 01:25:18 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.6s 01:25:18 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 29.36MB / 103.05MB 0.6s 01:25:18 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.6s 01:25:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 61.87MB / 103.05MB 0.8s 01:25:19 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.8s done 01:25:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 85.98MB / 103.05MB 0.9s 01:25:19 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.8s done 01:25:19 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 0.1s 01:25:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.1s 01:25:19 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.3s done 01:25:24 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.7s done 01:25:24 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 01:25:24 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 01:25:24 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 01:25:24 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 01:25:24 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 01:25:24 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 01:25:24 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 01:25:27 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 2.5s done 01:25:27 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 01:25:27 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.5s done 01:25:27 #4 DONE 9.4s 01:25:27 01:25:27 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:25:27 #6 0.195 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:25:27 #6 0.350 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:25:28 #6 0.686 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:25:28 #6 0.698 (2/4) Installing libedit (20240517.3.1-r0) 01:25:28 #6 0.703 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:25:28 #6 0.725 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:25:28 #6 0.736 Executing busybox-1.36.1-r29.trigger 01:25:28 #6 0.744 OK: 252 MiB in 62 packages 01:25:31 Still waiting to schedule task 01:25:31 ‘prd-centos7-blackbox-4c-2g-7129’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:25:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7328’ is offline 01:25:32 #6 DONE 4.5s 01:25:32 01:25:32 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:25:32 #7 DONE 0.0s 01:25:32 01:25:32 #8 [builder 4/7] COPY go.mod vendor* ./ 01:25:32 #8 DONE 0.0s 01:25:32 01:25:32 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:54 #9 DONE 20.7s 01:25:54 01:25:54 #10 [builder 6/7] COPY . . 01:25:54 #10 DONE 0.2s 01:25:54 01:25:54 #11 [builder 7/7] RUN echo noop 01:25:54 #11 0.175 noop 01:25:54 #11 DONE 0.2s 01:25:54 01:25:54 #12 exporting to image 01:25:54 #12 exporting layers 01:26:01 #12 exporting layers 7.1s done 01:26:01 #12 writing image sha256:ee954b42c72f13d5f36d1b14ebf0e77f02af1a007991a96ef40dd9fd75253181 done 01:26:01 #12 naming to docker.io/library/ci-base-image-x86_64 done 01:26:01 #12 DONE 7.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:01 + docker inspect -f . ci-base-image-x86_64 01:26:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:01 prd-ubuntu20.04-docker-8c-8g-7327 does not seem to be running inside a container 01:26:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:02 $ docker top a700625836e0ad6e08d91c13fe33c2e9764e0ad9fa3eeda220e1c714c22b6b31 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:02 + go version 01:26:02 go version go1.23.9 linux/amd64 [Pipeline] } 01:26:02 $ docker stop --time=1 a700625836e0ad6e08d91c13fe33c2e9764e0ad9fa3eeda220e1c714c22b6b31 01:26:03 $ docker rm -f --volumes a700625836e0ad6e08d91c13fe33c2e9764e0ad9fa3eeda220e1c714c22b6b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:04 + docker inspect -f . ci-base-image-x86_64 01:26:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:04 prd-ubuntu20.04-docker-8c-8g-7327 does not seem to be running inside a container 01:26:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:26:04 $ docker top 6499a3e4af59dd52a30ffb9284b00095b52919504949cad583f58a1b4b0e6211 -eo pid,comm [Pipeline] { [Pipeline] sh 01:26:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:26:05 + make test 01:26:05 go test ./... -coverprofile=coverage.out ./... 01:26:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:26:24 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 01:26:24 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 01:26:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements 01:26:32 go vet ./... 01:26:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:37 ./bin/test-attribution-txt.sh 01:26:37 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:26:37 $ docker stop --time=1 6499a3e4af59dd52a30ffb9284b00095b52919504949cad583f58a1b4b0e6211 01:26:43 $ docker rm -f --volumes 6499a3e4af59dd52a30ffb9284b00095b52919504949cad583f58a1b4b0e6211 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:26:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:26:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:26:44 + ls -al . 01:26:44 total 252 01:26:44 drwxrwxr-x 9 jenkins jenkins 4096 Aug 21 01:26 . 01:26:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 01:24 .. 01:26:44 -rw-rw-r-- 1 jenkins jenkins 140 Aug 21 01:24 .dockerignore 01:26:44 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:26 .git 01:26:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 .github 01:26:44 -rw-rw-r-- 1 jenkins jenkins 264 Aug 21 01:24 .gitignore 01:26:44 -rw-rw-r-- 1 jenkins jenkins 41 Aug 21 01:24 .golangci.yml 01:26:44 drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 01:25 .semver 01:26:44 -rw-rw-r-- 1 jenkins jenkins 19745 Aug 21 01:24 Attribution.txt 01:26:44 -rw-rw-r-- 1 jenkins jenkins 19382 Aug 21 01:24 CHANGELOG.md 01:26:44 -rw-rw-r-- 1 jenkins jenkins 1803 Aug 21 01:24 Dockerfile 01:26:44 -rw-rw-r-- 1 jenkins jenkins 677 Aug 21 01:24 GOVERNANCE.md 01:26:44 -rw-rw-r-- 1 jenkins jenkins 657 Aug 21 01:24 Jenkinsfile 01:26:44 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 01:24 LICENSE 01:26:44 -rw-rw-r-- 1 jenkins jenkins 2545 Aug 21 01:24 Makefile 01:26:44 -rw-rw-r-- 1 jenkins jenkins 620 Aug 21 01:24 OWNERS.md 01:26:44 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 21 01:24 README.md 01:26:44 -rw-rw-r-- 1 jenkins jenkins 11 Aug 21 01:25 VERSION 01:26:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:24 bin 01:26:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 cmd 01:26:44 -rw-r--r-- 1 jenkins jenkins 21039 Aug 21 01:26 coverage.out 01:26:44 -rw-rw-r-- 1 jenkins jenkins 6255 Aug 21 01:24 go.mod 01:26:44 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 21 01:24 go.sum 01:26:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:24 internal 01:26:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:24 mock 01:26:44 -rw-rw-r-- 1 jenkins jenkins 227 Aug 21 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:44 + 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=cdda5f776f8694e126028f8522b11c284e24cb57 --label arch=amd64 --label version=4.1.0-dev.4 . 01:26:44 #0 building with "default" instance using docker driver 01:26:44 01:26:44 #1 [internal] load build definition from Dockerfile 01:26:44 #1 transferring dockerfile: 1.84kB done 01:26:44 #1 DONE 0.0s 01:26:44 01:26:44 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 01:26:44 #2 DONE 0.0s 01:26:44 01:26:44 #3 [internal] load metadata for docker.io/library/alpine:3.20 01:26:44 #3 DONE 0.1s 01:26:44 01:26:44 #4 [internal] load .dockerignore 01:26:44 #4 transferring context: 182B done 01:26:44 #4 DONE 0.0s 01:26:44 01:26:44 #5 [internal] load build context 01:26:44 #5 transferring context: 31.88kB 0.0s done 01:26:44 #5 DONE 0.0s 01:26:44 01:26:44 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:26:44 #6 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 01:26:44 #6 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s 01:26:44 #6 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 01:26:44 #6 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 01:26:45 #6 ... 01:26:45 01:26:45 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 01:26:45 #7 DONE 0.1s 01:26:45 01:26:45 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:26:45 #6 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 01:26:45 #6 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 01:26:45 #6 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 01:26:45 #6 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 01:26:45 #6 DONE 0.3s 01:26:45 01:26:45 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:26:45 #8 0.199 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:45 #8 0.350 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:45 #8 0.690 OK: 252 MiB in 62 packages 01:26:46 #8 DONE 1.0s 01:26:46 01:26:46 #9 [builder 3/7] WORKDIR /device-mqtt-go 01:26:46 #9 DONE 0.0s 01:26:46 01:26:46 #10 [builder 4/7] COPY go.mod vendor* ./ 01:26:46 #10 DONE 0.0s 01:26:46 01:26:46 #11 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:26:46 #11 0.196 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:46 #11 0.300 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:46 #11 0.579 (1/1) Installing dumb-init (1.2.5-r3) 01:26:46 #11 0.774 Executing busybox-1.36.1-r29.trigger 01:26:46 #11 0.781 OK: 8 MiB in 15 packages 01:26:46 #11 DONE 0.9s 01:26:46 01:26:46 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:46 #12 DONE 0.5s 01:26:46 01:26:46 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:26:46 #13 0.277 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:26:46 #13 0.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:26:46 #13 0.625 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 01:26:46 #13 0.768 Executing busybox-1.36.1-r30.post-upgrade 01:26:46 #13 ... 01:26:46 01:26:46 #14 [builder 6/7] COPY . . 01:26:46 #14 DONE 0.4s 01:26:46 01:26:46 #13 [stage-1 3/6] RUN apk --no-cache upgrade 01:26:46 #13 0.842 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 01:26:46 #13 0.847 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 01:26:46 #13 0.915 Executing busybox-1.36.1-r30.trigger 01:26:47 #13 0.919 OK: 8 MiB in 15 packages 01:26:47 #13 DONE 1.1s 01:26:47 01:26:47 #15 [builder 7/7] RUN make build 01:26:47 #15 0.229 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.31 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:27:14 #15 DONE 24.4s 01:27:14 01:27:14 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 01:27:14 #16 DONE 0.6s 01:27:14 01:27:14 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 01:27:14 #17 DONE 0.0s 01:27:14 01:27:14 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 01:27:14 #18 DONE 0.0s 01:27:14 01:27:14 #19 exporting to image 01:27:14 #19 exporting layers 01:27:14 #19 exporting layers 0.3s done 01:27:14 #19 writing image sha256:3f68c11dd8c7d8dd2640c9acb9c47724e64c330ae8a2752c43f0295ec1940505 done 01:27:14 #19 naming to docker.io/library/device-mqtt done 01:27:14 #19 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:14 provisioning config files... 01:27:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9135777009874186471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:14 ---> ****-login.sh 01:27:14 nexus3.edgexfoundry.org:10001 01:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:14 Login Succeeded 01:27:14 nexus3.edgexfoundry.org:10002 01:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:14 Login Succeeded 01:27:14 nexus3.edgexfoundry.org:10003 01:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:14 Login Succeeded 01:27:14 nexus3.edgexfoundry.org:10004 01:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:14 Login Succeeded 01:27:14 ****.io 01:27:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:27:15 Login Succeeded 01:27:15 ---> ****-login.sh ends [Pipeline] } 01:27:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:27:15 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:27:15 cdda5f776f8694e126028f8522b11c284e24cb57 01:27:15 latest 01:27:15 4.1.0-dev.4 01:27:15 cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:27:15 main 01:27:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57 01:27:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:27:15 cc20c580148e: Preparing 01:27:15 29b4a08ea246: Preparing 01:27:15 fd1f90a552db: Preparing 01:27:15 040c0683c95b: Preparing 01:27:15 1fc18b444126: Preparing 01:27:15 097100c76c15: Preparing 01:27:15 097100c76c15: Waiting 01:27:15 29b4a08ea246: Pushed 01:27:15 cc20c580148e: Pushed 01:27:15 1fc18b444126: Pushed 01:27:15 097100c76c15: Layer already exists 01:27:15 040c0683c95b: Pushed 01:27:21 fd1f90a552db: Pushed 01:27:21 cdda5f776f8694e126028f8522b11c284e24cb57: digest: sha256:51a06cdf730a8ce03353f61117177be0b9092415db5cfd82d26a4d6d5b43bf3d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:27:21 cc20c580148e: Preparing 01:27:21 29b4a08ea246: Preparing 01:27:21 fd1f90a552db: Preparing 01:27:21 040c0683c95b: Preparing 01:27:21 1fc18b444126: Preparing 01:27:21 097100c76c15: Preparing 01:27:21 097100c76c15: Waiting 01:27:21 1fc18b444126: Layer already exists 01:27:21 29b4a08ea246: Layer already exists 01:27:21 cc20c580148e: Layer already exists 01:27:21 040c0683c95b: Layer already exists 01:27:21 fd1f90a552db: Layer already exists 01:27:21 097100c76c15: Layer already exists 01:27:21 latest: digest: sha256:51a06cdf730a8ce03353f61117177be0b9092415db5cfd82d26a4d6d5b43bf3d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:4.1.0-dev.4 01:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:27:22 cc20c580148e: Preparing 01:27:22 29b4a08ea246: Preparing 01:27:22 fd1f90a552db: Preparing 01:27:22 040c0683c95b: Preparing 01:27:22 1fc18b444126: Preparing 01:27:22 097100c76c15: Preparing 01:27:22 097100c76c15: Waiting 01:27:22 fd1f90a552db: Layer already exists 01:27:22 040c0683c95b: Layer already exists 01:27:22 cc20c580148e: Layer already exists 01:27:22 29b4a08ea246: Layer already exists 01:27:22 1fc18b444126: Layer already exists 01:27:22 097100c76c15: Layer already exists 01:27:22 4.1.0-dev.4: digest: sha256:51a06cdf730a8ce03353f61117177be0b9092415db5cfd82d26a4d6d5b43bf3d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:27:23 cc20c580148e: Preparing 01:27:23 29b4a08ea246: Preparing 01:27:23 fd1f90a552db: Preparing 01:27:23 040c0683c95b: Preparing 01:27:23 1fc18b444126: Preparing 01:27:23 097100c76c15: Preparing 01:27:23 097100c76c15: Waiting 01:27:23 29b4a08ea246: Layer already exists 01:27:23 fd1f90a552db: Layer already exists 01:27:23 1fc18b444126: Layer already exists 01:27:23 040c0683c95b: Layer already exists 01:27:23 cc20c580148e: Layer already exists 01:27:23 097100c76c15: Layer already exists 01:27:23 cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4: digest: sha256:51a06cdf730a8ce03353f61117177be0b9092415db5cfd82d26a4d6d5b43bf3d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:27:23 cc20c580148e: Preparing 01:27:23 29b4a08ea246: Preparing 01:27:23 fd1f90a552db: Preparing 01:27:23 040c0683c95b: Preparing 01:27:23 1fc18b444126: Preparing 01:27:23 097100c76c15: Preparing 01:27:23 097100c76c15: Waiting 01:27:23 29b4a08ea246: Layer already exists 01:27:23 040c0683c95b: Layer already exists 01:27:23 1fc18b444126: Layer already exists 01:27:23 cc20c580148e: Layer already exists 01:27:23 fd1f90a552db: Layer already exists 01:27:23 097100c76c15: Layer already exists 01:27:23 main: digest: sha256:51a06cdf730a8ce03353f61117177be0b9092415db5cfd82d26a4d6d5b43bf3d size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:27:23 ===================================================== [Pipeline] echo 01:27:23 taggedImages: 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:4.1.0-dev.4 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] echo 01:27:23 ========================================================= 01:27:23 [edgeXBuildMultiArch] RAW Config: 01:27:23 images: 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:4.1.0-dev.4 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:27:23 - nexus3.edgexfoundry.org:10004/device-mqtt:main 01:27:23 settingsFile: 01:27:23 device-mqtt-go-settings 01:27:23 ========================================================= [Pipeline] node 01:27:38 Still waiting to schedule task 01:27:38 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-7331’ 01:28:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7334 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:28:16 Running in /w/workspace/device-mqtt-go/198 [Pipeline] { [Pipeline] checkout 01:28:16 The recommended git tool is: git 01:28:22 using credential edgex-jenkins-ssh 01:28:22 Cloning the remote Git repository 01:28:22 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:28:22 > git init /w/workspace/device-mqtt-go/198 # timeout=10 01:28:22 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:28:22 > git --version # timeout=10 01:28:22 > git --version # 'git version 2.25.1' 01:28:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:28:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:28:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:28:27 Avoid second fetch 01:28:27 Checking out Revision cdda5f776f8694e126028f8522b11c284e24cb57 (main) 01:28:27 > git config core.sparsecheckout # timeout=10 01:28:27 > git checkout -f cdda5f776f8694e126028f8522b11c284e24cb57 # timeout=10 01:28:28 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 (#754)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:33 provisioning config files... 01:28:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/198@tmp/config11797883596528000849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:34 ---> ****-login.sh 01:28:34 nexus3.edgexfoundry.org:10001 01:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:34 nexus3.edgexfoundry.org:10002 01:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:34 Configure a credential helper to remove this warning. See 01:28:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:34 01:28:34 Login Succeeded 01:28:35 nexus3.edgexfoundry.org:10003 01:28:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:35 Configure a credential helper to remove this warning. See 01:28:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:35 01:28:35 Login Succeeded 01:28:35 nexus3.edgexfoundry.org:10004 01:28:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:35 Configure a credential helper to remove this warning. See 01:28:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:35 01:28:35 Login Succeeded 01:28:35 ****.io 01:28:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:28:36 Configure a credential helper to remove this warning. See 01:28:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:28:36 01:28:36 Login Succeeded 01:28:36 ---> ****-login.sh ends [Pipeline] } 01:28:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:28:37 ========================================================= 01:28:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:28:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:37 + 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 . 01:28:38 Sending build context to Docker daemon 15.47MB 01:28:38 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:28:38 Step 2/12 : FROM ${BASE} AS builder 01:28:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:28:38 94e9d8af2201: Pulling fs layer 01:28:38 a6c56e8762df: Pulling fs layer 01:28:38 f0f3c8884826: Pulling fs layer 01:28:38 c7e7622c144d: Pulling fs layer 01:28:38 4f4fb700ef54: Pulling fs layer 01:28:38 b4c3b6d88c5a: Pulling fs layer 01:28:38 ba8bce9d2590: Pulling fs layer 01:28:38 ca778ea9c289: Pulling fs layer 01:28:38 4f4fb700ef54: Waiting 01:28:38 b4c3b6d88c5a: Waiting 01:28:38 c7e7622c144d: Waiting 01:28:38 ba8bce9d2590: Waiting 01:28:38 ca778ea9c289: Waiting 01:28:38 a6c56e8762df: Verifying Checksum 01:28:38 a6c56e8762df: Download complete 01:28:38 c7e7622c144d: Download complete 01:28:38 4f4fb700ef54: Verifying Checksum 01:28:38 4f4fb700ef54: Download complete 01:28:38 b4c3b6d88c5a: Verifying Checksum 01:28:38 b4c3b6d88c5a: Download complete 01:28:38 94e9d8af2201: Verifying Checksum 01:28:38 94e9d8af2201: Download complete 01:28:38 ca778ea9c289: Verifying Checksum 01:28:38 ca778ea9c289: Download complete 01:28:39 94e9d8af2201: Pull complete 01:28:40 a6c56e8762df: Pull complete 01:28:40 f0f3c8884826: Verifying Checksum 01:28:40 f0f3c8884826: Download complete 01:28:42 ba8bce9d2590: Verifying Checksum 01:28:42 ba8bce9d2590: Download complete 01:28:57 f0f3c8884826: Pull complete 01:28:57 c7e7622c144d: Pull complete 01:28:57 4f4fb700ef54: Pull complete 01:28:57 b4c3b6d88c5a: Pull complete 01:28:57 Running on prd-centos7-docker-4c-2g-7340 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:57 provisioning config files... 01:28:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6327231486692147357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:59 ---> ****-login.sh 01:28:59 nexus3.edgexfoundry.org:10001 01:29:05 ba8bce9d2590: Pull complete 01:29:06 ca778ea9c289: Pull complete 01:29:06 Digest: sha256:c70c257f76c0e97c87bd0187f74242a809c0afac30c2d5f44320df1de5715b93 01:29:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:29:06 ---> 47b25d7523d1 01:29:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:29:09 ---> Running in af65afd7c3bf 01:29:09 Removing intermediate container af65afd7c3bf 01:29:09 ---> 2bc413791cce 01:29:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:09 ---> Running in 1d6f5de4dc20 01:29:09 Removing intermediate container 1d6f5de4dc20 01:29:09 ---> 5ab72bda6bff 01:29:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:29:09 ---> Running in 288fe234491e 01:29:10 Removing intermediate container 288fe234491e 01:29:10 ---> bc86e8dab10a 01:29:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:29:10 ---> Running in b333717f35a5 01:29:10 Removing intermediate container b333717f35a5 01:29:10 ---> 1ee24f3b7b1b 01:29:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:10 ---> Running in 9bd00b8d6d09 01:29:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:29:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:29:13 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:29:13 (2/4) Installing libedit (20240517.3.1-r0) 01:29:13 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:29:13 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:29:13 Executing busybox-1.36.1-r29.trigger 01:29:13 OK: 244 MiB in 62 packages 01:29:14 Removing intermediate container 9bd00b8d6d09 01:29:14 ---> 166b8ee3c027 01:29:14 Step 8/12 : WORKDIR /device-mqtt-go 01:29:15 ---> Running in d0bb3dc7a799 01:29:15 Removing intermediate container d0bb3dc7a799 01:29:15 ---> bad5d582d94f 01:29:15 Step 9/12 : COPY go.mod vendor* ./ 01:29:16 ---> 2fee11f266ae 01:29:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:16 ---> Running in 2f8c827eb351 01:31:22 Removing intermediate container 2f8c827eb351 01:31:22 ---> 7a2ea6c857a8 01:31:22 Step 11/12 : COPY . . 01:31:22 ---> b3c5fd35f5e9 01:31:22 Step 12/12 : RUN $MAKE 01:31:22 ---> Running in 08465668ed87 01:31:22 noop 01:31:22 Removing intermediate container 08465668ed87 01:31:22 ---> c92e77196d4d 01:31:22 Successfully built c92e77196d4d 01:31:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:23 + docker inspect -f . ci-base-image-arm64 01:31:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:23 prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container 01:31:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/198 -v /w/workspace/device-mqtt-go/198:/w/workspace/device-mqtt-go/198:rw,z -v /w/workspace/device-mqtt-go/198@tmp:/w/workspace/device-mqtt-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:31:24 $ docker top d9e01fc00498c211b75913e7be73f44b21c366d2c8a938b00f9ffd4c7db0b4c4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:25 + go version 01:31:25 go version go1.23.9 linux/arm64 [Pipeline] } 01:31:25 $ docker stop --time=1 d9e01fc00498c211b75913e7be73f44b21c366d2c8a938b00f9ffd4c7db0b4c4 01:31:28 $ docker rm -f --volumes d9e01fc00498c211b75913e7be73f44b21c366d2c8a938b00f9ffd4c7db0b4c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:29 + docker inspect -f . ci-base-image-arm64 01:31:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:29 prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container 01:31:29 $ 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/198 -v /w/workspace/device-mqtt-go/198:/w/workspace/device-mqtt-go/198:rw,z -v /w/workspace/device-mqtt-go/198@tmp:/w/workspace/device-mqtt-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:31:31 $ docker top ca169588f0652bc37bb1d931b59c88aacc15afcade7620c5dfeed59ed3ea735d -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:32 + git config --global --add safe.directory /w/workspace/device-mqtt-go/198 [Pipeline] fileExists [Pipeline] sh 01:31:32 + make test 01:31:32 go test ./... -coverprofile=coverage.out ./... 01:31:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:36:16 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 01:36:19 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 01:36:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 22.8% of statements 01:36:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:36:20 go vet ./... 01:37:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:28 ./bin/test-attribution-txt.sh 01:37:28 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 01:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:37:28 $ docker stop --time=1 ca169588f0652bc37bb1d931b59c88aacc15afcade7620c5dfeed59ed3ea735d 01:37:30 $ docker rm -f --volumes ca169588f0652bc37bb1d931b59c88aacc15afcade7620c5dfeed59ed3ea735d [Pipeline] // withDockerContainer [Pipeline] sh 01:37:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:32 Warning: overwriting stash ‘coverage-report’ 01:37:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:34 + ls -al . 01:37:34 total 248 01:37:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:31 . 01:37:34 drwxrwxr-x 4 jenkins jenkins 4096 Aug 21 01:28 .. 01:37:34 -rw-rw-r-- 1 jenkins jenkins 140 Aug 21 01:28 .dockerignore 01:37:34 drwxrwxr-x 8 jenkins jenkins 4096 Aug 21 01:28 .git 01:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 .github 01:37:34 -rw-rw-r-- 1 jenkins jenkins 264 Aug 21 01:28 .gitignore 01:37:34 -rw-rw-r-- 1 jenkins jenkins 41 Aug 21 01:28 .golangci.yml 01:37:34 -rw-rw-r-- 1 jenkins jenkins 19745 Aug 21 01:28 Attribution.txt 01:37:34 -rw-rw-r-- 1 jenkins jenkins 19382 Aug 21 01:28 CHANGELOG.md 01:37:34 -rw-rw-r-- 1 jenkins jenkins 1803 Aug 21 01:28 Dockerfile 01:37:34 -rw-rw-r-- 1 jenkins jenkins 677 Aug 21 01:28 GOVERNANCE.md 01:37:34 -rw-rw-r-- 1 jenkins jenkins 657 Aug 21 01:28 Jenkinsfile 01:37:34 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 21 01:28 LICENSE 01:37:34 -rw-rw-r-- 1 jenkins jenkins 2545 Aug 21 01:28 Makefile 01:37:34 -rw-rw-r-- 1 jenkins jenkins 620 Aug 21 01:28 OWNERS.md 01:37:34 -rw-rw-r-- 1 jenkins jenkins 3599 Aug 21 01:28 README.md 01:37:34 -rw-rw-r-- 1 jenkins jenkins 11 Aug 21 01:25 VERSION 01:37:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:28 bin 01:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 cmd 01:37:34 -rw-r--r-- 1 jenkins jenkins 21039 Aug 21 01:36 coverage.out 01:37:34 -rw-rw-r-- 1 jenkins jenkins 6255 Aug 21 01:28 go.mod 01:37:34 -rw-rw-r-- 1 jenkins jenkins 86944 Aug 21 01:28 go.sum 01:37:34 drwxrwxr-x 3 jenkins jenkins 4096 Aug 21 01:28 internal 01:37:34 drwxrwxr-x 2 jenkins jenkins 4096 Aug 21 01:28 mock 01:37:34 -rw-rw-r-- 1 jenkins jenkins 227 Aug 21 01:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:34 + 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=cdda5f776f8694e126028f8522b11c284e24cb57 --label arch=arm64 --label version=4.1.0-dev.4 . 01:37:35 Sending build context to Docker daemon 15.49MB 01:37:35 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 01:37:35 Step 2/25 : FROM ${BASE} AS builder 01:37:35 ---> c92e77196d4d 01:37:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:37:35 ---> Running in 53ce3b9c80c6 01:37:35 Removing intermediate container 53ce3b9c80c6 01:37:35 ---> d1cc1395d9eb 01:37:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:35 ---> Running in 87b3ba892de3 01:37:36 Removing intermediate container 87b3ba892de3 01:37:36 ---> b55441474c88 01:37:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:37:36 ---> Running in 137a6f10d8f0 01:37:36 Removing intermediate container 137a6f10d8f0 01:37:36 ---> 69ae17064d38 01:37:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:37:36 ---> Running in ee01d10efd3d 01:37:36 Removing intermediate container ee01d10efd3d 01:37:36 ---> 22d293e85295 01:37:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:37 ---> Running in d255e47ee7c6 01:37:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:37:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:37:40 OK: 244 MiB in 62 packages 01:37:41 Removing intermediate container d255e47ee7c6 01:37:41 ---> 039fdb7f59a7 01:37:41 Step 8/25 : WORKDIR /device-mqtt-go 01:37:41 ---> Running in b56b966a9ebc 01:37:41 Removing intermediate container b56b966a9ebc 01:37:41 ---> e813cae4a905 01:37:41 Step 9/25 : COPY go.mod vendor* ./ 01:37:42 ---> b2c6535a59b9 01:37:42 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:42 ---> Running in d7ffe2a57e10 01:37:45 Removing intermediate container d7ffe2a57e10 01:37:45 ---> d25c47069f92 01:37:45 Step 11/25 : COPY . . 01:37:46 ---> 14ec60e07f01 01:37:46 Step 12/25 : RUN $MAKE 01:37:46 ---> Running in ddbd93ee37e5 01:37:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=4.1.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.31 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 01:42:09 Removing intermediate container ddbd93ee37e5 01:42:09 ---> e8062e62011e 01:42:09 Step 13/25 : FROM alpine:3.20 01:42:09 3.20: Pulling from library/alpine 01:42:09 13e713f82565: Pulling fs layer 01:42:09 13e713f82565: Verifying Checksum 01:42:09 13e713f82565: Download complete 01:42:09 13e713f82565: Pull complete 01:42:09 Digest: sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 01:42:09 Status: Downloaded newer image for alpine:3.20 01:42:09 ---> c88e9dceb6cb 01:42:09 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 01:42:09 ---> Running in e4153c89f1a6 01:42:09 Removing intermediate container e4153c89f1a6 01:42:09 ---> 21dc4b4a003d 01:42:09 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:42:09 ---> Running in b3dc8314283e 01:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:42:09 (1/1) Installing dumb-init (1.2.5-r3) 01:42:09 Executing busybox-1.36.1-r29.trigger 01:42:09 OK: 9 MiB in 15 packages 01:42:09 Removing intermediate container b3dc8314283e 01:42:09 ---> 44bddf5e8fca 01:42:09 Step 16/25 : RUN apk --no-cache upgrade 01:42:09 ---> Running in 12fa9a90650a 01:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:42:09 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 01:42:09 Executing busybox-1.36.1-r30.post-upgrade 01:42:09 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 01:42:09 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 01:42:09 Executing busybox-1.36.1-r30.trigger 01:42:09 OK: 9 MiB in 15 packages 01:42:09 Removing intermediate container 12fa9a90650a 01:42:09 ---> 5a7b796e1833 01:42:09 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:42:09 ---> a7273e15bce1 01:42:09 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:42:09 ---> 6facbb567f36 01:42:09 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:42:09 ---> 62c0ea921fd2 01:42:09 Step 20/25 : EXPOSE 59982 01:42:09 ---> Running in 1ebbbf280579 01:42:09 Removing intermediate container 1ebbbf280579 01:42:09 ---> 2aaf73b5bf50 01:42:09 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:42:09 ---> Running in 6e428aefafe4 01:42:10 Removing intermediate container 6e428aefafe4 01:42:10 ---> 55436408a391 01:42:10 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:42:10 ---> Running in af4c3351ab6b 01:42:10 Removing intermediate container af4c3351ab6b 01:42:10 ---> 9c545eefb786 01:42:10 Step 23/25 : LABEL arch=arm64 01:42:10 ---> Running in 56640a12eaec 01:42:11 Removing intermediate container 56640a12eaec 01:42:11 ---> aa1bde81faa6 01:42:11 Step 24/25 : LABEL git_sha=cdda5f776f8694e126028f8522b11c284e24cb57 01:42:11 ---> Running in 92e7d6d2792f 01:42:11 Removing intermediate container 92e7d6d2792f 01:42:11 ---> cccc0c98a4ac 01:42:11 Step 25/25 : LABEL version=4.1.0-dev.4 01:42:11 ---> Running in 1d9b9323dac5 01:42:11 Removing intermediate container 1d9b9323dac5 01:42:11 ---> 0a8121f44615 01:42:11 [Warning] One or more build-args [ARCH] were not consumed 01:42:12 Successfully built 0a8121f44615 01:42:12 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:42:12 provisioning config files... 01:42:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/198@tmp/config12339988794908947214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:12 ---> ****-login.sh 01:42:12 nexus3.edgexfoundry.org:10001 01:42:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:12 Configure a credential helper to remove this warning. See 01:42:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:12 01:42:12 Login Succeeded 01:42:12 nexus3.edgexfoundry.org:10002 01:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:13 Configure a credential helper to remove this warning. See 01:42:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:13 01:42:13 Login Succeeded 01:42:13 nexus3.edgexfoundry.org:10003 01:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:13 Configure a credential helper to remove this warning. See 01:42:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:13 01:42:13 Login Succeeded 01:42:13 nexus3.edgexfoundry.org:10004 01:42:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:14 Configure a credential helper to remove this warning. See 01:42:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:14 01:42:14 Login Succeeded 01:42:14 ****.io 01:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:42:14 Configure a credential helper to remove this warning. See 01:42:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:42:14 01:42:14 Login Succeeded 01:42:14 ---> ****-login.sh ends [Pipeline] } 01:42:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:42:14 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:42:14 cdda5f776f8694e126028f8522b11c284e24cb57 01:42:14 latest 01:42:14 4.1.0-dev.4 01:42:14 cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:42:14 main 01:42:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57 01:42:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:42:15 0fadf1660e3a: Preparing 01:42:15 c7f9c40f43ab: Preparing 01:42:15 5ac83b3bc836: Preparing 01:42:15 0ac306dd7ed4: Preparing 01:42:15 e073d9902a3f: Preparing 01:42:15 1e890da81ec9: Preparing 01:42:15 1e890da81ec9: Waiting 01:42:15 0fadf1660e3a: Pushed 01:42:15 c7f9c40f43ab: Pushed 01:42:15 e073d9902a3f: Pushed 01:42:15 1e890da81ec9: Layer already exists 01:42:16 0ac306dd7ed4: Pushed 01:42:28 5ac83b3bc836: Pushed 01:42:28 cdda5f776f8694e126028f8522b11c284e24cb57: digest: sha256:e8a0585fcfe5f2ccf0547bea59f68d6c94e6e0f0305a6fda6c49c68e94eeb385 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:42:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:42:29 0fadf1660e3a: Preparing 01:42:29 c7f9c40f43ab: Preparing 01:42:29 5ac83b3bc836: Preparing 01:42:29 0ac306dd7ed4: Preparing 01:42:29 e073d9902a3f: Preparing 01:42:29 1e890da81ec9: Preparing 01:42:29 1e890da81ec9: Waiting 01:42:29 5ac83b3bc836: Layer already exists 01:42:29 c7f9c40f43ab: Layer already exists 01:42:29 e073d9902a3f: Layer already exists 01:42:29 0fadf1660e3a: Layer already exists 01:42:29 0ac306dd7ed4: Layer already exists 01:42:29 1e890da81ec9: Layer already exists 01:42:29 latest: digest: sha256:e8a0585fcfe5f2ccf0547bea59f68d6c94e6e0f0305a6fda6c49c68e94eeb385 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:29 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:30 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.1.0-dev.4 01:42:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:42:30 0fadf1660e3a: Preparing 01:42:30 c7f9c40f43ab: Preparing 01:42:30 5ac83b3bc836: Preparing 01:42:30 0ac306dd7ed4: Preparing 01:42:30 e073d9902a3f: Preparing 01:42:30 1e890da81ec9: Preparing 01:42:30 1e890da81ec9: Waiting 01:42:30 0ac306dd7ed4: Layer already exists 01:42:30 5ac83b3bc836: Layer already exists 01:42:30 c7f9c40f43ab: Layer already exists 01:42:30 e073d9902a3f: Layer already exists 01:42:30 1e890da81ec9: Layer already exists 01:42:31 0fadf1660e3a: Layer already exists 01:42:31 4.1.0-dev.4: digest: sha256:e8a0585fcfe5f2ccf0547bea59f68d6c94e6e0f0305a6fda6c49c68e94eeb385 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:42:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:42:32 0fadf1660e3a: Preparing 01:42:32 c7f9c40f43ab: Preparing 01:42:32 5ac83b3bc836: Preparing 01:42:32 0ac306dd7ed4: Preparing 01:42:32 e073d9902a3f: Preparing 01:42:32 1e890da81ec9: Preparing 01:42:32 1e890da81ec9: Waiting 01:42:32 0fadf1660e3a: Layer already exists 01:42:32 5ac83b3bc836: Layer already exists 01:42:32 e073d9902a3f: Layer already exists 01:42:32 0ac306dd7ed4: Layer already exists 01:42:32 c7f9c40f43ab: Layer already exists 01:42:32 1e890da81ec9: Layer already exists 01:42:32 cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4: digest: sha256:e8a0585fcfe5f2ccf0547bea59f68d6c94e6e0f0305a6fda6c49c68e94eeb385 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:42:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:42:33 0fadf1660e3a: Preparing 01:42:33 c7f9c40f43ab: Preparing 01:42:33 5ac83b3bc836: Preparing 01:42:33 0ac306dd7ed4: Preparing 01:42:33 e073d9902a3f: Preparing 01:42:33 1e890da81ec9: Preparing 01:42:33 1e890da81ec9: Waiting 01:42:33 0ac306dd7ed4: Layer already exists 01:42:33 e073d9902a3f: Layer already exists 01:42:33 5ac83b3bc836: Layer already exists 01:42:33 0fadf1660e3a: Layer already exists 01:42:33 c7f9c40f43ab: Layer already exists 01:42:33 1e890da81ec9: Layer already exists 01:42:33 main: digest: sha256:e8a0585fcfe5f2ccf0547bea59f68d6c94e6e0f0305a6fda6c49c68e94eeb385 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:42:33 ===================================================== [Pipeline] echo 01:42:33 taggedImages: 01:42:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57 01:42:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:42:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.1.0-dev.4 01:42:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 01:42:33 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] echo 01:42:33 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57 [Pipeline] echo 01:42:33 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] echo 01:42:33 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-mqtt-arm64:4.1.0-dev.4 [Pipeline] echo 01:42:33 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cdda5f776f8694e126028f8522b11c284e24cb57-4.1.0-dev.4 [Pipeline] echo 01:42:33 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:34 01:42:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:34 arm64: Pulling from edgex-lftools-log-publisher 01:42:34 8998bd30e6a1: Pulling fs layer 01:42:34 04944245beec: Pulling fs layer 01:42:34 699f458cf7ca: Pulling fs layer 01:42:34 765212b225bb: Pulling fs layer 01:42:34 f23df028b6ca: Pulling fs layer 01:42:34 d65c8cfc05b1: Pulling fs layer 01:42:34 2437ff75d9bd: Pulling fs layer 01:42:34 d65c8cfc05b1: Waiting 01:42:34 2437ff75d9bd: Waiting 01:42:34 765212b225bb: Waiting 01:42:34 f23df028b6ca: Waiting 01:42:34 04944245beec: Verifying Checksum 01:42:34 04944245beec: Download complete 01:42:34 765212b225bb: Verifying Checksum 01:42:34 765212b225bb: Download complete 01:42:34 f23df028b6ca: Download complete 01:42:34 d65c8cfc05b1: Verifying Checksum 01:42:34 d65c8cfc05b1: Download complete 01:42:35 699f458cf7ca: Verifying Checksum 01:42:35 699f458cf7ca: Download complete 01:42:35 8998bd30e6a1: Download complete 01:42:38 2437ff75d9bd: Verifying Checksum 01:42:38 2437ff75d9bd: Download complete 01:42:40 8998bd30e6a1: Pull complete 01:42:41 04944245beec: Pull complete 01:42:43 699f458cf7ca: Pull complete 01:42:43 765212b225bb: Pull complete 01:42:44 f23df028b6ca: Pull complete 01:42:44 d65c8cfc05b1: Pull complete 01:43:02 2437ff75d9bd: Pull complete 01:43:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:43:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:03 prd-ubuntu20.04-docker-arm64-4c-16g-7334 does not seem to be running inside a container 01:43:03 $ 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/198 -v /w/workspace/device-mqtt-go/198:/w/workspace/device-mqtt-go/198:rw,z -v /w/workspace/device-mqtt-go/198@tmp:/w/workspace/device-mqtt-go/198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:43:06 $ docker top fba74700b90552863920a70fa203686eab6090fe6f61fad38ede0812e7f8d24c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:07 ---> job-cost.sh 01:43:07 lf-activate-venv: SKIPPING 01:43:07 INFO: No Stack... 01:43:08 INFO: Retrieving Pricing Info for: v3-standard-4 01:43:08 INFO: Archiving Costs [Pipeline] sh 01:43:09 + cat /w/workspace/device-mqtt-go/198/archives/cost.csv 01:43:09 + cut -d, -f6 [Pipeline] lock 01:43:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] 01:43:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] did not exist. Created. 01:43:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:10 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:10 Stashed 1 file(s) [Pipeline] } 01:43:10 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:10 $ docker stop --time=1 fba74700b90552863920a70fa203686eab6090fe6f61fad38ede0812e7f8d24c 01:43:12 $ docker rm -f --volumes fba74700b90552863920a70fa203686eab6090fe6f61fad38ede0812e7f8d24c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:24:48 Cancelling nested steps due to timeout 07:24:48 Sending interrupt signal to process 07:24:49 script returned exit code 143 [Pipeline] } 07:24:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:24:50 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 07:24:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:24:51 ---> package-listing.sh 07:24:51 ++ facter osfamily 07:24:51 ++ tr '[:upper:]' '[:lower:]' 07:24:51 + OS_FAMILY=redhat 07:24:51 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:24:51 + START_PACKAGES=/tmp/packages_start.txt 07:24:51 + END_PACKAGES=/tmp/packages_end.txt 07:24:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:24:51 + PACKAGES=/tmp/packages_start.txt 07:24:51 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:24:51 + PACKAGES=/tmp/packages_end.txt 07:24:51 + case "${OS_FAMILY}" in 07:24:51 + rpm -qa 07:24:51 + sort 07:24:52 + '[' -f /tmp/packages_start.txt ']' 07:24:52 + '[' -f /tmp/packages_end.txt ']' 07:24:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:24:52 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:24:52 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:24:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:24:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:24:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:52 07:24:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:24:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:53 latest: Pulling from edgex-lftools-log-publisher 07:24:53 5eb5b503b376: Pulling fs layer 07:24:53 5c69ac0246d0: Pulling fs layer 07:24:53 ec43610c2a17: Pulling fs layer 07:24:53 3a2ae6a8a46f: Pulling fs layer 07:24:53 33b1e0a273af: Pulling fs layer 07:24:53 5d3b04190fa2: Pulling fs layer 07:24:53 2f39f015ded8: Pulling fs layer 07:24:53 3a2ae6a8a46f: Waiting 07:24:53 33b1e0a273af: Waiting 07:24:53 5d3b04190fa2: Waiting 07:24:53 2f39f015ded8: Waiting 07:24:53 5c69ac0246d0: Verifying Checksum 07:24:53 5c69ac0246d0: Download complete 07:24:53 3a2ae6a8a46f: Verifying Checksum 07:24:53 3a2ae6a8a46f: Download complete 07:24:53 33b1e0a273af: Verifying Checksum 07:24:53 33b1e0a273af: Download complete 07:24:53 ec43610c2a17: Verifying Checksum 07:24:53 ec43610c2a17: Download complete 07:24:53 5d3b04190fa2: Verifying Checksum 07:24:53 5d3b04190fa2: Download complete 07:24:53 5eb5b503b376: Download complete 07:24:54 2f39f015ded8: Verifying Checksum 07:24:54 2f39f015ded8: Download complete 07:24:54 5eb5b503b376: Pull complete 07:24:54 5c69ac0246d0: Pull complete 07:24:55 ec43610c2a17: Pull complete 07:24:55 3a2ae6a8a46f: Pull complete 07:24:55 33b1e0a273af: Pull complete 07:24:55 5d3b04190fa2: Pull complete 07:24:59 2f39f015ded8: Pull complete 07:24:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:24:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:24:59 prd-centos7-docker-4c-2g-7340 does not seem to be running inside a container 07:25:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:02 $ docker top c3235d383e23f673d0f791c4178f093a27f09f661c710a0729c608e08809e558 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:03 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:03 + mkdir -p /var/log/sysstat [Pipeline] sh 07:25:03 + ls /var/log/sa-host 07:25:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:03 provisioning config files... 07:25:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config11990929480099769006tmp [Pipeline] { [Pipeline] echo 07:25:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> create-netrc.sh [Pipeline] } 07:25:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> python-tools-install.sh [Pipeline] echo 07:25:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:04 ---> sudo-logs.sh 07:25:04 Archiving 'sudo' log.. 07:25:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-7340.novalocal: Name or service not known 07:25:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-7340.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 07:25:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:05 ---> job-cost.sh 07:25:05 lf-activate-venv: SKIPPING 07:25:05 DEBUG: total: 0.10999999940395355 07:25:05 INFO: Retrieving Stack Cost... 07:25:05 INFO: Retrieving Pricing Info for: v3-standard-2 07:25:06 INFO: Archiving Costs [Pipeline] echo 07:25:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:06 ---> logs-deploy.sh 07:25:06 lf-activate-venv: SKIPPING 07:25:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/198 07:25:06 INFO: archiving workspace using pattern(s): 07:25:07 Archives upload complete. 07:25:07 INFO: archiving logs to Nexus 07:25:07 ---> uname -a: 07:25:07 Linux prd-centos7-docker-4c-2g-7340.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 07:25:07 07:25:07 07:25:07 ---> lscpu: 07:25:07 Architecture: x86_64 07:25:07 CPU op-mode(s): 32-bit, 64-bit 07:25:07 Byte Order: Little Endian 07:25:07 Address sizes: 40 bits physical, 48 bits virtual 07:25:07 CPU(s): 2 07:25:07 On-line CPU(s) list: 0,1 07:25:07 Thread(s) per core: 1 07:25:07 Core(s) per socket: 1 07:25:07 Socket(s): 2 07:25:07 NUMA node(s): 1 07:25:07 Vendor ID: AuthenticAMD 07:25:07 CPU family: 23 07:25:07 Model: 49 07:25:07 Model name: AMD EPYC-Rome Processor 07:25:07 Stepping: 0 07:25:07 CPU MHz: 2799.998 07:25:07 BogoMIPS: 5599.99 07:25:07 Virtualization: AMD-V 07:25:07 Hypervisor vendor: KVM 07:25:07 Virtualization type: full 07:25:07 L1d cache: 64 KiB 07:25:07 L1i cache: 64 KiB 07:25:07 L2 cache: 1 MiB 07:25:07 L3 cache: 32 MiB 07:25:07 NUMA node0 CPU(s): 0,1 07:25:07 Vulnerability Itlb multihit: Not affected 07:25:07 Vulnerability L1tf: Not affected 07:25:07 Vulnerability Mds: Not affected 07:25:07 Vulnerability Meltdown: Not affected 07:25:07 Vulnerability Mmio stale data: Not affected 07:25:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 07:25:07 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 07:25:07 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 07:25:07 Vulnerability Srbds: Not affected 07:25:07 Vulnerability Tsx async abort: Not affected 07:25:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 07:25:07 07:25:07 07:25:07 ---> nproc: 07:25:07 2 07:25:07 07:25:07 07:25:07 ---> df -h: 07:25:07 Filesystem Size Used Avail Use% Mounted on 07:25:07 overlay 40G 6.8G 34G 17% / 07:25:07 tmpfs 64M 0 64M 0% /dev 07:25:07 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 07:25:07 shm 64M 0 64M 0% /dev/shm 07:25:07 /dev/vda1 40G 6.8G 34G 17% /facter-os 07:25:07 07:25:07 07:25:08 Cannot open /var/log/sysstat/sa21: No such file or directory 07:25:08 Please check if data collecting is enabled 07:25:08 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:25:08 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 07:25:08 $ docker stop --time=1 c3235d383e23f673d0f791c4178f093a27f09f661c710a0729c608e08809e558 07:25:09 $ docker rm -f --volumes c3235d383e23f673d0f791c4178f093a27f09f661c710a0729c608e08809e558 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 07:25:09 [WS-CLEANUP] Deleting project workspace... 07:25:09 [WS-CLEANUP] Deferred wipeout is used... 07:25:09 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:10 07:25:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:10 latest: Pulling from edgex-lftools-log-publisher 07:25:10 5eb5b503b376: Pulling fs layer 07:25:10 5c69ac0246d0: Pulling fs layer 07:25:10 ec43610c2a17: Pulling fs layer 07:25:10 3a2ae6a8a46f: Pulling fs layer 07:25:10 33b1e0a273af: Pulling fs layer 07:25:10 5d3b04190fa2: Pulling fs layer 07:25:10 2f39f015ded8: Pulling fs layer 07:25:10 33b1e0a273af: Waiting 07:25:10 5d3b04190fa2: Waiting 07:25:10 2f39f015ded8: Waiting 07:25:10 3a2ae6a8a46f: Waiting 07:25:10 5c69ac0246d0: Verifying Checksum 07:25:10 5c69ac0246d0: Download complete 07:25:10 3a2ae6a8a46f: Download complete 07:25:10 33b1e0a273af: Verifying Checksum 07:25:10 33b1e0a273af: Download complete 07:25:10 5d3b04190fa2: Verifying Checksum 07:25:10 5d3b04190fa2: Download complete 07:25:10 ec43610c2a17: Verifying Checksum 07:25:10 ec43610c2a17: Download complete 07:25:10 5eb5b503b376: Verifying Checksum 07:25:10 5eb5b503b376: Download complete 07:25:11 2f39f015ded8: Verifying Checksum 07:25:11 2f39f015ded8: Download complete 07:25:12 5eb5b503b376: Pull complete 07:25:12 5c69ac0246d0: Pull complete 07:25:13 ec43610c2a17: Pull complete 07:25:13 3a2ae6a8a46f: Pull complete 07:25:13 33b1e0a273af: Pull complete 07:25:13 5d3b04190fa2: Pull complete 07:25:19 2f39f015ded8: Pull complete 07:25:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:25:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:20 prd-ubuntu20.04-docker-8c-8g-7327 does not seem to be running inside a container 07:25:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:22 $ docker top 9fb28001e0a433c290419f5f5699a66d92d1a74270c14d76d7ece1723a9ba7c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:25:23 ---> job-cost.sh 07:25:23 lf-activate-venv: SKIPPING 07:25:23 INFO: No Stack... 07:25:23 INFO: Retrieving Pricing Info for: v3-standard-8 07:25:23 INFO: Archiving Costs [Pipeline] sh 07:25:24 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 07:25:24 + cut -d, -f6 [Pipeline] lock 07:25:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] 07:25:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] did not exist. Created. 07:25:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:25:24 /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/durable-dcc70d63/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:25:24 + echo total: 1.5299999713897705 [Pipeline] stash 07:25:24 Warning: overwriting stash ‘stack-cost’ 07:25:24 Stashed 1 file(s) [Pipeline] } 07:25:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-198-stack-cost] [Pipeline] // lock [Pipeline] } 07:25:24 $ docker stop --time=1 9fb28001e0a433c290419f5f5699a66d92d1a74270c14d76d7ece1723a9ba7c2 07:25:25 $ docker rm -f --volumes 9fb28001e0a433c290419f5f5699a66d92d1a74270c14d76d7ece1723a9ba7c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:25:26 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:25:26 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 07:25:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:25:26 total 16 07:25:26 drwxr-xr-x 3 root root 4096 Aug 21 07:25 . 07:25:26 drwxrwxr-x 10 jenkins jenkins 4096 Aug 21 07:25 .. 07:25:26 drwxr-xr-x 2 root root 4096 Aug 21 07:25 cost 07:25:26 -rw-r--r-- 1 root root 88 Aug 21 07:25 cost.csv 07:25:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:25:26 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 07:25:26 total 16 07:25:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 21 07:25 . 07:25:26 drwxrwxr-x 10 jenkins jenkins 4096 Aug 21 07:25 .. 07:25:26 drwxr-xr-x 2 jenkins jenkins 4096 Aug 21 07:25 cost 07:25:26 -rw-r--r-- 1 jenkins jenkins 88 Aug 21 07:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:25:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:25:28 ---> package-listing.sh 07:25:28 ++ facter osfamily 07:25:28 ++ tr '[:upper:]' '[:lower:]' 07:25:28 + OS_FAMILY=debian 07:25:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 07:25:28 + START_PACKAGES=/tmp/packages_start.txt 07:25:28 + END_PACKAGES=/tmp/packages_end.txt 07:25:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:25:28 + PACKAGES=/tmp/packages_start.txt 07:25:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:25:28 + PACKAGES=/tmp/packages_end.txt 07:25:28 + case "${OS_FAMILY}" in 07:25:28 + dpkg -l 07:25:28 + grep '^ii' 07:25:28 + '[' -f /tmp/packages_start.txt ']' 07:25:28 + '[' -f /tmp/packages_end.txt ']' 07:25:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:25:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 07:25:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 07:25:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 07:25:28 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:25:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:25:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:29 prd-ubuntu20.04-docker-8c-8g-7327 does not seem to be running inside a container 07:25:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:25:29 $ docker top 37706056bfde413fbbb068f5e7afe5bf8e039a53b0c5dea00f853d6c49e501c4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:29 + touch /tmp/pre-build-complete [Pipeline] sh 07:25:30 + mkdir -p /var/log/sysstat [Pipeline] sh 07:25:30 + ls /var/log/sa-host 07:25:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:25:30 provisioning config files... 07:25:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config799971285094783471tmp [Pipeline] { [Pipeline] echo 07:25:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:25:30 ---> create-netrc.sh [Pipeline] } 07:25:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:25:31 ---> python-tools-install.sh [Pipeline] echo 07:25:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:25:31 ---> sudo-logs.sh 07:25:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:25:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:25:31 ---> job-cost.sh 07:25:31 lf-activate-venv: SKIPPING 07:25:31 DEBUG: total: 1.5299999713897705 07:25:31 INFO: Retrieving Stack Cost... 07:25:31 INFO: Retrieving Pricing Info for: v3-standard-8 07:25:32 INFO: Archiving Costs [Pipeline] echo 07:25:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:25:32 ---> logs-deploy.sh 07:25:32 lf-activate-venv: SKIPPING 07:25:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/198 07:25:32 INFO: archiving workspace using pattern(s): 07:25:33 Archives upload complete. 07:25:33 INFO: archiving logs to Nexus