Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d22bcd7e0933516a615516a8a508495f082858b0 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-ssh4823788306361413683.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh13320135747067288064.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/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-s7/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3976070536868581768.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh9814361047585453308.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-s7/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-s7/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7971497498278228006.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-s7] ========================================================= [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-s7-settings PROJECT: device-s7 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-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2756 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.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-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision d22bcd7e0933516a615516a8a508495f082858b0 (main) Commit message: "Merge pull request #51 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.9.2" > git config remote.origin.url git@github.com:edgexfoundry/device-s7.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 d22bcd7e0933516a615516a8a508495f082858b0 # timeout=10 > git rev-list --no-walk e372590a767a1cfb5429e5c03244f4741cb723dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:23:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:23:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:23:27 ========================================================= 03:23:27 EdgeX Global Pipelines Version Info 03:23:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:23:28 ------------------- 03:23:28 stable info: 03:23:28 ------------------- 03:23:28 Commited By: Ginny Guan ginny@iotechsys.com 03:23:28 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 03:23:28 Message: update stable to v1.0.274 03:23:29 ------------------- 03:23:29 experimental info: 03:23:29 ------------------- 03:23:29 Commited By: **** collab-it+edgex@linuxfoundation.org 03:23:29 Commit SHA: 8bc3b1671107dfff59e2863929571a4024cd8906 03:23:29 Message: update experimental to v1.0.275 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:23:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d22bcd7 [Pipeline] echo 03:23:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:30 provisioning config files... 03:23:30 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config17336199413714805583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:30 ---> ****-login.sh 03:23:30 nexus3.edgexfoundry.org:10001 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 nexus3.edgexfoundry.org:10002 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 nexus3.edgexfoundry.org:10003 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 nexus3.edgexfoundry.org:10004 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 ****.io 03:23:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:31 Configure a credential helper to remove this warning. See 03:23:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:31 03:23:31 Login Succeeded 03:23:31 ---> ****-login.sh ends [Pipeline] } 03:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:23:32 + git rev-list -1 --merges d22bcd7e0933516a615516a8a508495f082858b0~1..d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] echo 03:23:32 -----------> git rev-list -1 --merges d22bcd7e0933516a615516a8a508495f082858b0~1..d22bcd7e0933516a615516a8a508495f082858b0 d22bcd7e0933516a615516a8a508495f082858b0 03:23:32 d22bcd7e0933516a615516a8a508495f082858b0 [false] [Pipeline] sh 03:23:32 + git log --format=format:%s -1 d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] echo 03:23:32 ========================================================= 03:23:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:23:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:32 + git log --format=format:%s -1 d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] echo 03:23:32 [semverPrep] GIT_COMMIT: d22bcd7e0933516a615516a8a508495f082858b0, Commit Message: Merge pull request #51 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.9.2 [Pipeline] echo 03:23:32 [semverPrep] This is not a build commit. [Pipeline] sh 03:23:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:23:33 + grep -v github /etc/ssh/ssh_known_hosts 03:23:33 + [ -e /tmp/ssh_known_hosts ] 03:23:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:23:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:23:33 + sudo tee -a /etc/ssh/ssh_known_hosts 03:23:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:33 03:23:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:34 0.1.4: Pulling from edgex-devops/py-git-semver 03:23:34 3dae71ba6b94: Pulling fs layer 03:23:34 6bf1a483ea7c: Pulling fs layer 03:23:34 f5dfc541a4d3: Pulling fs layer 03:23:34 461d9e800cba: Pulling fs layer 03:23:34 80192f66455f: Pulling fs layer 03:23:34 2e8e34ca0e6c: Pulling fs layer 03:23:34 a29436f7fd5d: Pulling fs layer 03:23:34 923cac83aea3: Pulling fs layer 03:23:34 25ad8b0a4227: Pulling fs layer 03:23:34 db01528c6b51: Pulling fs layer 03:23:34 28988de357af: Pulling fs layer 03:23:34 a29436f7fd5d: Waiting 03:23:34 923cac83aea3: Waiting 03:23:34 25ad8b0a4227: Waiting 03:23:34 db01528c6b51: Waiting 03:23:34 28988de357af: Waiting 03:23:34 2e8e34ca0e6c: Waiting 03:23:34 6bf1a483ea7c: Verifying Checksum 03:23:34 6bf1a483ea7c: Download complete 03:23:34 461d9e800cba: Download complete 03:23:34 80192f66455f: Verifying Checksum 03:23:34 80192f66455f: Download complete 03:23:34 f5dfc541a4d3: Verifying Checksum 03:23:34 f5dfc541a4d3: Download complete 03:23:34 3dae71ba6b94: Verifying Checksum 03:23:34 3dae71ba6b94: Download complete 03:23:34 923cac83aea3: Verifying Checksum 03:23:34 923cac83aea3: Download complete 03:23:34 25ad8b0a4227: Verifying Checksum 03:23:34 25ad8b0a4227: Download complete 03:23:34 db01528c6b51: Verifying Checksum 03:23:34 db01528c6b51: Download complete 03:23:34 28988de357af: Verifying Checksum 03:23:34 28988de357af: Download complete 03:23:34 a29436f7fd5d: Verifying Checksum 03:23:34 a29436f7fd5d: Download complete 03:23:35 2e8e34ca0e6c: Verifying Checksum 03:23:35 2e8e34ca0e6c: Download complete 03:23:35 3dae71ba6b94: Pull complete 03:23:35 6bf1a483ea7c: Pull complete 03:23:36 f5dfc541a4d3: Pull complete 03:23:36 461d9e800cba: Pull complete 03:23:36 80192f66455f: Pull complete 03:23:39 2e8e34ca0e6c: Pull complete 03:23:40 a29436f7fd5d: Pull complete 03:23:40 923cac83aea3: Pull complete 03:23:40 25ad8b0a4227: Pull complete 03:23:40 db01528c6b51: Pull complete 03:23:40 28988de357af: Pull complete 03:23:40 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 03:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:40 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:23:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 03:23:42 $ docker top f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 -eo pid,comm 03:23:42 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). 03:23:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:23:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:42 [ssh-agent] Looking for ssh-agent implementation... 03:23:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:42 $ docker exec f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 ssh-agent 03:23:42 SSH_AUTH_SOCK=/tmp/ssh-rczkSAGynoZv/agent.33 03:23:42 SSH_AGENT_PID=39 03:23:42 Running ssh-add (command line suppressed) 03:23:42 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17860219094558666266.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17860219094558666266.key) 03:23:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:43 + git tag --points-at HEAD [Pipeline] } 03:23:43 $ docker exec --env ******** --env ******** f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 ssh-agent -k 03:23:43 unset SSH_AUTH_SOCK; 03:23:43 unset SSH_AGENT_PID; 03:23:43 echo Agent pid 39 killed; 03:23:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:23:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:23:43 [ssh-agent] Looking for ssh-agent implementation... 03:23:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:23:43 $ docker exec f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 ssh-agent 03:23:43 SSH_AUTH_SOCK=/tmp/ssh-erU61cosBsbA/agent.72 03:23:43 SSH_AGENT_PID=78 03:23:43 Running ssh-add (command line suppressed) 03:23:43 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6220478373917237634.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6220478373917237634.key) 03:23:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:23:44 + git semver init 03:23:44 2025-06-04 03:23:44,265 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:23:44 2025-06-04 03:23:44,270 [run_init] DEBUG init version:0.0.0 force:False 03:23:44 2025-06-04 03:23:44,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 03:23:44 2025-06-04 03:23:44,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 03:23:44 2025-06-04 03:23:44,271 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_main/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_main, stdin=None, shell=False, universal_newlines=False) 03:23:45 2025-06-04 03:23:45,201 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 03:23:45 2025-06-04 03:23:45,201 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 03:23:45 2025-06-04 03:23:45,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:23:45 2025-06-04 03:23:45,202 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:23:45 4.1.0-dev.1 [Pipeline] } 03:23:45 $ docker exec --env ******** --env ******** f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 ssh-agent -k 03:23:45 unset SSH_AUTH_SOCK; 03:23:45 unset SSH_AGENT_PID; 03:23:45 echo Agent pid 78 killed; 03:23:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:23:45 + git semver [Pipeline] } 03:23:46 $ docker stop --time=1 f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 03:23:47 $ docker rm -f --volumes f2ab68d8188e2b2be5d887957e4a1979ffebd60ab6639f893d019359e4075592 [Pipeline] // withDockerContainer [Pipeline] sh 03:23:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:23:48 Stashed 1 file(s) [Pipeline] echo 03:23:48 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:48 provisioning config files... 03:23:48 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config2406075771648793705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:48 ---> ****-login.sh 03:23:48 nexus3.edgexfoundry.org:10001 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10002 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10003 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 nexus3.edgexfoundry.org:10004 03:23:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:48 Configure a credential helper to remove this warning. See 03:23:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:48 03:23:48 Login Succeeded 03:23:48 ****.io 03:23:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:23:49 Configure a credential helper to remove this warning. See 03:23:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:23:49 03:23:49 Login Succeeded 03:23:49 ---> ****-login.sh ends [Pipeline] } 03:23:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:23:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:23:49 ========================================================= 03:23:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:23:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:49 + 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 . 03:23:49 Sending build context to Docker daemon 15.89MB 03:23:49 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:23:49 Step 2/10 : FROM ${BASE} AS builder 03:23:49 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:23:49 0a9a5dfd008f: Pulling fs layer 03:23:49 dbfa0bcfca99: Pulling fs layer 03:23:49 70eabb1d9476: Pulling fs layer 03:23:49 957bedc73fa3: Pulling fs layer 03:23:49 4f4fb700ef54: Pulling fs layer 03:23:49 f40432e63723: Pulling fs layer 03:23:49 90b4343acab7: Pulling fs layer 03:23:49 9f67ea4ac784: Pulling fs layer 03:23:49 9228b9a606be: Pulling fs layer 03:23:49 957bedc73fa3: Waiting 03:23:49 4f4fb700ef54: Waiting 03:23:49 f40432e63723: Waiting 03:23:49 90b4343acab7: Waiting 03:23:49 9f67ea4ac784: Waiting 03:23:49 9228b9a606be: Waiting 03:23:49 dbfa0bcfca99: Verifying Checksum 03:23:49 dbfa0bcfca99: Download complete 03:23:49 957bedc73fa3: Verifying Checksum 03:23:49 957bedc73fa3: Download complete 03:23:49 4f4fb700ef54: Verifying Checksum 03:23:49 4f4fb700ef54: Download complete 03:23:49 0a9a5dfd008f: Download complete 03:23:49 f40432e63723: Verifying Checksum 03:23:49 f40432e63723: Download complete 03:23:49 90b4343acab7: Verifying Checksum 03:23:49 90b4343acab7: Download complete 03:23:50 0a9a5dfd008f: Pull complete 03:23:50 dbfa0bcfca99: Pull complete 03:23:50 9228b9a606be: Verifying Checksum 03:23:50 9228b9a606be: Download complete 03:23:50 70eabb1d9476: Download complete 03:23:50 9f67ea4ac784: Verifying Checksum 03:23:50 9f67ea4ac784: Download complete 03:23:54 70eabb1d9476: Pull complete 03:23:54 957bedc73fa3: Pull complete 03:23:54 4f4fb700ef54: Pull complete 03:23:54 f40432e63723: Pull complete 03:23:54 90b4343acab7: Pull complete 03:23:56 9f67ea4ac784: Pull complete 03:23:56 9228b9a606be: Pull complete 03:23:56 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 03:23:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:23:56 ---> 69404ca5bff2 03:23:56 Step 3/10 : ARG MAKE=make build 03:23:58 ---> Running in cdd49015523a 03:23:58 Removing intermediate container cdd49015523a 03:23:58 ---> be3db635f9ed 03:23:58 Step 4/10 : WORKDIR /device-s7 03:23:58 ---> Running in 500600f4d76e 03:23:58 Removing intermediate container 500600f4d76e 03:23:58 ---> 468ba565a307 03:23:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:23:58 ---> Running in 9f7cf29f9204 03:23:58 Removing intermediate container 9f7cf29f9204 03:23:58 ---> ea8ee981edc3 03:23:58 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 03:23:58 ---> Running in 1f46b803550a 03:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:23:59 OK: 248 MiB in 58 packages 03:23:59 Removing intermediate container 1f46b803550a 03:23:59 ---> 4f0f825d5ae1 03:23:59 Step 7/10 : COPY go.mod vendor* ./ 03:24:00 ---> e7b38a9f4a02 03:24:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:00 ---> Running in e860945512a0 03:24:03 Still waiting to schedule task 03:24:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:24:46 Removing intermediate container e860945512a0 03:24:46 ---> 3150b50041bb 03:24:46 Step 9/10 : COPY . . 03:24:46 ---> 7b4b8bd9a43e 03:24:46 Step 10/10 : RUN ${MAKE} 03:24:46 ---> Running in 039c84b5b028 03:24:46 noop 03:24:46 Removing intermediate container 039c84b5b028 03:24:46 ---> 21e6f67339d6 03:24:46 Successfully built 21e6f67339d6 03:24:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:47 + docker inspect -f . ci-base-image-x86_64 03:24:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:47 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 03:24:47 $ docker top 6c67afd6f61064983c82798fdc850757cb50be2313eba2b57a48780f2a040beb -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:48 + go version 03:24:48 go version go1.23.8 linux/amd64 [Pipeline] } 03:24:48 $ docker stop --time=1 6c67afd6f61064983c82798fdc850757cb50be2313eba2b57a48780f2a040beb 03:24:49 $ docker rm -f --volumes 6c67afd6f61064983c82798fdc850757cb50be2313eba2b57a48780f2a040beb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:49 + docker inspect -f . ci-base-image-x86_64 03:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:49 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:24:49 $ 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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 03:24:50 $ docker top f3b94e9e30443b1b8514d181b86a988838332f72f3b40a72856bb8226f685976 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 03:24:50 + make test 03:24:50 go test -race -coverprofile=coverage.out ./... 03:24:59 ? github.com/edgexfoundry/device-s7 [no test files] 03:25:21 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 03:25:21 ok github.com/edgexfoundry/device-s7/internal/driver 1.023s coverage: 6.8% of statements 03:25:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2757 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws 03:25:45 Running in /w/workspace/device-s7/21 [Pipeline] { [Pipeline] checkout 03:25:45 Selected Git installation does not exist. Using Default 03:25:45 The recommended git tool is: NONE 03:25:51 using credential edgex-jenkins-ssh 03:25:51 Cloning the remote Git repository 03:25:51 Cloning repository git@github.com:edgexfoundry/device-s7.git 03:25:51 > git init /w/workspace/device-s7/21 # timeout=10 03:25:51 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 03:25:51 > git --version # timeout=10 03:25:51 > git --version # 'git version 2.25.1' 03:25:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:25:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:53 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 03:25:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:25:54 Avoid second fetch 03:25:54 Checking out Revision d22bcd7e0933516a615516a8a508495f082858b0 (main) 03:25:54 go vet ./... 03:25:54 Commit message: "Merge pull request #51 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.9.2" 03:25:54 > git config core.sparsecheckout # timeout=10 03:25:54 > git checkout -f d22bcd7e0933516a615516a8a508495f082858b0 # timeout=10 03:25:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:56 ./bin/test-attribution-txt.sh [Pipeline] echo 03:25:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:25:56 $ docker stop --time=1 f3b94e9e30443b1b8514d181b86a988838332f72f3b40a72856bb8226f685976 03:25:59 $ docker rm -f --volumes f3b94e9e30443b1b8514d181b86a988838332f72f3b40a72856bb8226f685976 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:26:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:26:00 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:00 Dload Upload Total Spent Left Speed 03:26:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 83737 0 --:--:-- --:--:-- --:--:-- 84277 [Pipeline] sh 03:26:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:26:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:26:00 + ls -al . 03:26:00 total 220 03:26:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 03:24 . 03:26:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:23 .. 03:26:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 03:25 .git 03:26:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:23 .github 03:26:00 -rw-rw-r-- 1 jenkins jenkins 237 Jun 4 03:23 .gitignore 03:26:00 -rw-rw-r-- 1 jenkins jenkins 42 Jun 4 03:23 .golangci.yml 03:26:00 drwxr-xr-x 3 jenkins jenkins 4096 Jun 4 03:23 .semver 03:26:00 -rw-rw-r-- 1 jenkins jenkins 19679 Jun 4 03:23 Attribution.txt 03:26:00 -rw-rw-r-- 1 jenkins jenkins 1668 Jun 4 03:23 CHANGLOG.md 03:26:00 -rw-rw-r-- 1 jenkins jenkins 1579 Jun 4 03:23 Dockerfile 03:26:00 -rw-rw-r-- 1 jenkins jenkins 643 Jun 4 03:23 Jenkinsfile 03:26:00 -rw-rw-r-- 1 jenkins jenkins 10947 Jun 4 03:23 LICENSE 03:26:00 -rw-rw-r-- 1 jenkins jenkins 1903 Jun 4 03:23 Makefile 03:26:00 -rw-rw-r-- 1 jenkins jenkins 614 Jun 4 03:23 OWNERS.md 03:26:00 -rw-rw-r-- 1 jenkins jenkins 2393 Jun 4 03:23 README.md 03:26:00 -rw-rw-r-- 1 jenkins jenkins 11 Jun 4 03:23 VERSION 03:26:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:23 bin 03:26:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:23 cmd 03:26:00 -rw-r--r-- 1 jenkins jenkins 19094 Jun 4 03:25 coverage.out 03:26:00 -rw-rw-r-- 1 jenkins jenkins 6073 Jun 4 03:23 go.mod 03:26:00 -rw-rw-r-- 1 jenkins jenkins 86755 Jun 4 03:23 go.sum 03:26:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:23 internal 03:26:00 -rw-rw-r-- 1 jenkins jenkins 223 Jun 4 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:26:00 + sudo tee /etc/docker/daemon.new 03:26:00 { 03:26:00 "registry-mirrors": [ 03:26:00 "https://nexus3.edgexfoundry.org:10001" 03:26:00 ], 03:26:00 "bip": "10.250.0.254/24", 03:26:00 "hosts": [ 03:26:00 "tcp://0.0.0.0:5555", 03:26:00 "unix:///var/run/docker.sock" 03:26:00 ], 03:26:00 "mtu": 1458, 03:26:00 "selinux-enabled": true, 03:26:00 "seccomp-profile": "/etc/docker/seccomp.json" 03:26:00 } [Pipeline] sh 03:26:01 + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d22bcd7e0933516a615516a8a508495f082858b0 --label arch=amd64 --label version=4.1.0-dev.1 . 03:26:01 Sending build context to Docker daemon 15.91MB 03:26:01 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 03:26:01 Step 2/24 : FROM ${BASE} AS builder 03:26:01 ---> 21e6f67339d6 03:26:01 Step 3/24 : ARG MAKE=make build 03:26:01 ---> Running in c584d09ceccb 03:26:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:26:01 Removing intermediate container c584d09ceccb 03:26:01 ---> fd57ff2a8891 03:26:01 Step 4/24 : WORKDIR /device-s7 03:26:01 ---> Running in c758edf5a16c 03:26:01 Removing intermediate container c758edf5a16c 03:26:01 ---> 4a12878b6095 03:26:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:26:01 ---> Running in bd581891f15a 03:26:01 Removing intermediate container bd581891f15a 03:26:01 ---> 0c78e9b57f4b 03:26:01 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 03:26:01 ---> Running in 323f770b7f70 03:26:01 + sudo service docker restart 03:26:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:26:02 OK: 248 MiB in 58 packages 03:26:02 Removing intermediate container 323f770b7f70 03:26:02 ---> 954bc25e0e64 03:26:02 Step 7/24 : COPY go.mod vendor* ./ 03:26:02 ---> 2950c1fb7434 03:26:02 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:02 ---> Running in 78b8d2f793cb 03:26:03 Removing intermediate container 78b8d2f793cb 03:26:03 ---> 7ed570851def 03:26:03 Step 9/24 : COPY . . 03:26:03 ---> 67d6d522c820 03:26:03 Step 10/24 : RUN ${MAKE} 03:26:03 ---> Running in 2cff5a7ebaf8 03:26:04 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:19 provisioning config files... 03:26:19 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/21@tmp/config16025625932910509758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:20 ---> ****-login.sh 03:26:20 nexus3.edgexfoundry.org:10001 03:26:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:20 Configure a credential helper to remove this warning. See 03:26:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:20 03:26:20 Login Succeeded 03:26:20 nexus3.edgexfoundry.org:10002 03:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:21 Configure a credential helper to remove this warning. See 03:26:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:21 03:26:21 Login Succeeded 03:26:21 nexus3.edgexfoundry.org:10003 03:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:21 Configure a credential helper to remove this warning. See 03:26:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:21 03:26:21 Login Succeeded 03:26:21 nexus3.edgexfoundry.org:10004 03:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:21 Configure a credential helper to remove this warning. See 03:26:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:21 03:26:21 Login Succeeded 03:26:21 ****.io 03:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:22 Configure a credential helper to remove this warning. See 03:26:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:22 03:26:22 Login Succeeded 03:26:22 ---> ****-login.sh ends [Pipeline] } 03:26:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:26:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:26:22 ========================================================= 03:26:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:26:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:23 + 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 . 03:26:23 Sending build context to Docker daemon 8.047MB 03:26:23 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:26:23 Step 2/10 : FROM ${BASE} AS builder 03:26:23 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:26:23 94e9d8af2201: Pulling fs layer 03:26:23 634366ca850b: Pulling fs layer 03:26:23 f66ade281fe9: Pulling fs layer 03:26:23 13fd4ce6e94e: Pulling fs layer 03:26:23 4f4fb700ef54: Pulling fs layer 03:26:23 4cccf3f17d63: Pulling fs layer 03:26:23 2d8010953d95: Pulling fs layer 03:26:23 ec743f232bc5: Pulling fs layer 03:26:23 4f4fb700ef54: Waiting 03:26:23 4cccf3f17d63: Waiting 03:26:23 2d8010953d95: Waiting 03:26:23 13fd4ce6e94e: Waiting 03:26:23 ec743f232bc5: Waiting 03:26:23 634366ca850b: Verifying Checksum 03:26:23 634366ca850b: Download complete 03:26:23 13fd4ce6e94e: Verifying Checksum 03:26:23 13fd4ce6e94e: Download complete 03:26:23 4f4fb700ef54: Verifying Checksum 03:26:23 4f4fb700ef54: Download complete 03:26:23 4cccf3f17d63: Verifying Checksum 03:26:23 4cccf3f17d63: Download complete 03:26:23 94e9d8af2201: Verifying Checksum 03:26:23 94e9d8af2201: Download complete 03:26:24 ec743f232bc5: Verifying Checksum 03:26:24 ec743f232bc5: Download complete 03:26:24 94e9d8af2201: Pull complete 03:26:25 634366ca850b: Pull complete 03:26:25 f66ade281fe9: Verifying Checksum 03:26:25 f66ade281fe9: Download complete 03:26:26 2d8010953d95: Verifying Checksum 03:26:26 2d8010953d95: Download complete 03:26:36 Removing intermediate container 2cff5a7ebaf8 03:26:36 ---> 950ed5982acf 03:26:36 Step 11/24 : FROM alpine:3.20 03:26:36 3.20: Pulling from library/alpine 03:26:36 0a9a5dfd008f: Already exists 03:26:36 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:26:36 Status: Downloaded newer image for alpine:3.20 03:26:36 ---> ff221270b9fb 03:26:36 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:26:36 ---> Running in 51a27d0b52a8 03:26:36 Removing intermediate container 51a27d0b52a8 03:26:36 ---> a386ddc9b90e 03:26:36 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:26:36 ---> Running in 5e4fa7264848 03:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:26:36 (1/1) Installing dumb-init (1.2.5-r3) 03:26:36 Executing busybox-1.36.1-r29.trigger 03:26:36 OK: 8 MiB in 15 packages 03:26:36 Removing intermediate container 5e4fa7264848 03:26:36 ---> a659d4b08a9a 03:26:36 Step 14/24 : RUN apk --no-cache upgrade 03:26:36 ---> Running in 319cb2415a5c 03:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:26:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:26:36 OK: 8 MiB in 15 packages 03:26:36 Removing intermediate container 319cb2415a5c 03:26:36 ---> 8a59d67affa2 03:26:36 Step 15/24 : WORKDIR / 03:26:36 ---> Running in d5afe1ccb40e 03:26:36 Removing intermediate container d5afe1ccb40e 03:26:36 ---> 2e970fdcca17 03:26:36 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 03:26:36 ---> 4d68bf5dcb8b 03:26:36 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 03:26:36 ---> 1e9700dbfd49 03:26:36 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 03:26:36 ---> 7c79f1881c97 03:26:36 Step 19/24 : EXPOSE 59994 03:26:36 ---> Running in 6e3725d24214 03:26:36 Removing intermediate container 6e3725d24214 03:26:36 ---> 7f2fba6bd29d 03:26:36 Step 20/24 : ENTRYPOINT ["/device-s7"] 03:26:36 ---> Running in a755e3b76444 03:26:36 Removing intermediate container a755e3b76444 03:26:36 ---> 00fb5702a04f 03:26:36 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:26:36 ---> Running in dd97f5fdf459 03:26:36 Removing intermediate container dd97f5fdf459 03:26:36 ---> 215806049dfd 03:26:36 Step 22/24 : LABEL arch=amd64 03:26:36 ---> Running in 132c5a9ca0a9 03:26:36 Removing intermediate container 132c5a9ca0a9 03:26:36 ---> 60ec72f8c55b 03:26:36 Step 23/24 : LABEL git_sha=d22bcd7e0933516a615516a8a508495f082858b0 03:26:36 ---> Running in c6dacdccf3b6 03:26:36 Removing intermediate container c6dacdccf3b6 03:26:36 ---> a0a944b27df4 03:26:36 Step 24/24 : LABEL version=4.1.0-dev.1 03:26:36 ---> Running in c34640708d21 03:26:36 Removing intermediate container c34640708d21 03:26:36 ---> 66993e14025c 03:26:36 [Warning] One or more build-args [ARCH] were not consumed 03:26:36 Successfully built 66993e14025c 03:26:36 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:36 provisioning config files... 03:26:36 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config13424215167149439753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:36 ---> ****-login.sh 03:26:36 nexus3.edgexfoundry.org:10001 03:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:36 Configure a credential helper to remove this warning. See 03:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:36 03:26:36 Login Succeeded 03:26:36 nexus3.edgexfoundry.org:10002 03:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:36 Configure a credential helper to remove this warning. See 03:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:36 03:26:36 Login Succeeded 03:26:36 nexus3.edgexfoundry.org:10003 03:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:36 Configure a credential helper to remove this warning. See 03:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:36 03:26:36 Login Succeeded 03:26:36 nexus3.edgexfoundry.org:10004 03:26:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:36 Configure a credential helper to remove this warning. See 03:26:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:36 03:26:36 Login Succeeded 03:26:36 ****.io 03:26:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:26:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:26:37 Configure a credential helper to remove this warning. See 03:26:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:26:37 03:26:37 Login Succeeded 03:26:37 ---> ****-login.sh ends [Pipeline] } 03:26:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:26:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:26:37 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 03:26:37 d22bcd7e0933516a615516a8a508495f082858b0 03:26:37 latest 03:26:37 4.1.0-dev.1 03:26:37 d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:26:37 main 03:26:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:37 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:38 + docker push nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 03:26:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:26:38 df4d49ac7f88: Preparing 03:26:38 679669e1656a: Preparing 03:26:38 b948b4d6a8bc: Preparing 03:26:38 d37d030327d8: Preparing 03:26:38 60859f5eb53e: Preparing 03:26:38 994456c4fd7b: Preparing 03:26:38 994456c4fd7b: Waiting 03:26:38 df4d49ac7f88: Pushed 03:26:38 d37d030327d8: Pushed 03:26:38 60859f5eb53e: Pushed 03:26:38 b948b4d6a8bc: Pushed 03:26:38 994456c4fd7b: Layer already exists 03:26:41 f66ade281fe9: Pull complete 03:26:41 13fd4ce6e94e: Pull complete 03:26:41 4f4fb700ef54: Pull complete 03:26:41 4cccf3f17d63: Pull complete 03:26:42 679669e1656a: Pushed 03:26:42 d22bcd7e0933516a615516a8a508495f082858b0: digest: sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:42 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:42 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 03:26:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:26:42 df4d49ac7f88: Preparing 03:26:42 679669e1656a: Preparing 03:26:42 b948b4d6a8bc: Preparing 03:26:42 d37d030327d8: Preparing 03:26:42 60859f5eb53e: Preparing 03:26:42 994456c4fd7b: Preparing 03:26:42 994456c4fd7b: Waiting 03:26:42 df4d49ac7f88: Layer already exists 03:26:42 679669e1656a: Layer already exists 03:26:42 60859f5eb53e: Layer already exists 03:26:42 d37d030327d8: Layer already exists 03:26:42 b948b4d6a8bc: Layer already exists 03:26:42 994456c4fd7b: Layer already exists 03:26:42 latest: digest: sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:43 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:43 + docker push nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 03:26:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:26:43 df4d49ac7f88: Preparing 03:26:43 679669e1656a: Preparing 03:26:43 b948b4d6a8bc: Preparing 03:26:43 d37d030327d8: Preparing 03:26:43 60859f5eb53e: Preparing 03:26:43 994456c4fd7b: Preparing 03:26:43 994456c4fd7b: Waiting 03:26:43 df4d49ac7f88: Layer already exists 03:26:43 d37d030327d8: Layer already exists 03:26:43 b948b4d6a8bc: Layer already exists 03:26:43 679669e1656a: Layer already exists 03:26:43 60859f5eb53e: Layer already exists 03:26:43 994456c4fd7b: Layer already exists 03:26:43 4.1.0-dev.1: digest: sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:43 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:44 + docker push nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:26:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:26:44 df4d49ac7f88: Preparing 03:26:44 679669e1656a: Preparing 03:26:44 b948b4d6a8bc: Preparing 03:26:44 d37d030327d8: Preparing 03:26:44 60859f5eb53e: Preparing 03:26:44 994456c4fd7b: Preparing 03:26:44 994456c4fd7b: Waiting 03:26:44 60859f5eb53e: Layer already exists 03:26:44 d37d030327d8: Layer already exists 03:26:44 679669e1656a: Layer already exists 03:26:44 b948b4d6a8bc: Layer already exists 03:26:44 df4d49ac7f88: Layer already exists 03:26:44 994456c4fd7b: Layer already exists 03:26:44 d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1: digest: sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:44 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:44 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 03:26:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:26:44 df4d49ac7f88: Preparing 03:26:44 679669e1656a: Preparing 03:26:44 b948b4d6a8bc: Preparing 03:26:44 d37d030327d8: Preparing 03:26:44 60859f5eb53e: Preparing 03:26:44 994456c4fd7b: Preparing 03:26:44 994456c4fd7b: Waiting 03:26:44 b948b4d6a8bc: Layer already exists 03:26:44 d37d030327d8: Layer already exists 03:26:44 679669e1656a: Layer already exists 03:26:44 60859f5eb53e: Layer already exists 03:26:44 df4d49ac7f88: Layer already exists 03:26:44 994456c4fd7b: Layer already exists 03:26:44 main: digest: sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:26:44 ===================================================== [Pipeline] echo 03:26:44 taggedImages: 03:26:44 - nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 03:26:44 - nexus3.edgexfoundry.org:10004/device-s7:latest 03:26:44 - nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 03:26:44 - nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:26:44 - nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] echo 03:26:45 ========================================================= 03:26:45 [edgeXBuildMultiArch] RAW Config: 03:26:45 images: 03:26:45 - nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 03:26:45 - nexus3.edgexfoundry.org:10004/device-s7:latest 03:26:45 - nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 03:26:45 - nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:26:45 - nexus3.edgexfoundry.org:10004/device-s7:main 03:26:45 settingsFile: 03:26:45 device-s7-settings 03:26:45 ========================================================= [Pipeline] node 03:26:48 2d8010953d95: Pull complete 03:26:50 ec743f232bc5: Pull complete 03:26:50 Digest: sha256:a6e51edf931e1c2109943d1a62f1c16b78b2281728f1935e6b3d8efd9a0c5dda 03:26:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:26:50 ---> 12c1d4c06be1 03:26:50 Step 3/10 : ARG MAKE=make build 03:26:51 ---> Running in d9399f6343d2 03:26:51 Removing intermediate container d9399f6343d2 03:26:51 ---> a11f76bb9bff 03:26:51 Step 4/10 : WORKDIR /device-s7 03:26:51 ---> Running in b0c0349e8fe9 03:26:52 Removing intermediate container b0c0349e8fe9 03:26:52 ---> e394df124142 03:26:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:26:52 ---> Running in e9ba322aa812 03:26:52 Removing intermediate container e9ba322aa812 03:26:52 ---> 7ef64da69f5b 03:26:52 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 03:26:52 ---> Running in 067b3c0640a0 03:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:26:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:26:55 OK: 239 MiB in 58 packages 03:26:56 Removing intermediate container 067b3c0640a0 03:26:56 ---> e76767f7ee87 03:26:56 Step 7/10 : COPY go.mod vendor* ./ 03:26:56 ---> 2ef4ee307749 03:26:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:56 ---> Running in 4e84b1b4e25f 03:27:00 Still waiting to schedule task 03:27:00 All nodes of label ‘centos7-docker-4c-2g’ are offline 03:27:55 Running on prd-centos7-docker-4c-2g-2759 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:55 provisioning config files... 03:27:55 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config7409170429834995035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:56 ---> ****-login.sh 03:27:56 nexus3.edgexfoundry.org:10001 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 nexus3.edgexfoundry.org:10002 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 nexus3.edgexfoundry.org:10003 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 nexus3.edgexfoundry.org:10004 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 ****.io 03:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:56 Configure a credential helper to remove this warning. See 03:27:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:56 03:27:56 Login Succeeded 03:27:56 ---> ****-login.sh ends [Pipeline] } 03:27:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:27:57 + docker buildx ls 03:27:57 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:27:57 default * docker 03:27:57 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:27:57 + docker buildx create --name edgex-builder --platform linux/amd64,linux/arm64 --use 03:27:57 edgex-builder [Pipeline] sh 03:27:58 + docker buildx inspect --bootstrap 03:27:58 #1 [internal] booting buildkit 03:27:58 #1 pulling image moby/buildkit:buildx-stable-1 03:28:00 #1 pulling image moby/buildkit:buildx-stable-1 2.7s done 03:28:00 #1 creating container buildx_buildkit_edgex-builder0 03:28:02 #1 creating container buildx_buildkit_edgex-builder0 1.4s done 03:28:02 #1 DONE 4.1s 03:28:02 Name: edgex-builder 03:28:02 Driver: docker-container 03:28:02 03:28:02 Nodes: 03:28:02 Name: edgex-builder0 03:28:02 Endpoint: unix:///var/run/docker.sock 03:28:02 Status: running 03:28:02 Buildkit: v0.21.1 03:28:02 Platforms: linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 [Pipeline] sh 03:28:02 + docker buildx ls 03:28:02 NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS 03:28:02 edgex-builder * docker-container 03:28:02 edgex-builder0 unix:///var/run/docker.sock running v0.21.1 linux/amd64*, linux/arm64*, linux/amd64/v2, linux/amd64/v3, linux/386 03:28:02 default docker 03:28:02 default default running 20.10.18 linux/amd64, linux/386 [Pipeline] sh 03:28:02 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0' 03:28:02 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 --push - 03:28:02 #1 [internal] load build definition from Dockerfile 03:28:02 #1 transferring dockerfile: 194B done 03:28:02 #1 DONE 0.0s 03:28:02 03:28:02 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 03:28:02 #2 DONE 0.1s 03:28:02 03:28:02 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0 03:28:03 #3 DONE 0.1s 03:28:03 03:28:03 #4 [internal] load .dockerignore 03:28:03 #4 transferring context: 2B done 03:28:03 #4 DONE 0.0s 03:28:03 03:28:03 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:03 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:03 #5 DONE 0.0s 03:28:03 03:28:03 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:03 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:03 #6 DONE 0.1s 03:28:03 03:28:03 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 03:28:03 #7 DONE 0.0s 03:28:03 03:28:03 #8 exporting to image 03:28:03 #8 exporting layers done 03:28:03 #8 exporting manifest sha256:df3ef6b92d76df005647bd31a36df61291e381b8da017a6f25ecddecfa9c13af 0.0s done 03:28:03 #8 exporting config sha256:f6cc05459268b6e4846e8cd6ac60ebbbda508e3d52faa5be1179901199f75679 done 03:28:03 #8 exporting manifest sha256:409eb796073bfea853b870e4ca690cd9a600d33afaf870ab61dd9f9d70634bfc done 03:28:03 #8 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb done 03:28:03 #8 exporting manifest list sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 done 03:28:03 #8 pushing layers 03:28:03 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:28:03 #8 pushing layers 0.1s done 03:28:03 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0@sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 0.1s done 03:28:03 #8 DONE 0.3s 03:28:03 03:28:03 1 warning found (use --debug to expand): 03:28:03  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:28:04 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:latest' 03:28:04 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:latest --push - 03:28:04 #1 [internal] load build definition from Dockerfile 03:28:04 #1 transferring dockerfile: 160B done 03:28:04 #1 DONE 0.0s 03:28:04 03:28:04 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:latest 03:28:04 #2 DONE 0.0s 03:28:04 03:28:04 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:latest 03:28:04 #3 DONE 0.0s 03:28:04 03:28:04 #4 [internal] load .dockerignore 03:28:04 #4 transferring context: 2B done 03:28:04 #4 DONE 0.0s 03:28:04 03:28:04 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:04 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:04 #5 DONE 0.0s 03:28:04 03:28:04 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:04 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:04 #6 CACHED 03:28:04 03:28:04 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:04 #5 CACHED 03:28:04 03:28:04 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 03:28:04 #7 DONE 0.0s 03:28:04 03:28:04 #8 exporting to image 03:28:04 #8 exporting layers done 03:28:04 #8 exporting manifest sha256:df3ef6b92d76df005647bd31a36df61291e381b8da017a6f25ecddecfa9c13af done 03:28:04 #8 exporting config sha256:f6cc05459268b6e4846e8cd6ac60ebbbda508e3d52faa5be1179901199f75679 done 03:28:04 #8 exporting manifest sha256:409eb796073bfea853b870e4ca690cd9a600d33afaf870ab61dd9f9d70634bfc done 03:28:04 #8 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb done 03:28:04 #8 exporting manifest list sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 done 03:28:04 #8 pushing layers 0.0s done 03:28:04 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:latest@sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 0.1s done 03:28:04 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:28:04 #8 DONE 0.1s 03:28:04 03:28:04 1 warning found (use --debug to expand): 03:28:04  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:28:04 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1' 03:28:04 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 --push - 03:28:04 #1 [internal] load build definition from Dockerfile 03:28:04 #1 transferring dockerfile: 165B done 03:28:04 #1 DONE 0.0s 03:28:04 03:28:04 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 03:28:04 #2 DONE 0.0s 03:28:04 03:28:04 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1 03:28:04 #3 DONE 0.0s 03:28:04 03:28:04 #4 [internal] load .dockerignore 03:28:04 #4 transferring context: 2B done 03:28:04 #4 DONE 0.0s 03:28:04 03:28:04 #5 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:04 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a done 03:28:04 #5 CACHED 03:28:04 03:28:04 #6 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:04 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:04 #6 CACHED 03:28:04 03:28:04 #7 exporting to image 03:28:04 #7 exporting layers done 03:28:04 #7 exporting manifest sha256:df3ef6b92d76df005647bd31a36df61291e381b8da017a6f25ecddecfa9c13af done 03:28:04 #7 exporting config sha256:f6cc05459268b6e4846e8cd6ac60ebbbda508e3d52faa5be1179901199f75679 done 03:28:04 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:28:04 #7 exporting manifest sha256:409eb796073bfea853b870e4ca690cd9a600d33afaf870ab61dd9f9d70634bfc done 03:28:04 #7 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb done 03:28:04 #7 exporting manifest list sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 done 03:28:04 #7 pushing layers 0.0s done 03:28:04 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:4.1.0-dev.1@sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 0.1s done 03:28:04 #7 DONE 0.1s 03:28:04 03:28:04 #8 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 03:28:04 #8 DONE 0.0s 03:28:04 03:28:04 1 warning found (use --debug to expand): 03:28:04  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:28:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1' 03:28:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 --push - 03:28:05 #1 [internal] load build definition from Dockerfile 03:28:05 #1 transferring dockerfile: 206B done 03:28:05 #1 DONE 0.0s 03:28:05 03:28:05 #2 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:28:05 #2 DONE 0.0s 03:28:05 03:28:05 #3 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:28:05 #3 DONE 0.0s 03:28:05 03:28:05 #4 [internal] load .dockerignore 03:28:05 #4 transferring context: 2B done 03:28:05 #4 DONE 0.0s 03:28:05 03:28:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:05 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:05 #5 CACHED 03:28:05 03:28:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:05 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:05 #6 CACHED 03:28:05 03:28:05 #7 exporting to image 03:28:05 #7 exporting layers done 03:28:05 #7 exporting manifest sha256:df3ef6b92d76df005647bd31a36df61291e381b8da017a6f25ecddecfa9c13af done 03:28:05 #7 exporting config sha256:f6cc05459268b6e4846e8cd6ac60ebbbda508e3d52faa5be1179901199f75679 done 03:28:05 #7 exporting manifest sha256:409eb796073bfea853b870e4ca690cd9a600d33afaf870ab61dd9f9d70634bfc done 03:28:05 #7 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb 03:28:05 #7 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:28:05 #7 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb done 03:28:05 #7 exporting manifest list sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 done 03:28:05 #7 pushing layers 0.0s done 03:28:05 #7 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1@sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 0.1s done 03:28:05 #7 DONE 0.1s 03:28:05 03:28:05 #8 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 03:28:05 #8 DONE 0.0s 03:28:05 03:28:05 1 warning found (use --debug to expand): 03:28:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] sh 03:28:05 + echo -e 'FROM nexus3.edgexfoundry.org:10004/device-s7:main' 03:28:05 + docker buildx build --platform linux/amd64,linux/arm64 -t nexus3.edgexfoundry.org:10004/device-s7:main --push - 03:28:05 #1 [internal] load build definition from Dockerfile 03:28:05 #1 transferring dockerfile: 158B done 03:28:05 #1 DONE 0.0s 03:28:05 03:28:05 #2 [linux/arm64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:main 03:28:05 #2 DONE 0.0s 03:28:05 03:28:05 #3 [linux/amd64 internal] load metadata for nexus3.edgexfoundry.org:10004/device-s7:main 03:28:05 #3 DONE 0.0s 03:28:05 03:28:05 #4 [internal] load .dockerignore 03:28:05 #4 transferring context: 2B done 03:28:05 #4 DONE 0.0s 03:28:05 03:28:05 #5 [linux/arm64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:main@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:05 #5 resolve nexus3.edgexfoundry.org:10004/device-s7:main@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:05 #5 CACHED 03:28:05 03:28:05 #6 [linux/amd64 1/1] FROM nexus3.edgexfoundry.org:10004/device-s7:main@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 03:28:05 #6 resolve nexus3.edgexfoundry.org:10004/device-s7:main@sha256:5b9ef49f29a66ca034afba27dba750e36995478658563687732e4c5ee6b9f56a 0.0s done 03:28:05 #6 CACHED 03:28:05 03:28:05 #7 [auth] device-s7:pull,push token for nexus3.edgexfoundry.org:10004 03:28:05 #7 DONE 0.0s 03:28:05 03:28:05 #8 exporting to image 03:28:05 #8 exporting layers done 03:28:05 #8 exporting manifest sha256:df3ef6b92d76df005647bd31a36df61291e381b8da017a6f25ecddecfa9c13af done 03:28:05 #8 exporting config sha256:f6cc05459268b6e4846e8cd6ac60ebbbda508e3d52faa5be1179901199f75679 done 03:28:05 #8 exporting manifest sha256:409eb796073bfea853b870e4ca690cd9a600d33afaf870ab61dd9f9d70634bfc done 03:28:05 #8 exporting config sha256:63ceccab6411ec865d4c084ee15684f949ac7c5aaccf1580452eff73d7adebcb done 03:28:05 #8 exporting manifest list sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 done 03:28:05 #8 pushing layers 0.0s done 03:28:05 #8 pushing manifest for nexus3.edgexfoundry.org:10004/device-s7:main@sha256:6242ed70f579f5f67ebdaa371cd5f92c2f30edc746ad8a429e5d1786c6cec3d0 0.1s done 03:28:05 #8 WARN: Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 03:28:05 #8 DONE 0.1s 03:28:05 03:28:05 1 warning found (use --debug to expand): 03:28:05  - Requested platforms linux/amd64 do not match result platforms linux/amd64,linux/arm64 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:28:06 + '[' -d /w/workspace/edgexfoundry_device-s7_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 03:28:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:28:07 ---> package-listing.sh 03:28:07 ++ facter osfamily 03:28:07 ++ tr '[:upper:]' '[:lower:]' 03:28:07 + OS_FAMILY=redhat 03:28:07 + workspace=/w/workspace/edgexfoundry_device-s7_main 03:28:07 + START_PACKAGES=/tmp/packages_start.txt 03:28:07 + END_PACKAGES=/tmp/packages_end.txt 03:28:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:28:07 + PACKAGES=/tmp/packages_start.txt 03:28:07 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:28:07 + PACKAGES=/tmp/packages_end.txt 03:28:07 + case "${OS_FAMILY}" in 03:28:07 + sort 03:28:07 + rpm -qa 03:28:08 + '[' -f /tmp/packages_start.txt ']' 03:28:08 + '[' -f /tmp/packages_end.txt ']' 03:28:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:28:08 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:28:08 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 03:28:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 03:28:08 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-s7_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:28:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:08 03:28:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:09 latest: Pulling from edgex-lftools-log-publisher 03:28:09 5eb5b503b376: Pulling fs layer 03:28:09 5c69ac0246d0: Pulling fs layer 03:28:09 ec43610c2a17: Pulling fs layer 03:28:09 3a2ae6a8a46f: Pulling fs layer 03:28:09 33b1e0a273af: Pulling fs layer 03:28:09 5d3b04190fa2: Pulling fs layer 03:28:09 2f39f015ded8: Pulling fs layer 03:28:09 33b1e0a273af: Waiting 03:28:09 5d3b04190fa2: Waiting 03:28:09 2f39f015ded8: Waiting 03:28:09 3a2ae6a8a46f: Waiting 03:28:09 5c69ac0246d0: Download complete 03:28:09 3a2ae6a8a46f: Verifying Checksum 03:28:09 3a2ae6a8a46f: Download complete 03:28:09 33b1e0a273af: Verifying Checksum 03:28:09 33b1e0a273af: Download complete 03:28:09 5d3b04190fa2: Verifying Checksum 03:28:09 5d3b04190fa2: Download complete 03:28:09 ec43610c2a17: Verifying Checksum 03:28:09 ec43610c2a17: Download complete 03:28:09 5eb5b503b376: Verifying Checksum 03:28:09 5eb5b503b376: Download complete 03:28:10 2f39f015ded8: Download complete 03:28:11 5eb5b503b376: Pull complete 03:28:11 5c69ac0246d0: Pull complete 03:28:11 ec43610c2a17: Pull complete 03:28:11 3a2ae6a8a46f: Pull complete 03:28:11 33b1e0a273af: Pull complete 03:28:11 5d3b04190fa2: Pull complete 03:28:16 2f39f015ded8: Pull complete 03:28:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:28:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:16 prd-centos7-docker-4c-2g-2759 does not seem to be running inside a container 03:28:16 $ 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-s7_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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:28:19 $ docker top 34c69af07b6c8cab4571ba6a95c3ddc091e69daa1af904d4d7744bedf7c9af86 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:19 + touch /tmp/pre-build-complete [Pipeline] sh 03:28:20 + mkdir -p /var/log/sysstat [Pipeline] sh 03:28:20 + ls /var/log/sa-host 03:28:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:20 provisioning config files... 03:28:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config1674494587006615993tmp [Pipeline] { [Pipeline] echo 03:28:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:28:21 ---> create-netrc.sh [Pipeline] } 03:28:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:28:21 ---> python-tools-install.sh [Pipeline] echo 03:28:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:28:21 ---> sudo-logs.sh 03:28:21 Archiving 'sudo' log.. 03:28:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-2759.novalocal: Name or service not known 03:28:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-2759.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:28:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:28:22 ---> job-cost.sh 03:28:22 lf-activate-venv: SKIPPING 03:28:22 INFO: No Stack... 03:28:22 INFO: Retrieving Pricing Info for: v3-standard-2 03:28:22 INFO: Archiving Costs [Pipeline] echo 03:28:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:28:22 ---> logs-deploy.sh 03:28:22 lf-activate-venv: SKIPPING 03:28:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/21 03:28:22 INFO: archiving workspace using pattern(s): 03:28:24 Archives upload complete. 03:28:24 INFO: archiving logs to Nexus 03:28:24 ---> uname -a: 03:28:24 Linux prd-centos7-docker-4c-2g-2759.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 03:28:24 03:28:24 03:28:24 ---> lscpu: 03:28:24 Architecture: x86_64 03:28:24 CPU op-mode(s): 32-bit, 64-bit 03:28:24 Byte Order: Little Endian 03:28:24 Address sizes: 40 bits physical, 48 bits virtual 03:28:24 CPU(s): 2 03:28:24 On-line CPU(s) list: 0,1 03:28:24 Thread(s) per core: 1 03:28:24 Core(s) per socket: 1 03:28:24 Socket(s): 2 03:28:24 NUMA node(s): 1 03:28:24 Vendor ID: AuthenticAMD 03:28:24 CPU family: 23 03:28:24 Model: 49 03:28:24 Model name: AMD EPYC-Rome Processor 03:28:24 Stepping: 0 03:28:24 CPU MHz: 2800.000 03:28:24 BogoMIPS: 5600.00 03:28:24 Virtualization: AMD-V 03:28:24 Hypervisor vendor: KVM 03:28:24 Virtualization type: full 03:28:24 L1d cache: 64 KiB 03:28:24 L1i cache: 64 KiB 03:28:24 L2 cache: 1 MiB 03:28:24 L3 cache: 32 MiB 03:28:24 NUMA node0 CPU(s): 0,1 03:28:24 Vulnerability Itlb multihit: Not affected 03:28:24 Vulnerability L1tf: Not affected 03:28:24 Vulnerability Mds: Not affected 03:28:24 Vulnerability Meltdown: Not affected 03:28:24 Vulnerability Mmio stale data: Not affected 03:28:24 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:28:24 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 03:28:24 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 03:28:24 Vulnerability Srbds: Not affected 03:28:24 Vulnerability Tsx async abort: Not affected 03:28:24 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 03:28:24 03:28:24 03:28:24 ---> nproc: 03:28:24 2 03:28:24 03:28:24 03:28:24 ---> df -h: 03:28:24 Filesystem Size Used Avail Use% Mounted on 03:28:24 overlay 40G 7.3G 33G 19% / 03:28:24 tmpfs 64M 0 64M 0% /dev 03:28:24 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 03:28:24 shm 64M 0 64M 0% /dev/shm 03:28:24 /dev/vda1 40G 7.3G 33G 19% /facter-os 03:28:24 03:28:24 03:28:24 Cannot open /var/log/sysstat/sa04: No such file or directory 03:28:24 Please check if data collecting is enabled 03:28:24 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:28:24 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 03:28:24 $ docker stop --time=1 34c69af07b6c8cab4571ba6a95c3ddc091e69daa1af904d4d7744bedf7c9af86 03:28:25 $ docker rm -f --volumes 34c69af07b6c8cab4571ba6a95c3ddc091e69daa1af904d4d7744bedf7c9af86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 03:28:26 [WS-CLEANUP] Deleting project workspace... 03:28:26 [WS-CLEANUP] Deferred wipeout is used... 03:28:26 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:26 03:28:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:27 latest: Pulling from edgex-lftools-log-publisher 03:28:27 5eb5b503b376: Pulling fs layer 03:28:27 5c69ac0246d0: Pulling fs layer 03:28:27 ec43610c2a17: Pulling fs layer 03:28:27 3a2ae6a8a46f: Pulling fs layer 03:28:27 33b1e0a273af: Pulling fs layer 03:28:27 5d3b04190fa2: Pulling fs layer 03:28:27 2f39f015ded8: Pulling fs layer 03:28:27 3a2ae6a8a46f: Waiting 03:28:27 33b1e0a273af: Waiting 03:28:27 5d3b04190fa2: Waiting 03:28:27 2f39f015ded8: Waiting 03:28:27 5c69ac0246d0: Download complete 03:28:27 3a2ae6a8a46f: Verifying Checksum 03:28:27 3a2ae6a8a46f: Download complete 03:28:27 33b1e0a273af: Verifying Checksum 03:28:27 33b1e0a273af: Download complete 03:28:27 5d3b04190fa2: Verifying Checksum 03:28:27 5d3b04190fa2: Download complete 03:28:27 ec43610c2a17: Verifying Checksum 03:28:27 5eb5b503b376: Verifying Checksum 03:28:27 5eb5b503b376: Download complete 03:28:28 2f39f015ded8: Download complete 03:28:28 5eb5b503b376: Pull complete 03:28:29 5c69ac0246d0: Pull complete 03:28:29 ec43610c2a17: Pull complete 03:28:30 3a2ae6a8a46f: Pull complete 03:28:30 33b1e0a273af: Pull complete 03:28:31 5d3b04190fa2: Pull complete 03:28:33 Removing intermediate container 4e84b1b4e25f 03:28:33 ---> 01c77ee4aa9e 03:28:33 Step 9/10 : COPY . . 03:28:33 ---> 625291771aec 03:28:33 Step 10/10 : RUN ${MAKE} 03:28:33 ---> Running in e439dbb70d7c 03:28:33 noop 03:28:34 Removing intermediate container e439dbb70d7c 03:28:34 ---> e55c37fd53f7 03:28:34 Successfully built e55c37fd53f7 03:28:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:34 + docker inspect -f . ci-base-image-arm64 03:28:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:34 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 03:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/21 -v /w/workspace/device-s7/21:/w/workspace/device-s7/21:rw,z -v /w/workspace/device-s7/21@tmp:/w/workspace/device-s7/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:28:35 2f39f015ded8: Pull complete 03:28:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:28:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:36 $ docker top eb0c887ca509a7605924bf1d3532eb62026bf5a5c2fa5e7ee4e5332e47798322 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:36 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:28:36 $ 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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 03:28:37 + go version 03:28:37 go version go1.23.8 linux/arm64 03:28:45 $ docker top 9e2f606be0e411b3f155361338cad4e44980c3a565b965d834fce45324b9be12 -eo pid,comm [Pipeline] { [Pipeline] } 03:28:45 $ docker stop --time=1 eb0c887ca509a7605924bf1d3532eb62026bf5a5c2fa5e7ee4e5332e47798322 03:28:47 $ docker rm -f --volumes eb0c887ca509a7605924bf1d3532eb62026bf5a5c2fa5e7ee4e5332e47798322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:47 ---> job-cost.sh 03:28:47 lf-activate-venv: SKIPPING 03:28:47 INFO: No Stack... 03:28:47 + docker inspect -f . ci-base-image-arm64 03:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:47 INFO: Retrieving Pricing Info for: v3-standard-8 03:28:47 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 03:28:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/21 -v /w/workspace/device-s7/21:/w/workspace/device-s7/21:rw,z -v /w/workspace/device-s7/21@tmp:/w/workspace/device-s7/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:28:48 INFO: Archiving Costs 03:28:49 $ docker top 599cf626cb1abd8d228a0bebd0d9b7593b8851d4a1325ba5a9e2e9f0bfe0269a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 03:28:49 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 03:28:49 + cut -d, -f6 [Pipeline] lock 03:28:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] 03:28:49 Resource [jenkins-edgexfoundry-device-s7-main-21-stack-cost] did not exist. Created. 03:28:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:28:50 + echo total: 0.2199999988079071 [Pipeline] stash 03:28:50 Stashed 1 file(s) [Pipeline] } 03:28:50 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] 03:28:50 + git config --global --add safe.directory /w/workspace/device-s7/21 [Pipeline] // lock [Pipeline] } 03:28:50 $ docker stop --time=1 9e2f606be0e411b3f155361338cad4e44980c3a565b965d834fce45324b9be12 03:28:51 $ docker rm -f --volumes 9e2f606be0e411b3f155361338cad4e44980c3a565b965d834fce45324b9be12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] fileExists [Pipeline] // script [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:28:52 + make test 03:28:52 go test -race -coverprofile=coverage.out ./... 03:29:38 ? github.com/edgexfoundry/device-s7 [no test files] 03:33:00 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 03:33:02 ok github.com/edgexfoundry/device-s7/internal/driver 1.119s coverage: 6.8% of statements 03:33:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:33:03 go vet ./... 03:36:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:36:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:36:54 ./bin/test-attribution-txt.sh [Pipeline] echo 03:36:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 03:36:55 $ docker stop --time=1 599cf626cb1abd8d228a0bebd0d9b7593b8851d4a1325ba5a9e2e9f0bfe0269a 03:36:57 $ docker rm -f --volumes 599cf626cb1abd8d228a0bebd0d9b7593b8851d4a1325ba5a9e2e9f0bfe0269a [Pipeline] // withDockerContainer [Pipeline] sh 03:36:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:36:59 Warning: overwriting stash ‘coverage-report’ 03:36:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:37:00 + ls -al . 03:37:00 total 216 03:37:00 drwxrwxr-x 7 jenkins jenkins 4096 Jun 4 03:28 . 03:37:00 drwxrwxr-x 4 jenkins jenkins 4096 Jun 4 03:25 .. 03:37:00 drwxrwxr-x 8 jenkins jenkins 4096 Jun 4 03:25 .git 03:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:25 .github 03:37:00 -rw-rw-r-- 1 jenkins jenkins 237 Jun 4 03:25 .gitignore 03:37:00 -rw-rw-r-- 1 jenkins jenkins 42 Jun 4 03:25 .golangci.yml 03:37:00 -rw-rw-r-- 1 jenkins jenkins 19679 Jun 4 03:25 Attribution.txt 03:37:00 -rw-rw-r-- 1 jenkins jenkins 1668 Jun 4 03:25 CHANGLOG.md 03:37:00 -rw-rw-r-- 1 jenkins jenkins 1579 Jun 4 03:25 Dockerfile 03:37:00 -rw-rw-r-- 1 jenkins jenkins 643 Jun 4 03:25 Jenkinsfile 03:37:00 -rw-rw-r-- 1 jenkins jenkins 10947 Jun 4 03:25 LICENSE 03:37:00 -rw-rw-r-- 1 jenkins jenkins 1903 Jun 4 03:25 Makefile 03:37:00 -rw-rw-r-- 1 jenkins jenkins 614 Jun 4 03:25 OWNERS.md 03:37:00 -rw-rw-r-- 1 jenkins jenkins 2393 Jun 4 03:25 README.md 03:37:00 -rw-rw-r-- 1 jenkins jenkins 11 Jun 4 03:23 VERSION 03:37:00 drwxrwxr-x 2 jenkins jenkins 4096 Jun 4 03:25 bin 03:37:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:25 cmd 03:37:00 -rw-r--r-- 1 jenkins jenkins 19094 Jun 4 03:33 coverage.out 03:37:00 -rw-rw-r-- 1 jenkins jenkins 6073 Jun 4 03:25 go.mod 03:37:00 -rw-rw-r-- 1 jenkins jenkins 86755 Jun 4 03:25 go.sum 03:37:00 drwxrwxr-x 3 jenkins jenkins 4096 Jun 4 03:25 internal 03:37:00 -rw-rw-r-- 1 jenkins jenkins 223 Jun 4 03:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:00 + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=d22bcd7e0933516a615516a8a508495f082858b0 --label arch=arm64 --label version=4.1.0-dev.1 . 03:37:01 Sending build context to Docker daemon 8.067MB 03:37:01 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 03:37:01 Step 2/24 : FROM ${BASE} AS builder 03:37:01 ---> e55c37fd53f7 03:37:01 Step 3/24 : ARG MAKE=make build 03:37:01 ---> Running in 44d458533098 03:37:01 Removing intermediate container 44d458533098 03:37:01 ---> 6e3b1095b3ae 03:37:01 Step 4/24 : WORKDIR /device-s7 03:37:01 ---> Running in ed2bbfa45cd5 03:37:01 Removing intermediate container ed2bbfa45cd5 03:37:01 ---> d84a30294444 03:37:01 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:37:02 ---> Running in 6507ec2c38da 03:37:02 Removing intermediate container 6507ec2c38da 03:37:02 ---> f6fce8dbee2a 03:37:02 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 03:37:02 ---> Running in f804269f9eb2 03:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:37:05 OK: 239 MiB in 58 packages 03:37:06 Removing intermediate container f804269f9eb2 03:37:06 ---> ffcdefe20bff 03:37:06 Step 7/24 : COPY go.mod vendor* ./ 03:37:06 ---> c78c1f16183d 03:37:06 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:37:06 ---> Running in 09dc36796929 03:37:09 Removing intermediate container 09dc36796929 03:37:09 ---> 06837727a560 03:37:09 Step 9/24 : COPY . . 03:37:10 ---> 8edc51c59c94 03:37:10 Step 10/24 : RUN ${MAKE} 03:37:10 ---> Running in 374b5e217733 03:37:11 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 03:40:48 Removing intermediate container 374b5e217733 03:40:48 ---> 20bf0688faa8 03:40:48 Step 11/24 : FROM alpine:3.20 03:40:48 3.20: Pulling from library/alpine 03:40:48 94e9d8af2201: Already exists 03:40:48 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 03:40:48 Status: Downloaded newer image for alpine:3.20 03:40:48 ---> 7aab056cecc6 03:40:48 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:40:48 ---> Running in 848a87ee32ec 03:40:48 Removing intermediate container 848a87ee32ec 03:40:48 ---> b8e80c29596e 03:40:48 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:40:48 ---> Running in 673f17e8a401 03:40:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:40:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:40:51 (1/1) Installing dumb-init (1.2.5-r3) 03:40:51 Executing busybox-1.36.1-r29.trigger 03:40:51 OK: 9 MiB in 15 packages 03:40:52 Removing intermediate container 673f17e8a401 03:40:52 ---> 9463cc235969 03:40:52 Step 14/24 : RUN apk --no-cache upgrade 03:40:52 ---> Running in ffc0e22f86a7 03:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:40:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:40:54 OK: 9 MiB in 15 packages 03:40:55 Removing intermediate container ffc0e22f86a7 03:40:55 ---> 17466c8de21c 03:40:55 Step 15/24 : WORKDIR / 03:40:55 ---> Running in 141395a5d9d9 03:40:55 Removing intermediate container 141395a5d9d9 03:40:55 ---> 13a055548846 03:40:55 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 03:40:56 ---> 46b182c1ff1e 03:40:56 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 03:40:58 ---> 7e0dd5ef5036 03:40:58 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 03:40:58 ---> 306359bacc54 03:40:58 Step 19/24 : EXPOSE 59994 03:40:58 ---> Running in d5a1396e85cd 03:40:59 Removing intermediate container d5a1396e85cd 03:40:59 ---> 5c82661536f7 03:40:59 Step 20/24 : ENTRYPOINT ["/device-s7"] 03:40:59 ---> Running in 0f24b62df692 03:40:59 Removing intermediate container 0f24b62df692 03:40:59 ---> 7b4a8d10fe46 03:40:59 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:40:59 ---> Running in 39030dad73a1 03:41:00 Removing intermediate container 39030dad73a1 03:41:00 ---> 5f493f61c3c4 03:41:00 Step 22/24 : LABEL arch=arm64 03:41:00 ---> Running in 04d4b478428d 03:41:00 Removing intermediate container 04d4b478428d 03:41:00 ---> c2b4186637fc 03:41:00 Step 23/24 : LABEL git_sha=d22bcd7e0933516a615516a8a508495f082858b0 03:41:00 ---> Running in 08726cae705a 03:41:00 Removing intermediate container 08726cae705a 03:41:00 ---> d8387a9068f1 03:41:00 Step 24/24 : LABEL version=4.1.0-dev.1 03:41:00 ---> Running in 0d7f1e6a881a 03:41:01 Removing intermediate container 0d7f1e6a881a 03:41:01 ---> 9963fc28d08b 03:41:01 [Warning] One or more build-args [ARCH] were not consumed 03:41:01 Successfully built 9963fc28d08b 03:41:01 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:41:01 provisioning config files... 03:41:01 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/21@tmp/config8010483951165680171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:41:01 ---> ****-login.sh 03:41:01 nexus3.edgexfoundry.org:10001 03:41:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:41:01 Configure a credential helper to remove this warning. See 03:41:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:41:01 03:41:01 Login Succeeded 03:41:01 nexus3.edgexfoundry.org:10002 03:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:41:02 Configure a credential helper to remove this warning. See 03:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:41:02 03:41:02 Login Succeeded 03:41:02 nexus3.edgexfoundry.org:10003 03:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:41:02 Configure a credential helper to remove this warning. See 03:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:41:02 03:41:02 Login Succeeded 03:41:02 nexus3.edgexfoundry.org:10004 03:41:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:41:02 Configure a credential helper to remove this warning. See 03:41:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:41:02 03:41:02 Login Succeeded 03:41:02 ****.io 03:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:41:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:41:03 Configure a credential helper to remove this warning. See 03:41:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:41:03 03:41:03 Login Succeeded 03:41:03 ---> ****-login.sh ends [Pipeline] } 03:41:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:41:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 03:41:03 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 03:41:03 d22bcd7e0933516a615516a8a508495f082858b0 03:41:03 latest 03:41:03 4.1.0-dev.1 03:41:03 d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:41:03 main 03:41:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:03 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:04 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0 03:41:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:41:04 5bf2b252049e: Preparing 03:41:04 051abcfe33f8: Preparing 03:41:04 b125c46483a4: Preparing 03:41:04 ad90f9257845: Preparing 03:41:04 467d1cba3c47: Preparing 03:41:04 dd9c8f8612c8: Preparing 03:41:04 b125c46483a4: Pushed 03:41:04 ad90f9257845: Pushed 03:41:04 467d1cba3c47: Pushed 03:41:04 5bf2b252049e: Pushed 03:41:04 dd9c8f8612c8: Layer already exists 03:41:14 051abcfe33f8: Pushed 03:41:14 d22bcd7e0933516a615516a8a508495f082858b0: digest: sha256:6fdc31aca5278cd0a19df3f952cfc59ee9a2bfd8e6e28602dc3fe32ee9ce4cbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:14 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:15 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 03:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:41:15 5bf2b252049e: Preparing 03:41:15 051abcfe33f8: Preparing 03:41:15 b125c46483a4: Preparing 03:41:15 ad90f9257845: Preparing 03:41:15 467d1cba3c47: Preparing 03:41:15 dd9c8f8612c8: Preparing 03:41:15 dd9c8f8612c8: Waiting 03:41:15 5bf2b252049e: Layer already exists 03:41:15 051abcfe33f8: Layer already exists 03:41:15 467d1cba3c47: Layer already exists 03:41:15 b125c46483a4: Layer already exists 03:41:15 ad90f9257845: Layer already exists 03:41:15 dd9c8f8612c8: Layer already exists 03:41:15 latest: digest: sha256:6fdc31aca5278cd0a19df3f952cfc59ee9a2bfd8e6e28602dc3fe32ee9ce4cbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:15 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:16 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:4.1.0-dev.1 03:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:41:16 5bf2b252049e: Preparing 03:41:16 051abcfe33f8: Preparing 03:41:16 b125c46483a4: Preparing 03:41:16 ad90f9257845: Preparing 03:41:16 467d1cba3c47: Preparing 03:41:16 dd9c8f8612c8: Preparing 03:41:16 dd9c8f8612c8: Waiting 03:41:16 051abcfe33f8: Layer already exists 03:41:16 5bf2b252049e: Layer already exists 03:41:16 467d1cba3c47: Layer already exists 03:41:16 ad90f9257845: Layer already exists 03:41:16 b125c46483a4: Layer already exists 03:41:16 dd9c8f8612c8: Layer already exists 03:41:16 4.1.0-dev.1: digest: sha256:6fdc31aca5278cd0a19df3f952cfc59ee9a2bfd8e6e28602dc3fe32ee9ce4cbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:16 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:17 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:41:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:41:17 5bf2b252049e: Preparing 03:41:17 051abcfe33f8: Preparing 03:41:17 b125c46483a4: Preparing 03:41:17 ad90f9257845: Preparing 03:41:17 467d1cba3c47: Preparing 03:41:17 dd9c8f8612c8: Preparing 03:41:17 dd9c8f8612c8: Waiting 03:41:17 467d1cba3c47: Layer already exists 03:41:17 051abcfe33f8: Layer already exists 03:41:17 5bf2b252049e: Layer already exists 03:41:17 ad90f9257845: Layer already exists 03:41:17 b125c46483a4: Layer already exists 03:41:17 dd9c8f8612c8: Layer already exists 03:41:17 d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1: digest: sha256:6fdc31aca5278cd0a19df3f952cfc59ee9a2bfd8e6e28602dc3fe32ee9ce4cbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:18 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:18 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main 03:41:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:41:18 5bf2b252049e: Preparing 03:41:18 051abcfe33f8: Preparing 03:41:18 b125c46483a4: Preparing 03:41:18 ad90f9257845: Preparing 03:41:18 467d1cba3c47: Preparing 03:41:18 dd9c8f8612c8: Preparing 03:41:18 dd9c8f8612c8: Waiting 03:41:18 5bf2b252049e: Layer already exists 03:41:18 b125c46483a4: Layer already exists 03:41:18 ad90f9257845: Layer already exists 03:41:18 467d1cba3c47: Layer already exists 03:41:18 051abcfe33f8: Layer already exists 03:41:18 dd9c8f8612c8: Layer already exists 03:41:18 main: digest: sha256:6fdc31aca5278cd0a19df3f952cfc59ee9a2bfd8e6e28602dc3fe32ee9ce4cbf size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:41:18 ===================================================== [Pipeline] echo 03:41:18 taggedImages: 03:41:18 - nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0 03:41:18 - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 03:41:18 - nexus3.edgexfoundry.org:10004/device-s7-arm64:4.1.0-dev.1 03:41:18 - nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 03:41:18 - nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] echo 03:41:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] echo 03:41:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] echo 03:41:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-s7-arm64:4.1.0-dev.1 [Pipeline] echo 03:41:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-s7-arm64:d22bcd7e0933516a615516a8a508495f082858b0-4.1.0-dev.1 [Pipeline] echo 03:41:18 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:19 03:41:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:19 arm64: Pulling from edgex-lftools-log-publisher 03:41:19 8998bd30e6a1: Pulling fs layer 03:41:19 04944245beec: Pulling fs layer 03:41:19 699f458cf7ca: Pulling fs layer 03:41:19 765212b225bb: Pulling fs layer 03:41:19 f23df028b6ca: Pulling fs layer 03:41:19 d65c8cfc05b1: Pulling fs layer 03:41:19 2437ff75d9bd: Pulling fs layer 03:41:19 f23df028b6ca: Waiting 03:41:19 d65c8cfc05b1: Waiting 03:41:19 2437ff75d9bd: Waiting 03:41:19 765212b225bb: Waiting 03:41:19 04944245beec: Verifying Checksum 03:41:19 04944245beec: Download complete 03:41:19 765212b225bb: Verifying Checksum 03:41:19 765212b225bb: Download complete 03:41:19 f23df028b6ca: Verifying Checksum 03:41:19 f23df028b6ca: Download complete 03:41:19 d65c8cfc05b1: Verifying Checksum 03:41:19 d65c8cfc05b1: Download complete 03:41:20 699f458cf7ca: Verifying Checksum 03:41:20 699f458cf7ca: Download complete 03:41:20 8998bd30e6a1: Verifying Checksum 03:41:20 8998bd30e6a1: Download complete 03:41:23 2437ff75d9bd: Verifying Checksum 03:41:23 2437ff75d9bd: Download complete 03:41:25 8998bd30e6a1: Pull complete 03:41:25 04944245beec: Pull complete 03:41:27 699f458cf7ca: Pull complete 03:41:27 765212b225bb: Pull complete 03:41:28 f23df028b6ca: Pull complete 03:41:28 d65c8cfc05b1: Pull complete 03:41:46 2437ff75d9bd: Pull complete 03:41:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:41:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:41:46 prd-ubuntu20.04-docker-arm64-4c-16g-2757 does not seem to be running inside a container 03:41:46 $ 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-s7/21 -v /w/workspace/device-s7/21:/w/workspace/device-s7/21:rw,z -v /w/workspace/device-s7/21@tmp:/w/workspace/device-s7/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:41:50 $ docker top 9ac3005f235dece0320d7d06107aa76549a1f3b0dd31e7526024f87c04330622 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:41:51 ---> job-cost.sh 03:41:51 lf-activate-venv: SKIPPING 03:41:51 INFO: No Stack... 03:41:51 INFO: Retrieving Pricing Info for: v3-standard-4 03:41:52 INFO: Archiving Costs [Pipeline] sh 03:41:53 + cat /w/workspace/device-s7/21/archives/cost.csv 03:41:53 + cut -d, -f6 [Pipeline] lock 03:41:53 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] 03:41:53 Resource [jenkins-edgexfoundry-device-s7-main-21-stack-cost] did not exist. Created. 03:41:53 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:41:53 /w/workspace/device-s7/21@tmp/durable-0c48f4aa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:41:54 + echo total: 0.10999999940395355 [Pipeline] stash 03:41:54 Warning: overwriting stash ‘stack-cost’ 03:41:54 Stashed 1 file(s) [Pipeline] } 03:41:54 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-21-stack-cost] [Pipeline] // lock [Pipeline] } 03:41:54 $ docker stop --time=1 9ac3005f235dece0320d7d06107aa76549a1f3b0dd31e7526024f87c04330622 03:41:55 $ docker rm -f --volumes 9ac3005f235dece0320d7d06107aa76549a1f3b0dd31e7526024f87c04330622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:41:56 provisioning config files... 03:41:56 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config8114371240355004892tmp [Pipeline] { [Pipeline] sh 03:41:56 + set +x 03:41:56 + curl -s https://codecov.io/bash 03:41:56 + bash -s -- 03:41:56 03:41:56 _____ _ 03:41:56 / ____| | | 03:41:56 | | ___ __| | ___ ___ _____ __ 03:41:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:41:56 | |___| (_) | (_| | __/ (_| (_) \ V / 03:41:56 \_____\___/ \__,_|\___|\___\___/ \_/ 03:41:56 Bash-1.0.6 03:41:56 03:41:56 03:41:56 ==> git version 2.25.1 found 03:41:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:41:56 Release-Date: 2020-01-08 03:41:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:41:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:41:56 ==> Jenkins CI detected. 03:41:56 current dir:  /w/workspace/edgexfoundry_device-s7_main 03:41:56 project root: . 03:41:56 --> token set from env 03:41:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:41:56 ==> Running gcov in . (disable via -X gcov) 03:41:56 ==> Python coveragepy not found 03:41:56 ==> Searching for coverage reports in: 03:41:56 + . 03:41:56 -> Found 1 reports 03:41:56 ==> Detecting git/mercurial file structure 03:41:57 ==> Reading reports 03:41:57 + ./coverage.out bytes=19094 03:41:57 ==> Appending adjustments 03:41:57 https://docs.codecov.io/docs/fixing-reports 03:41:57 + Found adjustments 03:41:57 ==> Gzipping contents 03:41:57 4.0K /tmp/codecov.DKha8N.gz 03:41:57 ==> Uploading reports 03:41:57 url: https://codecov.io 03:41:57 query: branch=main&commit=d22bcd7e0933516a615516a8a508495f082858b0&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 03:41:57 -> Pinging Codecov 03:41:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=d22bcd7e0933516a615516a8a508495f082858b0&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 03:41:57 -> Uploading to 03:41:57 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/d22bcd7e0933516a615516a8a508495f082858b0/7b0dcb67-3e81-451c-be87-2673c0246781.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250604%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250604T034157Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=4634b5d80e89c62c83c3b8765c037581a4add2a9b16bd523e80104f327ef986a 03:41:57 % Total % Received % Xferd Average Speed Time Time Time Current 03:41:57 Dload Upload Total Spent Left Speed 03:41:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 11441 --:--:-- --:--:-- --:--:-- 11487 03:41:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] } 03:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:41:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:41:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:41:58 03:41:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:41:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:41:58 latest: Pulling from edgex-devops/edgex-snyk-go 03:41:58 43c4264eed91: Pulling fs layer 03:41:58 4cc291be95ef: Pulling fs layer 03:41:58 2ac1f1163629: Pulling fs layer 03:41:58 5c3c966382ef: Pulling fs layer 03:41:58 4f4fb700ef54: Pulling fs layer 03:41:58 d9c7d2e4e75e: Pulling fs layer 03:41:58 9c3e1370e548: Pulling fs layer 03:41:58 4f4fb700ef54: Waiting 03:41:58 9c3e1370e548: Waiting 03:41:58 d9c7d2e4e75e: Waiting 03:41:58 5c3c966382ef: Waiting 03:41:58 4cc291be95ef: Verifying Checksum 03:41:58 4cc291be95ef: Download complete 03:41:58 5c3c966382ef: Download complete 03:41:58 4f4fb700ef54: Download complete 03:41:58 43c4264eed91: Verifying Checksum 03:41:58 43c4264eed91: Download complete 03:41:58 43c4264eed91: Pull complete 03:41:58 d9c7d2e4e75e: Verifying Checksum 03:41:58 d9c7d2e4e75e: Download complete 03:41:58 4cc291be95ef: Pull complete 03:41:59 2ac1f1163629: Verifying Checksum 03:41:59 2ac1f1163629: Download complete 03:41:59 9c3e1370e548: Verifying Checksum 03:41:59 9c3e1370e548: Download complete 03:42:02 2ac1f1163629: Pull complete 03:42:02 5c3c966382ef: Pull complete 03:42:02 4f4fb700ef54: Pull complete 03:42:02 d9c7d2e4e75e: Pull complete 03:42:06 9c3e1370e548: Pull complete 03:42:06 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 03:42:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:42:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:06 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 03:42:08 $ docker top 177285ebd21ee391c221eb46a2cfc0932b0ec01c78266b535dff0f333ebdc5e3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo 03:42:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh 03:42:08 + set -o pipefail 03:42:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' 03:42:18 03:42:18 Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... 03:42:18 03:42:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/f8f181b7-4880-4551-8cd5-d680fb2dd4e4 03:42:18 03:42:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:42:18 03:42:18 03:42:18 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:42:18 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:42:18 $ docker stop --time=1 177285ebd21ee391c221eb46a2cfc0932b0ec01c78266b535dff0f333ebdc5e3 03:42:21 $ docker rm -f --volumes 177285ebd21ee391c221eb46a2cfc0932b0ec01c78266b535dff0f333ebdc5e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:42:22 + git log --format=format:%s -1 d22bcd7e0933516a615516a8a508495f082858b0 [Pipeline] sh 03:42:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:22 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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-devops/py-git-semver:0.1.4 cat 03:42:23 $ docker top 1195dc970be55d1446289730c5c350aab50132d6bddcf39fa0ab320a2f9fecf9 -eo pid,comm 03:42:23 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). 03:42:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:23 [ssh-agent] Looking for ssh-agent implementation... 03:42:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:23 $ docker exec 1195dc970be55d1446289730c5c350aab50132d6bddcf39fa0ab320a2f9fecf9 ssh-agent 03:42:23 SSH_AUTH_SOCK=/tmp/ssh-SQajjokpEc3j/agent.33 03:42:23 SSH_AGENT_PID=39 03:42:23 Running ssh-add (command line suppressed) 03:42:23 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17777274905364127629.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17777274905364127629.key) 03:42:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:24 + git semver tag 03:42:24 2025-06-04 03:42:24,391 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:42:24 2025-06-04 03:42:24,394 [run_tag] DEBUG tag force:False 03:42:24 2025-06-04 03:42:24,394 [check_head_tag] DEBUG check head tag 03:42:24 2025-06-04 03:42:24,395 [execute] INFO git cat-file --batch-check 03:42:24 2025-06-04 03:42:24,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, stdin=, shell=False, universal_newlines=False) 03:42:24 2025-06-04 03:42:24,397 [execute] INFO git cat-file --batch 03:42:24 2025-06-04 03:42:24,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, stdin=, shell=False, universal_newlines=False) 03:42:24 2025-06-04 03:42:24,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:24 2025-06-04 03:42:24,401 [execute] INFO git tag -a v4.1.0-dev.1 -m v4.1.0-dev.1 03:42:24 2025-06-04 03:42:24,401 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.1', '-m', 'v4.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-s7_main, stdin=None, shell=False, universal_newlines=False) 03:42:24 2025-06-04 03:42:24,405 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:24 4.1.0-dev.1 [Pipeline] } 03:42:24 $ docker exec --env ******** --env ******** 1195dc970be55d1446289730c5c350aab50132d6bddcf39fa0ab320a2f9fecf9 ssh-agent -k 03:42:24 unset SSH_AUTH_SOCK; 03:42:24 unset SSH_AGENT_PID; 03:42:24 echo Agent pid 39 killed; 03:42:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:25 + git semver [Pipeline] } 03:42:25 $ docker stop --time=1 1195dc970be55d1446289730c5c350aab50132d6bddcf39fa0ab320a2f9fecf9 03:42:26 $ docker rm -f --volumes 1195dc970be55d1446289730c5c350aab50132d6bddcf39fa0ab320a2f9fecf9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:42:27 03:42:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:42:27 0.23.1-centos7: Pulling from edgex-lftools 03:42:27 ab5ef0e58194: Pulling fs layer 03:42:27 9712f1f96733: Pulling fs layer 03:42:27 63f879dbbcfc: Pulling fs layer 03:42:27 0d9ebad4ef96: Pulling fs layer 03:42:27 e9a5061849ea: Pulling fs layer 03:42:27 d747dcd14b5f: Pulling fs layer 03:42:27 2de7ff778b66: Pulling fs layer 03:42:27 e9a5061849ea: Waiting 03:42:27 d747dcd14b5f: Waiting 03:42:27 2de7ff778b66: Waiting 03:42:27 0d9ebad4ef96: Waiting 03:42:27 9712f1f96733: Verifying Checksum 03:42:27 9712f1f96733: Download complete 03:42:27 63f879dbbcfc: Verifying Checksum 03:42:27 63f879dbbcfc: Download complete 03:42:28 e9a5061849ea: Verifying Checksum 03:42:28 e9a5061849ea: Download complete 03:42:28 d747dcd14b5f: Download complete 03:42:28 ab5ef0e58194: Verifying Checksum 03:42:28 ab5ef0e58194: Download complete 03:42:28 2de7ff778b66: Verifying Checksum 03:42:28 2de7ff778b66: Download complete 03:42:28 0d9ebad4ef96: Verifying Checksum 03:42:28 0d9ebad4ef96: Download complete 03:42:30 ab5ef0e58194: Pull complete 03:42:30 9712f1f96733: Pull complete 03:42:31 63f879dbbcfc: Pull complete 03:42:34 0d9ebad4ef96: Pull complete 03:42:34 e9a5061849ea: Pull complete 03:42:34 d747dcd14b5f: Pull complete 03:42:35 2de7ff778b66: Pull complete 03:42:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:42:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:42:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:35 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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:0.23.1-centos7 cat 03:42:38 $ docker top 8c588c700720ab9700de29526ba8b1e0f7205b8b0f4775c3533e6a21594aa4bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:42:38 provisioning config files... 03:42:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config5159732230233699141tmp 03:42:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config1033491942859696782tmp 03:42:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10755578685487865666tmp [Pipeline] { [Pipeline] echo 03:42:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:42:38 ---> sigul-configuration.sh 03:42:38 gpg: directory `/root/.gnupg' created 03:42:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:42:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:42:38 gpg: keyring `/root/.gnupg/secring.gpg' created 03:42:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:42:38 gpg: CAST5 encrypted data 03:42:38 gpg: encrypted with 1 passphrase 03:42:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:42:38 + mkdir /home/jenkins 03:42:38 + mkdir /home/jenkins/sigul [Pipeline] sh 03:42:39 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:42:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:42:39 ---> sigul-install.sh 03:42:39 Sigul already installed; skipping installation. [Pipeline] sh 03:42:39 + git tag --list 03:42:39 v0.0.0 03:42:39 v4.0 03:42:39 v4.0.0 03:42:39 v4.1.0-dev.1 [Pipeline] sh 03:42:40 + lftools sign git-tag v4.1.0-dev.1 03:42:40 Signing Git tag with Sigul... 03:42:40 Signing v4.1.0-dev.1 [Pipeline] echo 03:42:41 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:42:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:42:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:42:41 $ docker stop --time=1 8c588c700720ab9700de29526ba8b1e0f7205b8b0f4775c3533e6a21594aa4bf 03:42:43 $ docker rm -f --volumes 8c588c700720ab9700de29526ba8b1e0f7205b8b0f4775c3533e6a21594aa4bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:42:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:43 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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-devops/py-git-semver:0.1.4 cat 03:42:44 $ docker top 697fc3ea31dab85d9b61aeefb77d45bd50637527e8338a8e9ac2e838f17b6bb1 -eo pid,comm 03:42:44 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). 03:42:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:44 [ssh-agent] Looking for ssh-agent implementation... 03:42:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:44 $ docker exec 697fc3ea31dab85d9b61aeefb77d45bd50637527e8338a8e9ac2e838f17b6bb1 ssh-agent 03:42:44 SSH_AUTH_SOCK=/tmp/ssh-MKkwuHezOHB3/agent.31 03:42:44 SSH_AGENT_PID=37 03:42:44 Running ssh-add (command line suppressed) 03:42:44 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11380112581033696055.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11380112581033696055.key) 03:42:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:44 + git semver bump pre 03:42:45 2025-06-04 03:42:45,137 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:42:45 2025-06-04 03:42:45,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:45 2025-06-04 03:42:45,141 [bump_version] DEBUG bumping version:4.1.0-dev.1 on axis:pre with prefix:dev 03:42:45 2025-06-04 03:42:45,141 [bump_version] DEBUG bumped version:4.1.0-dev.2 03:42:45 2025-06-04 03:42:45,141 [write_version] DEBUG write version:4.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True 03:42:45 2025-06-04 03:42:45,141 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:45 2025-06-04 03:42:45,141 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:45 2025-06-04 03:42:45,143 [execute] INFO git cat-file --batch-check 03:42:45 2025-06-04 03:42:45,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=, shell=False, universal_newlines=False) 03:42:45 2025-06-04 03:42:45,147 [execute] INFO git cat-file --batch 03:42:45 2025-06-04 03:42:45,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=, shell=False, universal_newlines=False) 03:42:45 2025-06-04 03:42:45,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:45 4.1.0-dev.2 [Pipeline] } 03:42:45 $ docker exec --env ******** --env ******** 697fc3ea31dab85d9b61aeefb77d45bd50637527e8338a8e9ac2e838f17b6bb1 ssh-agent -k 03:42:45 unset SSH_AUTH_SOCK; 03:42:45 unset SSH_AGENT_PID; 03:42:45 echo Agent pid 37 killed; 03:42:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:45 + git semver [Pipeline] } 03:42:45 $ docker stop --time=1 697fc3ea31dab85d9b61aeefb77d45bd50637527e8338a8e9ac2e838f17b6bb1 03:42:47 $ docker rm -f --volumes 697fc3ea31dab85d9b61aeefb77d45bd50637527e8338a8e9ac2e838f17b6bb1 [Pipeline] // withDockerContainer [Pipeline] sh 03:42:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:47 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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-devops/py-git-semver:0.1.4 cat 03:42:48 $ docker top 8bafb04dd3fc79ad3652148b26c8cbdfd6c919fb8b1defd13406f6904448cc2b -eo pid,comm 03:42:48 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). 03:42:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:48 [ssh-agent] Looking for ssh-agent implementation... 03:42:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:48 $ docker exec 8bafb04dd3fc79ad3652148b26c8cbdfd6c919fb8b1defd13406f6904448cc2b ssh-agent 03:42:48 SSH_AUTH_SOCK=/tmp/ssh-GEo8mNMTPe8J/agent.32 03:42:48 SSH_AGENT_PID=39 03:42:48 Running ssh-add (command line suppressed) 03:42:48 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4744306642076782249.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4744306642076782249.key) 03:42:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:49 + git semver push 03:42:49 2025-06-04 03:42:49,247 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 03:42:49 2025-06-04 03:42:49,250 [run_push] DEBUG push 03:42:49 2025-06-04 03:42:49,251 [execute] INFO git cat-file --batch-check 03:42:49 2025-06-04 03:42:49,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=, shell=False, universal_newlines=False) 03:42:49 2025-06-04 03:42:49,253 [execute] INFO git rev-list 76ff62c45665cf2c0cd27a0ab2ab173c8b5794b6 -- 03:42:49 2025-06-04 03:42:49,253 [execute] DEBUG Popen(['git', 'rev-list', '76ff62c45665cf2c0cd27a0ab2ab173c8b5794b6', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=None, shell=False, universal_newlines=False) 03:42:49 2025-06-04 03:42:49,257 [execute] INFO git fetch -v -- origin 03:42:49 2025-06-04 03:42:49,257 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=None, shell=False, universal_newlines=True) 03:42:49 2025-06-04 03:42:49,717 [run_push] DEBUG no remote changes detected 03:42:49 2025-06-04 03:42:49,717 [execute] INFO git push origin semver 03:42:49 2025-06-04 03:42:49,718 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, stdin=None, shell=False, universal_newlines=False) 03:42:50 2025-06-04 03:42:50,483 [run_push] DEBUG push all version tags 03:42:50 2025-06-04 03:42:50,483 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:42:50 2025-06-04 03:42:50,483 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-s7_main, stdin=None, shell=False, universal_newlines=False) 03:42:51 2025-06-04 03:42:51,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:42:51 4.1.0-dev.2 [Pipeline] } 03:42:51 $ docker exec --env ******** --env ******** 8bafb04dd3fc79ad3652148b26c8cbdfd6c919fb8b1defd13406f6904448cc2b ssh-agent -k 03:42:51 unset SSH_AUTH_SOCK; 03:42:51 unset SSH_AGENT_PID; 03:42:51 echo Agent pid 39 killed; 03:42:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:51 + git semver [Pipeline] } 03:42:52 $ docker stop --time=1 8bafb04dd3fc79ad3652148b26c8cbdfd6c919fb8b1defd13406f6904448cc2b 03:42:53 $ docker rm -f --volumes 8bafb04dd3fc79ad3652148b26c8cbdfd6c919fb8b1defd13406f6904448cc2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:42:53 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 03:42:53 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 03:42:53 total 16 03:42:53 drwxr-xr-x 3 root root 4096 Jun 4 03:28 . 03:42:53 drwxrwxr-x 9 jenkins jenkins 4096 Jun 4 03:42 .. 03:42:53 drwxr-xr-x 2 root root 4096 Jun 4 03:28 cost 03:42:53 -rw-r--r-- 1 root root 80 Jun 4 03:28 cost.csv 03:42:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 03:42:53 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 03:42:53 total 16 03:42:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 4 03:28 . 03:42:53 drwxrwxr-x 9 jenkins jenkins 4096 Jun 4 03:42 .. 03:42:53 drwxr-xr-x 2 jenkins jenkins 4096 Jun 4 03:28 cost 03:42:53 -rw-r--r-- 1 jenkins jenkins 80 Jun 4 03:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:42:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:42:55 ---> package-listing.sh 03:42:55 ++ facter osfamily 03:42:55 ++ tr '[:upper:]' '[:lower:]' 03:42:55 + OS_FAMILY=debian 03:42:55 + workspace=/w/workspace/edgexfoundry_device-s7_main 03:42:55 + START_PACKAGES=/tmp/packages_start.txt 03:42:55 + END_PACKAGES=/tmp/packages_end.txt 03:42:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:42:55 + PACKAGES=/tmp/packages_start.txt 03:42:55 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:42:55 + PACKAGES=/tmp/packages_end.txt 03:42:55 + case "${OS_FAMILY}" in 03:42:55 + dpkg -l 03:42:55 + grep '^ii' 03:42:55 + '[' -f /tmp/packages_start.txt ']' 03:42:55 + '[' -f /tmp/packages_end.txt ']' 03:42:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:42:55 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:42:55 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 03:42:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 03:42:55 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-s7_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:42:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:42:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:56 prd-ubuntu20.04-docker-8c-8g-2756 does not seem to be running inside a container 03:42:56 $ 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-s7_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-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_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 03:42:56 $ docker top fbff876202063d302db943c67a7a3739b41a074a73ff272b4c8b56c8a060f708 -eo pid,comm [Pipeline] { [Pipeline] sh 03:42:56 + touch /tmp/pre-build-complete [Pipeline] sh 03:42:57 + mkdir -p /var/log/sysstat [Pipeline] sh 03:42:57 + ls /var/log/sa-host 03:42:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:57 provisioning config files... 03:42:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config7950819287678065258tmp [Pipeline] { [Pipeline] echo 03:42:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:42:57 ---> create-netrc.sh [Pipeline] } 03:42:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:42:58 ---> python-tools-install.sh [Pipeline] echo 03:42:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:42:58 ---> sudo-logs.sh 03:42:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:42:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:42:58 ---> job-cost.sh 03:42:58 lf-activate-venv: SKIPPING 03:42:58 DEBUG: total: 0.2199999988079071 03:42:58 INFO: Retrieving Stack Cost... 03:42:59 INFO: Retrieving Pricing Info for: v3-standard-8 03:42:59 INFO: Archiving Costs [Pipeline] echo 03:42:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:42:59 ---> logs-deploy.sh 03:42:59 lf-activate-venv: SKIPPING 03:42:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/21 03:42:59 INFO: archiving workspace using pattern(s): 03:43:00 Archives upload complete. 03:43:01 INFO: archiving logs to Nexus