Pull request #31 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3854de828d6f3bdbbd99efd86a318f3f27f9d59a+9db981aa25816d0e0d272d921f7244c5f9cb19d6 (0657d9eb2f59fe6f561fa14b7d318d479800249d) 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-ssh4758331247261913426.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh2826101352231301990.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-31/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-31/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3174783288749127041.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-31/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5482117305269218214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4150431579906241389.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-31/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-31/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10957721278237798638.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-36293 in /w/workspace/edgexfoundry_device-s7_PR-31 [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_PR-31 # 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 Merging remotes/origin/main commit 9db981aa25816d0e0d272d921f7244c5f9cb19d6 into PR head commit 3854de828d6f3bdbbd99efd86a318f3f27f9d59a Merge succeeded, producing 3854de828d6f3bdbbd99efd86a318f3f27f9d59a Checking out Revision 3854de828d6f3bdbbd99efd86a318f3f27f9d59a (PR-31) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 > 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 remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/31/head:refs/remotes/origin/PR-31 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3854de828d6f3bdbbd99efd86a318f3f27f9d59a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9db981aa25816d0e0d272d921f7244c5f9cb19d6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3854de828d6f3bdbbd99efd86a318f3f27f9d59a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:42:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:42:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:42:52 ========================================================= 19:42:52 EdgeX Global Pipelines Version Info 19:42:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:42:53 ------------------- 19:42:53 stable info: 19:42:53 ------------------- 19:42:53 Commited By: Cherry Wang cherry@iotechsys.com 19:42:53 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 19:42:53 Message: update stable to v1.0.269 19:42:54 ------------------- 19:42:54 experimental info: 19:42:54 ------------------- 19:42:54 Commited By: **** collab-it+edgex@linuxfoundation.org 19:42:54 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 19:42:54 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:42:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-31 [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-31 [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-31 [Pipeline] echo 19:42:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3854de828d6f3bdbbd99efd86a318f3f27f9d59a [Pipeline] echo 19:42:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3854de8 [Pipeline] echo 19:42:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:42:56 provisioning config files... 19:42:56 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-31@tmp/config15709588001050292765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:42:56 ---> ****-login.sh 19:42:56 nexus3.edgexfoundry.org:10001 19:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:42:56 Configure a credential helper to remove this warning. See 19:42:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:42:56 19:42:56 Login Succeeded 19:42:56 nexus3.edgexfoundry.org:10002 19:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:42:57 Configure a credential helper to remove this warning. See 19:42:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:42:57 19:42:57 Login Succeeded 19:42:57 nexus3.edgexfoundry.org:10003 19:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:42:57 Configure a credential helper to remove this warning. See 19:42:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:42:57 19:42:57 Login Succeeded 19:42:57 nexus3.edgexfoundry.org:10004 19:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:42:57 Configure a credential helper to remove this warning. See 19:42:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:42:57 19:42:57 Login Succeeded 19:42:57 ****.io 19:42:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:42:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:42:57 Configure a credential helper to remove this warning. See 19:42:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:42:57 19:42:57 Login Succeeded 19:42:57 ---> ****-login.sh ends [Pipeline] } 19:42:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:42:58 + git rev-list -1 --merges 3854de828d6f3bdbbd99efd86a318f3f27f9d59a~1..3854de828d6f3bdbbd99efd86a318f3f27f9d59a [Pipeline] echo 19:42:58 -----------> git rev-list -1 --merges 3854de828d6f3bdbbd99efd86a318f3f27f9d59a~1..3854de828d6f3bdbbd99efd86a318f3f27f9d59a 3854de828d6f3bdbbd99efd86a318f3f27f9d59a [false] [Pipeline] sh 19:42:58 + git log --format=format:%s -1 3854de828d6f3bdbbd99efd86a318f3f27f9d59a [Pipeline] echo 19:42:58 ========================================================= 19:42:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:42:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:59 + git log --format=format:%s -1 3854de828d6f3bdbbd99efd86a318f3f27f9d59a [Pipeline] echo 19:42:59 [semverPrep] GIT_COMMIT: 3854de828d6f3bdbbd99efd86a318f3f27f9d59a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 19:42:59 [semverPrep] This is not a build commit. [Pipeline] sh 19:42:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:42:59 + grep -v github /etc/ssh/ssh_known_hosts 19:42:59 + [ -e /tmp/ssh_known_hosts ] 19:42:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:42:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:42:59 + sudo tee -a /etc/ssh/ssh_known_hosts 19:42:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:00 19:43:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:00 0.1.4: Pulling from edgex-devops/py-git-semver 19:43:00 b85a868b505f: Pulling fs layer 19:43:00 e2be974225ed: Pulling fs layer 19:43:00 339a4e72a1f5: Pulling fs layer 19:43:00 988bab9f4d93: Pulling fs layer 19:43:00 1469e6f7b9e6: Pulling fs layer 19:43:00 eaf3925da568: Pulling fs layer 19:43:00 bab4dde63d76: Pulling fs layer 19:43:00 bde34c3a00c8: Pulling fs layer 19:43:00 b352a97aabf1: Pulling fs layer 19:43:00 4872d77fe225: Pulling fs layer 19:43:00 5851b861e8e6: Pulling fs layer 19:43:00 988bab9f4d93: Waiting 19:43:00 1469e6f7b9e6: Waiting 19:43:00 eaf3925da568: Waiting 19:43:00 bab4dde63d76: Waiting 19:43:00 bde34c3a00c8: Waiting 19:43:00 b352a97aabf1: Waiting 19:43:00 4872d77fe225: Waiting 19:43:00 5851b861e8e6: Waiting 19:43:00 e2be974225ed: Verifying Checksum 19:43:00 e2be974225ed: Download complete 19:43:00 988bab9f4d93: Verifying Checksum 19:43:00 988bab9f4d93: Download complete 19:43:00 1469e6f7b9e6: Verifying Checksum 19:43:00 1469e6f7b9e6: Download complete 19:43:00 eaf3925da568: Verifying Checksum 19:43:00 eaf3925da568: Download complete 19:43:00 339a4e72a1f5: Download complete 19:43:00 bde34c3a00c8: Download complete 19:43:00 b352a97aabf1: Download complete 19:43:00 4872d77fe225: Verifying Checksum 19:43:00 4872d77fe225: Download complete 19:43:00 5851b861e8e6: Download complete 19:43:00 b85a868b505f: Verifying Checksum 19:43:00 b85a868b505f: Download complete 19:43:01 bab4dde63d76: Verifying Checksum 19:43:01 bab4dde63d76: Download complete 19:43:02 b85a868b505f: Pull complete 19:43:02 e2be974225ed: Pull complete 19:43:02 339a4e72a1f5: Pull complete 19:43:02 988bab9f4d93: Pull complete 19:43:03 1469e6f7b9e6: Pull complete 19:43:03 eaf3925da568: Pull complete 19:43:05 bab4dde63d76: Pull complete 19:43:05 bde34c3a00c8: Pull complete 19:43:05 b352a97aabf1: Pull complete 19:43:05 4872d77fe225: Pull complete 19:43:05 5851b861e8e6: Pull complete 19:43:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:43:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:43:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:43:05 prd-ubuntu20.04-docker-8c-8g-36293 does not seem to be running inside a container 19:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-31 -v /w/workspace/edgexfoundry_device-s7_PR-31:/w/workspace/edgexfoundry_device-s7_PR-31:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-31@tmp:/w/workspace/edgexfoundry_device-s7_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:43:08 $ docker top 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 -eo pid,comm 19:43:08 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). 19:43:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:43:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:08 [ssh-agent] Looking for ssh-agent implementation... 19:43:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:08 $ docker exec 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 ssh-agent 19:43:08 SSH_AUTH_SOCK=/tmp/ssh-tgkr4HP0nMfR/agent.32 19:43:08 SSH_AGENT_PID=38 19:43:08 Running ssh-add (command line suppressed) 19:43:08 Identity added: /w/workspace/edgexfoundry_device-s7_PR-31@tmp/private_key_9354231758372881154.key (/w/workspace/edgexfoundry_device-s7_PR-31@tmp/private_key_9354231758372881154.key) 19:43:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:08 + git tag --points-at HEAD [Pipeline] } 19:43:08 $ docker exec --env ******** --env ******** 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 ssh-agent -k 19:43:09 unset SSH_AUTH_SOCK; 19:43:09 unset SSH_AGENT_PID; 19:43:09 echo Agent pid 38 killed; 19:43:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:43:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:43:09 [ssh-agent] Looking for ssh-agent implementation... 19:43:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:43:09 $ docker exec 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 ssh-agent 19:43:09 SSH_AUTH_SOCK=/tmp/ssh-TR5TdPu2mK8b/agent.71 19:43:09 SSH_AGENT_PID=77 19:43:09 Running ssh-add (command line suppressed) 19:43:09 Identity added: /w/workspace/edgexfoundry_device-s7_PR-31@tmp/private_key_2061854876311830805.key (/w/workspace/edgexfoundry_device-s7_PR-31@tmp/private_key_2061854876311830805.key) 19:43:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:43:09 + git semver init 19:43:10 2025-01-07 19:43:10,044 [run_init] DEBUG init version:0.0.0 force:False 19:43:10 2025-01-07 19:43:10,045 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-31/.semver 19:43:10 2025-01-07 19:43:10,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-31/.semver 19:43:10 2025-01-07 19:43:10,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-31/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-31, universal_newlines=False, shell=None, istream=None) 19:43:10 2025-01-07 19:43:10,629 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-31/.git/info/exclude 19:43:10 2025-01-07 19:43:10,630 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-31/.semver/PR-31 with force:False 19:43:10 2025-01-07 19:43:10,630 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-31/.semver/PR-31 19:43:10 2025-01-07 19:43:10,634 [execute] INFO git cat-file --batch-check 19:43:10 2025-01-07 19:43:10,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-31/.semver, universal_newlines=False, shell=None, istream=) 19:43:10 2025-01-07 19:43:10,641 [execute] INFO git cat-file --batch 19:43:10 2025-01-07 19:43:10,641 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-31/.semver, universal_newlines=False, shell=None, istream=) 19:43:10 2025-01-07 19:43:10,647 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-31/.semver/PR-31 19:43:10 0.0.0 [Pipeline] } 19:43:10 $ docker exec --env ******** --env ******** 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 ssh-agent -k 19:43:10 unset SSH_AUTH_SOCK; 19:43:10 unset SSH_AGENT_PID; 19:43:10 echo Agent pid 77 killed; 19:43:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:43:11 + git semver [Pipeline] } 19:43:11 $ docker stop --time=1 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 19:43:12 $ docker rm -f --volumes 68708931ff76b2feb68b330b33924f371dcd19a81a040f8685a99934fe2ca2f1 [Pipeline] // withDockerContainer [Pipeline] sh 19:43:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:43:13 Stashed 1 file(s) [Pipeline] echo 19:43:13 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:43:14 provisioning config files... 19:43:14 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-31@tmp/config18332234410848515959tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 19:43:15 ---> ****-login.sh 19:43:15 nexus3.edgexfoundry.org:10001 19:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:43:15 Configure a credential helper to remove this warning. See 19:43:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:43:15 19:43:15 Login Succeeded 19:43:15 nexus3.edgexfoundry.org:10002 19:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:43:15 Configure a credential helper to remove this warning. See 19:43:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:43:15 19:43:15 Login Succeeded 19:43:15 nexus3.edgexfoundry.org:10003 19:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:43:15 Configure a credential helper to remove this warning. See 19:43:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:43:15 19:43:15 Login Succeeded 19:43:15 nexus3.edgexfoundry.org:10004 19:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:43:15 Configure a credential helper to remove this warning. See 19:43:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:43:15 19:43:15 Login Succeeded 19:43:15 ****.io 19:43:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:43:15 Configure a credential helper to remove this warning. See 19:43:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:43:15 19:43:15 Login Succeeded 19:43:15 ---> ****-login.sh ends [Pipeline] } 19:43:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:43:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:43:15 ========================================================= 19:43:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:43:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:43:16 + 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 . 19:43:16 Sending build context to Docker daemon 679.9kB 19:43:16 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 19:43:16 Step 2/10 : FROM ${BASE} AS builder 19:43:16 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 19:43:16 da9db072f522: Pulling fs layer 19:43:16 6ef4a4ee8ca5: Pulling fs layer 19:43:16 06f05ace1117: Pulling fs layer 19:43:16 5fe327b54edc: Pulling fs layer 19:43:16 4f4fb700ef54: Pulling fs layer 19:43:16 92a5565b7b96: Pulling fs layer 19:43:16 ff9bb7016b71: Pulling fs layer 19:43:16 b67dba6c2c7d: Pulling fs layer 19:43:16 a813b0c90790: Pulling fs layer 19:43:16 92a5565b7b96: Waiting 19:43:16 ff9bb7016b71: Waiting 19:43:16 5fe327b54edc: Waiting 19:43:16 4f4fb700ef54: Waiting 19:43:16 b67dba6c2c7d: Waiting 19:43:16 a813b0c90790: Waiting 19:43:16 6ef4a4ee8ca5: Verifying Checksum 19:43:16 6ef4a4ee8ca5: Download complete 19:43:16 5fe327b54edc: Download complete 19:43:16 4f4fb700ef54: Verifying Checksum 19:43:16 4f4fb700ef54: Download complete 19:43:16 92a5565b7b96: Download complete 19:43:16 da9db072f522: Verifying Checksum 19:43:16 da9db072f522: Download complete 19:43:16 ff9bb7016b71: Verifying Checksum 19:43:16 ff9bb7016b71: Download complete 19:43:16 da9db072f522: Pull complete 19:43:16 a813b0c90790: Download complete 19:43:16 6ef4a4ee8ca5: Pull complete 19:43:16 06f05ace1117: Verifying Checksum 19:43:16 06f05ace1117: Download complete 19:43:17 b67dba6c2c7d: Verifying Checksum 19:43:17 b67dba6c2c7d: Download complete 19:43:21 06f05ace1117: Pull complete 19:43:21 5fe327b54edc: Pull complete 19:43:21 4f4fb700ef54: Pull complete 19:43:21 92a5565b7b96: Pull complete 19:43:21 ff9bb7016b71: Pull complete 19:43:23 b67dba6c2c7d: Pull complete 19:43:24 a813b0c90790: Pull complete 19:43:24 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 19:43:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:43:24 ---> 3ba60ce46760 19:43:24 Step 3/10 : ARG MAKE=make build 19:43:26 ---> Running in 3fac42becfa6 19:43:27 Removing intermediate container 3fac42becfa6 19:43:27 ---> eb9b93b31ae6 19:43:27 Step 4/10 : WORKDIR /device-s7 19:43:27 ---> Running in 34f2aa59d063 19:43:27 Removing intermediate container 34f2aa59d063 19:43:27 ---> 25d31531fa8b 19:43:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:43:27 ---> Running in 299b8b146b26 19:43:27 Removing intermediate container 299b8b146b26 19:43:27 ---> ecc4eecc726a 19:43:27 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 19:43:27 ---> Running in f61eb9586282 19:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:43:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:43:28 OK: 248 MiB in 58 packages 19:43:28 Removing intermediate container f61eb9586282 19:43:28 ---> 180a61e4ba8e 19:43:28 Step 7/10 : COPY go.mod vendor* ./ 19:43:28 ---> 8956c9150304 19:43:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:43:28 ---> Running in 6fca11ae3a30 19:44:15 Removing intermediate container 6fca11ae3a30 19:44:15 ---> 244e8919f6a0 19:44:15 Step 9/10 : COPY . . 19:44:15 ---> 72a24e328ebc 19:44:15 Step 10/10 : RUN ${MAKE} 19:44:15 ---> Running in f51ec1316bc1 19:44:15 noop 19:44:15 Removing intermediate container f51ec1316bc1 19:44:15 ---> a528a9af7ef1 19:44:15 Successfully built a528a9af7ef1 19:44:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:15 + docker inspect -f . ci-base-image-x86_64 19:44:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:16 prd-ubuntu20.04-docker-8c-8g-36293 does not seem to be running inside a container 19:44:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-31 -v /w/workspace/edgexfoundry_device-s7_PR-31:/w/workspace/edgexfoundry_device-s7_PR-31:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-31@tmp:/w/workspace/edgexfoundry_device-s7_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:44:16 $ docker top ce87de8680eeed5ad233a08081299f177756ca504d3b610928d35a02d61826fa -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:16 + go version 19:44:16 go version go1.23.4 linux/amd64 [Pipeline] } 19:44:16 $ docker stop --time=1 ce87de8680eeed5ad233a08081299f177756ca504d3b610928d35a02d61826fa 19:44:18 $ docker rm -f --volumes ce87de8680eeed5ad233a08081299f177756ca504d3b610928d35a02d61826fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:44:18 + docker inspect -f . ci-base-image-x86_64 19:44:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:44:19 prd-ubuntu20.04-docker-8c-8g-36293 does not seem to be running inside a container 19:44:19 $ 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_PR-31 -v /w/workspace/edgexfoundry_device-s7_PR-31:/w/workspace/edgexfoundry_device-s7_PR-31:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-31@tmp:/w/workspace/edgexfoundry_device-s7_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:44:19 $ docker top 63b4d0d27a551994e902a10851627cb6b3ea8217873cdcade1ccec98a5a58570 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:19 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-31 [Pipeline] fileExists [Pipeline] sh 19:44:20 + make test 19:44:20 go test -race -coverprofile=coverage.out ./... 19:44:28 ? github.com/edgexfoundry/device-s7 [no test files] 19:44:54 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:44:54 ok github.com/edgexfoundry/device-s7/internal/driver 1.029s coverage: 6.8% of statements 19:45:26 go vet ./... 19:45:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:45:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:45:31 ./bin/test-attribution-txt.sh [Pipeline] echo 19:45:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:45:31 $ docker stop --time=1 63b4d0d27a551994e902a10851627cb6b3ea8217873cdcade1ccec98a5a58570 19:45:35 $ docker rm -f --volumes 63b4d0d27a551994e902a10851627cb6b3ea8217873cdcade1ccec98a5a58570 [Pipeline] // withDockerContainer [Pipeline] sh 19:45:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:45:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:45:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:45:37 + ls -al . 19:45:37 total 216 19:45:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 19:44 . 19:45:37 drwxrwxr-x 4 jenkins jenkins 4096 Jan 7 19:42 .. 19:45:37 drwxrwxr-x 8 jenkins jenkins 4096 Jan 7 19:44 .git 19:45:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 19:42 .github 19:45:37 -rw-rw-r-- 1 jenkins jenkins 237 Jan 7 19:42 .gitignore 19:45:37 -rw-rw-r-- 1 jenkins jenkins 42 Jan 7 19:42 .golangci.yml 19:45:37 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 19:43 .semver 19:45:37 -rw-rw-r-- 1 jenkins jenkins 19679 Jan 7 19:42 Attribution.txt 19:45:37 -rw-rw-r-- 1 jenkins jenkins 1579 Jan 7 19:42 Dockerfile 19:45:37 -rw-rw-r-- 1 jenkins jenkins 643 Jan 7 19:42 Jenkinsfile 19:45:37 -rw-rw-r-- 1 jenkins jenkins 10947 Jan 7 19:42 LICENSE 19:45:37 -rw-rw-r-- 1 jenkins jenkins 1903 Jan 7 19:42 Makefile 19:45:37 -rw-rw-r-- 1 jenkins jenkins 614 Jan 7 19:42 OWNERS.md 19:45:37 -rw-rw-r-- 1 jenkins jenkins 2393 Jan 7 19:42 README.md 19:45:37 -rw-rw-r-- 1 jenkins jenkins 5 Jan 7 19:43 VERSION 19:45:37 drwxrwxr-x 2 jenkins jenkins 4096 Jan 7 19:42 bin 19:45:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 19:42 cmd 19:45:37 -rw-r--r-- 1 jenkins jenkins 19094 Jan 7 19:44 coverage.out 19:45:37 -rw-rw-r-- 1 jenkins jenkins 6167 Jan 7 19:42 go.mod 19:45:37 -rw-rw-r-- 1 jenkins jenkins 87379 Jan 7 19:42 go.sum 19:45:37 drwxrwxr-x 3 jenkins jenkins 4096 Jan 7 19:42 internal 19:45:37 -rw-rw-r-- 1 jenkins jenkins 223 Jan 7 19:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:45:37 + 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=3854de828d6f3bdbbd99efd86a318f3f27f9d59a --label arch=amd64 --label version=0.0.0 . 19:45:37 Sending build context to Docker daemon 699.9kB 19:45:37 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 19:45:37 Step 2/24 : FROM ${BASE} AS builder 19:45:37 ---> a528a9af7ef1 19:45:37 Step 3/24 : ARG MAKE=make build 19:45:37 ---> Running in c519a941a46b 19:45:37 Removing intermediate container c519a941a46b 19:45:37 ---> 2f3ff9168f1c 19:45:37 Step 4/24 : WORKDIR /device-s7 19:45:37 ---> Running in e51267e867d9 19:45:37 Removing intermediate container e51267e867d9 19:45:37 ---> 38ef1b16e181 19:45:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:45:37 ---> Running in 8c2a36bc4d06 19:45:37 Removing intermediate container 8c2a36bc4d06 19:45:37 ---> a74879cca34d 19:45:37 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 19:45:37 ---> Running in 264f64facad6 19:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:45:38 OK: 248 MiB in 58 packages 19:45:39 Removing intermediate container 264f64facad6 19:45:39 ---> c8e9b4c8f77a 19:45:39 Step 7/24 : COPY go.mod vendor* ./ 19:45:39 ---> 03fcba5df01e 19:45:39 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:45:39 ---> Running in dd24a39db210 19:45:40 Removing intermediate container dd24a39db210 19:45:40 ---> 757477acf29c 19:45:40 Step 9/24 : COPY . . 19:45:40 ---> fb982329b259 19:45:40 Step 10/24 : RUN ${MAKE} 19:45:40 ---> Running in feea5cdae4c0 19:45:40 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.13" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:46:12 Removing intermediate container feea5cdae4c0 19:46:12 ---> 56570b79f294 19:46:12 Step 11/24 : FROM alpine:3.20 19:46:12 3.20: Pulling from library/alpine 19:46:12 63b69af3dc55: Pulling fs layer 19:46:12 63b69af3dc55: Verifying Checksum 19:46:12 63b69af3dc55: Download complete 19:46:12 63b69af3dc55: Pull complete 19:46:12 Digest: sha256:780405de0f7cf99f985dd5a4f04dfc5aae71509d89505c1ba48a88d95a0ceb7f 19:46:12 Status: Downloaded newer image for alpine:3.20 19:46:12 ---> dbf365b1c719 19:46:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:46:12 ---> Running in 6a00c1501ecb 19:46:12 Removing intermediate container 6a00c1501ecb 19:46:12 ---> 9314e2efe2b4 19:46:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 19:46:12 ---> Running in 046de1800d0d 19:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:46:12 (1/1) Installing dumb-init (1.2.5-r3) 19:46:12 Executing busybox-1.36.1-r29.trigger 19:46:12 OK: 8 MiB in 15 packages 19:46:12 Removing intermediate container 046de1800d0d 19:46:12 ---> 40efb207e3ce 19:46:12 Step 14/24 : RUN apk --no-cache upgrade 19:46:12 ---> Running in 78ab75f6fa47 19:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:46:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:46:12 OK: 8 MiB in 15 packages 19:46:12 Removing intermediate container 78ab75f6fa47 19:46:12 ---> bee44a18b6a8 19:46:12 Step 15/24 : WORKDIR / 19:46:12 ---> Running in 47bb97fdf624 19:46:12 Removing intermediate container 47bb97fdf624 19:46:12 ---> f285e64425b0 19:46:12 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:46:12 ---> b30180c538c6 19:46:12 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:46:12 ---> 1fa8e433f12f 19:46:12 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 19:46:12 ---> 3c816f4c8208 19:46:12 Step 19/24 : EXPOSE 59994 19:46:12 ---> Running in 14c53c558781 19:46:12 Removing intermediate container 14c53c558781 19:46:12 ---> 63ef3afa7255 19:46:12 Step 20/24 : ENTRYPOINT ["/device-s7"] 19:46:12 ---> Running in 781552702a24 19:46:12 Removing intermediate container 781552702a24 19:46:12 ---> 5f6b305f2985 19:46:12 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:46:12 ---> Running in dedc3df80f09 19:46:12 Removing intermediate container dedc3df80f09 19:46:12 ---> 51795e2f060f 19:46:12 Step 22/24 : LABEL arch=amd64 19:46:12 ---> Running in 54ba9f0818ec 19:46:12 Removing intermediate container 54ba9f0818ec 19:46:12 ---> e558a8f3b347 19:46:12 Step 23/24 : LABEL git_sha=3854de828d6f3bdbbd99efd86a318f3f27f9d59a 19:46:12 ---> Running in 3028ae507ec7 19:46:13 Removing intermediate container 3028ae507ec7 19:46:13 ---> 7f4995f03707 19:46:13 Step 24/24 : LABEL version=0.0.0 19:46:13 ---> Running in e92d885e74f4 19:46:13 Removing intermediate container e92d885e74f4 19:46:13 ---> 5817d9a4a8dc 19:46:13 [Warning] One or more build-args [ARCH] were not consumed 19:46:13 Successfully built 5817d9a4a8dc 19:46:13 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:14 19:46:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:14 latest: Pulling from edgex-lftools-log-publisher 19:46:14 5eb5b503b376: Pulling fs layer 19:46:14 5c69ac0246d0: Pulling fs layer 19:46:14 ec43610c2a17: Pulling fs layer 19:46:14 3a2ae6a8a46f: Pulling fs layer 19:46:14 33b1e0a273af: Pulling fs layer 19:46:14 5d3b04190fa2: Pulling fs layer 19:46:14 2f39f015ded8: Pulling fs layer 19:46:14 3a2ae6a8a46f: Waiting 19:46:14 2f39f015ded8: Waiting 19:46:14 33b1e0a273af: Waiting 19:46:14 5d3b04190fa2: Waiting 19:46:14 5c69ac0246d0: Verifying Checksum 19:46:14 5c69ac0246d0: Download complete 19:46:14 3a2ae6a8a46f: Download complete 19:46:14 33b1e0a273af: Verifying Checksum 19:46:14 33b1e0a273af: Download complete 19:46:14 5d3b04190fa2: Verifying Checksum 19:46:14 5d3b04190fa2: Download complete 19:46:14 ec43610c2a17: Verifying Checksum 19:46:14 ec43610c2a17: Download complete 19:46:14 5eb5b503b376: Verifying Checksum 19:46:14 5eb5b503b376: Download complete 19:46:15 2f39f015ded8: Download complete 19:46:15 5eb5b503b376: Pull complete 19:46:15 5c69ac0246d0: Pull complete 19:46:16 ec43610c2a17: Pull complete 19:46:16 3a2ae6a8a46f: Pull complete 19:46:16 33b1e0a273af: Pull complete 19:46:16 5d3b04190fa2: Pull complete 19:46:20 2f39f015ded8: Pull complete 19:46:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:46:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:21 prd-ubuntu20.04-docker-8c-8g-36293 does not seem to be running inside a container 19:46:21 $ 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_PR-31 -v /w/workspace/edgexfoundry_device-s7_PR-31:/w/workspace/edgexfoundry_device-s7_PR-31:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-31@tmp:/w/workspace/edgexfoundry_device-s7_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:46:24 $ docker top 295d1378c65680c59345b133c79d65c3ea083b2bfa9d34c9ad3b8193d35f0538 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:46:24 ---> job-cost.sh 19:46:24 lf-activate-venv: SKIPPING 19:46:24 INFO: No Stack... 19:46:25 INFO: Retrieving Pricing Info for: v3-standard-8 19:46:25 INFO: Archiving Costs [Pipeline] sh 19:46:25 + cat /w/workspace/edgexfoundry_device-s7_PR-31/archives/cost.csv 19:46:25 + cut -d, -f6 [Pipeline] lock 19:46:25 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-31-1-stack-cost] 19:46:25 Resource [jenkins-edgexfoundry-device-s7-PR-31-1-stack-cost] did not exist. Created. 19:46:25 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-31-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:46:26 + echo total: 0.2199999988079071 [Pipeline] stash 19:46:26 Stashed 1 file(s) [Pipeline] } 19:46:26 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-31-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:46:26 $ docker stop --time=1 295d1378c65680c59345b133c79d65c3ea083b2bfa9d34c9ad3b8193d35f0538 19:46:27 $ docker rm -f --volumes 295d1378c65680c59345b133c79d65c3ea083b2bfa9d34c9ad3b8193d35f0538 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:46:28 provisioning config files... 19:46:28 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-31@tmp/config1839541810216084591tmp [Pipeline] { [Pipeline] sh 19:46:28 + set +x 19:46:28 + curl -s https://codecov.io/bash 19:46:28 + bash -s -- 19:46:28 19:46:28 _____ _ 19:46:28 / ____| | | 19:46:28 | | ___ __| | ___ ___ _____ __ 19:46:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:46:28 | |___| (_) | (_| | __/ (_| (_) \ V / 19:46:28 \_____\___/ \__,_|\___|\___\___/ \_/ 19:46:28 Bash-1.0.6 19:46:28 19:46:28 19:46:28 ==> git version 2.25.1 found 19:46:28 ==> 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 19:46:28 Release-Date: 2020-01-08 19:46:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:46:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:46:28 ==> Jenkins CI detected. 19:46:28 current dir:  /w/workspace/edgexfoundry_device-s7_PR-31 19:46:28 project root: . 19:46:28 --> token set from env 19:46:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:46:28 ==> Running gcov in . (disable via -X gcov) 19:46:28 ==> Python coveragepy not found 19:46:28 ==> Searching for coverage reports in: 19:46:28 + . 19:46:28 -> Found 1 reports 19:46:28 ==> Detecting git/mercurial file structure 19:46:28 ==> Reading reports 19:46:28 + ./coverage.out bytes=19094 19:46:28 ==> Appending adjustments 19:46:28 https://docs.codecov.io/docs/fixing-reports 19:46:28 + Found adjustments 19:46:28 ==> Gzipping contents 19:46:28 4.0K /tmp/codecov.Bm8pDC.gz 19:46:28 ==> Uploading reports 19:46:28 url: https://codecov.io 19:46:28 query: branch=PR-31&commit=3854de828d6f3bdbbd99efd86a318f3f27f9d59a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-31%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=31&job=&cmd_args= 19:46:28 -> Pinging Codecov 19:46:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-31&commit=3854de828d6f3bdbbd99efd86a318f3f27f9d59a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-31%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=31&job=&cmd_args= 19:46:29 -> Uploading to 19:46:29 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/3854de828d6f3bdbbd99efd86a318f3f27f9d59a/64e87f1b-1ebb-4302-bb68-13416e05e182.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250107T194629Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=31f8a467ae18271edafdfba2559e9ce229266741448db2dcbab6733b4317682c 19:46:29 % Total % Received % Xferd Average Speed Time Time Time Current 19:46:29 Dload Upload Total Spent Left Speed 19:46:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 8931 --:--:-- --:--:-- --:--:-- 8903 100 2849 0 0 100 2849 0 8931 --:--:-- --:--:-- --:--:-- 8903 19:46:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/3854de828d6f3bdbbd99efd86a318f3f27f9d59a [Pipeline] } 19:46:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:46:31 + [ -d /w/workspace/edgexfoundry_device-s7_PR-31/archives ] 19:46:31 + ls -al /w/workspace/edgexfoundry_device-s7_PR-31/archives 19:46:31 total 16 19:46:31 drwxr-xr-x 3 root root 4096 Jan 7 19:46 . 19:46:31 drwxrwxr-x 9 jenkins jenkins 4096 Jan 7 19:46 .. 19:46:31 drwxr-xr-x 2 root root 4096 Jan 7 19:46 cost 19:46:31 -rw-r--r-- 1 root root 80 Jan 7 19:46 cost.csv 19:46:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-31/archives 19:46:31 + ls -al /w/workspace/edgexfoundry_device-s7_PR-31/archives 19:46:31 total 16 19:46:31 drwxr-xr-x 3 jenkins jenkins 4096 Jan 7 19:46 . 19:46:31 drwxrwxr-x 9 jenkins jenkins 4096 Jan 7 19:46 .. 19:46:31 drwxr-xr-x 2 jenkins jenkins 4096 Jan 7 19:46 cost 19:46:31 -rw-r--r-- 1 jenkins jenkins 80 Jan 7 19:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:46:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:46:32 ---> package-listing.sh 19:46:32 ++ facter osfamily 19:46:32 ++ tr '[:upper:]' '[:lower:]' 19:46:33 + OS_FAMILY=debian 19:46:33 + workspace=/w/workspace/edgexfoundry_device-s7_PR-31 19:46:33 + START_PACKAGES=/tmp/packages_start.txt 19:46:33 + END_PACKAGES=/tmp/packages_end.txt 19:46:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:46:33 + PACKAGES=/tmp/packages_start.txt 19:46:33 + '[' /w/workspace/edgexfoundry_device-s7_PR-31 ']' 19:46:33 + PACKAGES=/tmp/packages_end.txt 19:46:33 + case "${OS_FAMILY}" in 19:46:33 + dpkg -l 19:46:33 + grep '^ii' 19:46:33 + '[' -f /tmp/packages_start.txt ']' 19:46:33 + '[' -f /tmp/packages_end.txt ']' 19:46:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:46:33 + '[' /w/workspace/edgexfoundry_device-s7_PR-31 ']' 19:46:33 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-31/archives/ 19:46:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-31/archives/ [Pipeline] echo 19:46:33 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_PR-31/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:46:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:46:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:46:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:46:34 prd-ubuntu20.04-docker-8c-8g-36293 does not seem to be running inside a container 19:46:34 $ 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_PR-31/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_PR-31 -v /w/workspace/edgexfoundry_device-s7_PR-31:/w/workspace/edgexfoundry_device-s7_PR-31:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-31@tmp:/w/workspace/edgexfoundry_device-s7_PR-31@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:46:34 $ docker top b16a2b88ef0a0f0f4da6592201d9257344633459ae17db94954bc227d27b774c -eo pid,comm [Pipeline] { [Pipeline] sh 19:46:34 + touch /tmp/pre-build-complete [Pipeline] sh 19:46:35 + mkdir -p /var/log/sysstat [Pipeline] sh 19:46:35 + ls /var/log/sa-host 19:46:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:46:35 provisioning config files... 19:46:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-31@tmp/config16776343755216669616tmp [Pipeline] { [Pipeline] echo 19:46:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:46:36 ---> create-netrc.sh [Pipeline] } 19:46:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:46:36 ---> python-tools-install.sh [Pipeline] echo 19:46:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:46:36 ---> sudo-logs.sh 19:46:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:46:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:46:37 ---> job-cost.sh 19:46:37 lf-activate-venv: SKIPPING 19:46:37 DEBUG: total: 0.2199999988079071 19:46:37 INFO: Retrieving Stack Cost... 19:46:37 INFO: Retrieving Pricing Info for: v3-standard-8 19:46:37 INFO: Archiving Costs [Pipeline] echo 19:46:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:46:38 ---> logs-deploy.sh 19:46:38 lf-activate-venv: SKIPPING 19:46:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-31/1 19:46:38 INFO: archiving workspace using pattern(s): 19:46:38 Archives upload complete. 19:46:39 INFO: archiving logs to Nexus