Pull request #62 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb+72d63edd4ef09c52b2d9c5efb1b5cb257cb61318 (1140b868c918563dc39388754b94727cc389eb86) 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-ssh16661065787757149356.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 056ae7b86453181957306e7078512cbe12174832 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4261521843455157985.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 056ae7b86453181957306e7078512cbe12174832 The recommended git tool is: git using credential edgex-jenkins-ssh 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-62/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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8976479018310307530.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-62/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2158089080146482491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 056ae7b86453181957306e7078512cbe12174832 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 056ae7b86453181957306e7078512cbe12174832 # timeout=10 Commit message: "Merge pull request #473 from cherrycl/fix-seccomp-profile-error" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh7862871026240034945.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-62/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-62/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16311646887161198967.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 056ae7b86453181957306e7078512cbe12174832 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-7099 in /w/workspace/edgexfoundry_device-s7_PR-62 [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-62 # 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 > 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/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 72d63edd4ef09c52b2d9c5efb1b5cb257cb61318 into PR head commit 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb Merge succeeded, producing 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb Checking out Revision 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb (PR-62) 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 056ae7b86453181957306e7078512cbe12174832 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb # 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 72d63edd4ef09c52b2d9c5efb1b5cb257cb61318 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:10:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:10:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:10:29 ========================================================= 19:10:29 EdgeX Global Pipelines Version Info 19:10:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:10:30 ------------------- 19:10:30 stable info: 19:10:30 ------------------- 19:10:30 Commited By: Cherry Wang cherry@iotechsys.com 19:10:30 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 19:10:30 Message: update stable to v1.0.276 19:10:31 ------------------- 19:10:31 experimental info: 19:10:31 ------------------- 19:10:31 Commited By: **** collab-it+edgex@linuxfoundation.org 19:10:31 Commit SHA: 056ae7b86453181957306e7078512cbe12174832 19:10:31 Message: update experimental to v1.0.276 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:10:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:10:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 19:10:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 19:10:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 19:10:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [Pipeline] echo 19:10:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c2a5a1 [Pipeline] echo 19:10:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:10:33 provisioning config files... 19:10:33 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-62@tmp/config1786772280941675253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:33 ---> ****-login.sh 19:10:33 nexus3.edgexfoundry.org:10001 19:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:34 19:10:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 19:10:34 Configure a credential helper to remove this warning. See 19:10:34 https://docs.****.com/go/credential-store/ 19:10:34 19:10:34 Login Succeeded 19:10:34 nexus3.edgexfoundry.org:10002 19:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:34 19:10:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 19:10:34 Configure a credential helper to remove this warning. See 19:10:34 https://docs.****.com/go/credential-store/ 19:10:34 19:10:34 Login Succeeded 19:10:34 nexus3.edgexfoundry.org:10003 19:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:34 19:10:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 19:10:34 Configure a credential helper to remove this warning. See 19:10:34 https://docs.****.com/go/credential-store/ 19:10:34 19:10:34 Login Succeeded 19:10:34 nexus3.edgexfoundry.org:10004 19:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:34 19:10:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 19:10:34 Configure a credential helper to remove this warning. See 19:10:34 https://docs.****.com/go/credential-store/ 19:10:34 19:10:34 Login Succeeded 19:10:34 ****.io 19:10:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:34 19:10:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 19:10:34 Configure a credential helper to remove this warning. See 19:10:34 https://docs.****.com/go/credential-store/ 19:10:34 19:10:34 Login Succeeded 19:10:34 ---> ****-login.sh ends [Pipeline] } 19:10:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:10:35 + git rev-list -1 --merges 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb~1..6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [Pipeline] echo 19:10:35 -----------> git rev-list -1 --merges 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb~1..6c2a5a1bcdb0adb50255d79965cfb327a95f7efb 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [false] [Pipeline] sh 19:10:35 + git log --format=format:%s -1 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [Pipeline] echo 19:10:35 ========================================================= 19:10:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:10:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:36 + git log --format=format:%s -1 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [Pipeline] echo 19:10:36 [semverPrep] GIT_COMMIT: 6c2a5a1bcdb0adb50255d79965cfb327a95f7efb, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 19:10:36 [semverPrep] This is not a build commit. [Pipeline] sh 19:10:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:10:36 + grep -v github /etc/ssh/ssh_known_hosts 19:10:36 + [ -e /tmp/ssh_known_hosts ] 19:10:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:10:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:10:36 + sudo tee -a /etc/ssh/ssh_known_hosts 19:10:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:37 19:10:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:37 0.1.4: Pulling from edgex-devops/py-git-semver 19:10:37 3dae71ba6b94: Pulling fs layer 19:10:37 6bf1a483ea7c: Pulling fs layer 19:10:37 f5dfc541a4d3: Pulling fs layer 19:10:37 461d9e800cba: Pulling fs layer 19:10:37 80192f66455f: Pulling fs layer 19:10:37 2e8e34ca0e6c: Pulling fs layer 19:10:37 a29436f7fd5d: Pulling fs layer 19:10:37 923cac83aea3: Pulling fs layer 19:10:37 25ad8b0a4227: Pulling fs layer 19:10:37 db01528c6b51: Pulling fs layer 19:10:37 28988de357af: Pulling fs layer 19:10:37 25ad8b0a4227: Waiting 19:10:37 80192f66455f: Waiting 19:10:37 28988de357af: Waiting 19:10:37 2e8e34ca0e6c: Waiting 19:10:37 db01528c6b51: Waiting 19:10:37 a29436f7fd5d: Waiting 19:10:37 923cac83aea3: Waiting 19:10:37 461d9e800cba: Waiting 19:10:37 6bf1a483ea7c: Verifying Checksum 19:10:37 6bf1a483ea7c: Download complete 19:10:37 461d9e800cba: Download complete 19:10:37 80192f66455f: Download complete 19:10:38 f5dfc541a4d3: Verifying Checksum 19:10:38 f5dfc541a4d3: Download complete 19:10:38 3dae71ba6b94: Verifying Checksum 19:10:38 3dae71ba6b94: Download complete 19:10:38 923cac83aea3: Verifying Checksum 19:10:38 923cac83aea3: Download complete 19:10:38 25ad8b0a4227: Download complete 19:10:38 db01528c6b51: Download complete 19:10:38 a29436f7fd5d: Verifying Checksum 19:10:38 a29436f7fd5d: Download complete 19:10:38 28988de357af: Verifying Checksum 19:10:38 28988de357af: Download complete 19:10:38 2e8e34ca0e6c: Verifying Checksum 19:10:38 2e8e34ca0e6c: Download complete 19:10:39 3dae71ba6b94: Pull complete 19:10:39 6bf1a483ea7c: Pull complete 19:10:40 f5dfc541a4d3: Pull complete 19:10:40 461d9e800cba: Pull complete 19:10:40 80192f66455f: Pull complete 19:10:44 2e8e34ca0e6c: Pull complete 19:10:45 a29436f7fd5d: Pull complete 19:10:45 923cac83aea3: Pull complete 19:10:45 25ad8b0a4227: Pull complete 19:10:45 db01528c6b51: Pull complete 19:10:46 28988de357af: Pull complete 19:10:46 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 19:10:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:10:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:46 prd-ubuntu20.04-docker-8c-8g-7099 does not seem to be running inside a container 19:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-62 -v /w/workspace/edgexfoundry_device-s7_PR-62:/w/workspace/edgexfoundry_device-s7_PR-62:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-62@tmp:/w/workspace/edgexfoundry_device-s7_PR-62@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 19:10:48 $ docker top d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e -eo pid,comm 19:10: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). 19:10:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:10:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:10:48 [ssh-agent] Looking for ssh-agent implementation... 19:10:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:10:49 $ docker exec d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e ssh-agent 19:10:49 SSH_AUTH_SOCK=/tmp/ssh-3P0ZS5GkgaUp/agent.32 19:10:49 SSH_AGENT_PID=38 19:10:49 Running ssh-add (command line suppressed) 19:10:49 Identity added: /w/workspace/edgexfoundry_device-s7_PR-62@tmp/private_key_2184239843409508474.key (/w/workspace/edgexfoundry_device-s7_PR-62@tmp/private_key_2184239843409508474.key) 19:10:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:10:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-62 [Pipeline] sh 19:10:49 + git tag --points-at HEAD [Pipeline] } 19:10:49 $ docker exec --env ******** --env ******** d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e ssh-agent -k 19:10:50 unset SSH_AUTH_SOCK; 19:10:50 unset SSH_AGENT_PID; 19:10:50 echo Agent pid 38 killed; 19:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:10:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:10:50 [ssh-agent] Looking for ssh-agent implementation... 19:10:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:10:50 $ docker exec d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e ssh-agent 19:10:50 SSH_AUTH_SOCK=/tmp/ssh-jIkrgr0z3FTF/agent.86 19:10:50 SSH_AGENT_PID=92 19:10:50 Running ssh-add (command line suppressed) 19:10:50 Identity added: /w/workspace/edgexfoundry_device-s7_PR-62@tmp/private_key_14756588603920486195.key (/w/workspace/edgexfoundry_device-s7_PR-62@tmp/private_key_14756588603920486195.key) 19:10:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:10:50 + git semver init 19:10:51 2025-08-15 19:10:51,032 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 19:10:51 2025-08-15 19:10:51,036 [run_init] DEBUG init version:0.0.0 force:False 19:10:51 2025-08-15 19:10:51,036 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-62/.semver 19:10:51 2025-08-15 19:10:51,036 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-62/.semver 19:10:51 2025-08-15 19:10:51,037 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-62/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-62, stdin=None, shell=False, universal_newlines=False) 19:10:52 2025-08-15 19:10:52,005 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-62/.git/info/exclude 19:10:52 2025-08-15 19:10:52,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-62/.semver/PR-62 with force:False 19:10:52 2025-08-15 19:10:52,005 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-62/.semver/PR-62 19:10:52 2025-08-15 19:10:52,009 [execute] INFO git cat-file --batch-check 19:10:52 2025-08-15 19:10:52,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-62/.semver, stdin=, shell=False, universal_newlines=False) 19:10:52 2025-08-15 19:10:52,014 [execute] INFO git cat-file --batch 19:10:52 2025-08-15 19:10:52,014 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-62/.semver, stdin=, shell=False, universal_newlines=False) 19:10:52 2025-08-15 19:10:52,016 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-62/.semver/PR-62 19:10:52 0.0.0 [Pipeline] } 19:10:52 $ docker exec --env ******** --env ******** d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e ssh-agent -k 19:10:52 unset SSH_AUTH_SOCK; 19:10:52 unset SSH_AGENT_PID; 19:10:52 echo Agent pid 92 killed; 19:10:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:10:52 + git semver [Pipeline] } 19:10:53 $ docker stop --time=1 d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e 19:10:54 $ docker rm -f --volumes d991097cad84fb408e017ef8c4c9e9b82de846c08ef88ec07f9a3e03812bac2e [Pipeline] // withDockerContainer [Pipeline] sh 19:10:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:10:55 Stashed 1 file(s) [Pipeline] echo 19:10:55 [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:10:56 provisioning config files... 19:10:56 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-62@tmp/config12750450433812342264tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 19:10:56 ---> ****-login.sh 19:10:56 nexus3.edgexfoundry.org:10001 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:56 Login Succeeded 19:10:56 nexus3.edgexfoundry.org:10002 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:56 Login Succeeded 19:10:56 nexus3.edgexfoundry.org:10003 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:56 Login Succeeded 19:10:56 nexus3.edgexfoundry.org:10004 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:56 Login Succeeded 19:10:56 ****.io 19:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:10:57 Login Succeeded 19:10:57 ---> ****-login.sh ends [Pipeline] } 19:10:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 19:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 19:10:57 ========================================================= 19:10:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:10:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:57 + 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:10:58 #0 building with "default" instance using docker driver 19:10:58 19:10:58 #1 [internal] load build definition from Dockerfile 19:10:58 #1 transferring dockerfile: 1.62kB done 19:10:58 #1 DONE 0.0s 19:10:58 19:10:58 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 19:10:58 #2 DONE 0.1s 19:10:58 19:10:58 #3 [internal] load .dockerignore 19:10:58 #3 transferring context: 2B done 19:10:58 #3 DONE 0.0s 19:10:58 19:10:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 19:10:58 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 0.0s done 19:10:58 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 19:10:58 #4 ... 19:10:58 19:10:58 #5 [internal] load build context 19:10:58 #5 transferring context: 15.85MB 0.1s done 19:10:58 #5 DONE 0.2s 19:10:58 19:10:58 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 19:10:58 #4 sha256:01d3d341091a517642a078ff0605422b0bc90a0685c27f13eebf23a14bd174bf 2.08kB / 2.08kB done 19:10:58 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 19:10:58 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.1s done 19:10:58 #4 sha256:b992faf2485ce295780ce8bcc3ec6c89c618966a0a233ad776f4c4289344e4b4 685B / 685B done 19:10:58 #4 sha256:d619b1717253d911bd917c5573ee8134ae218c2451e74083eb23940cdd319302 4.11kB / 4.11kB done 19:10:58 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 16.78MB / 74.06MB 0.2s 19:10:58 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 19:10:58 #4 sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad 440B / 440B 0.1s done 19:10:58 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s 19:10:58 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 1.05MB / 103.05MB 0.2s 19:10:58 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 19:10:59 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 19:10:59 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 33.61MB / 74.06MB 0.3s 19:10:59 #4 sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 2.38MB / 2.38MB 0.2s done 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 7.34MB / 103.05MB 0.3s 19:10:59 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.1s done 19:10:59 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 2.10MB / 13.29MB 0.3s 19:10:59 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.5s 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 20.97MB / 103.05MB 0.5s 19:10:59 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.5s 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 60.82MB / 103.05MB 0.7s 19:10:59 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.8s done 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 80.98MB / 103.05MB 0.8s 19:10:59 #4 sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 13.29MB / 13.29MB 0.8s done 19:10:59 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 0.9s 19:10:59 #4 sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 103.05MB / 103.05MB 1.2s done 19:11:05 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.6s done 19:11:05 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 19:11:05 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 19:11:05 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 19:11:05 #4 extracting sha256:c451b95d79318bfd8953a1c9820732ea4e6327fc33c477d42b42d627f68681ad done 19:11:05 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 19:11:05 #4 extracting sha256:9febf9df44015f7ef701ca8f314687499ee20e4ce98978b9d593178fd725ad4a 0.0s done 19:11:05 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 0.1s 19:11:08 #4 extracting sha256:1477f019b03287281269462164bc2738c9ee590c6f69056650fa13f78f7838c5 3.3s done 19:11:08 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 19:11:08 #4 extracting sha256:c7dc25521971803488b68411916ffdc83cf3bd27a28b4147915497769959ad5b 0.7s done 19:11:08 #4 DONE 10.0s 19:11:08 19:11:08 #6 [builder 2/7] WORKDIR /device-s7 19:11:10 #6 DONE 1.9s 19:11:10 19:11:10 #7 [builder 3/7] RUN apk add --update --no-cache make git gcc libc-dev 19:11:10 #7 0.224 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:11:10 #7 0.332 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:11:11 #7 0.592 OK: 248 MiB in 58 packages 19:11:11 #7 DONE 0.7s 19:11:11 19:11:11 #8 [builder 4/7] COPY go.mod vendor* ./ 19:11:11 #8 DONE 0.0s 19:11:11 19:11:11 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:50 #9 DONE 34.6s 19:11:50 19:11:50 #10 [builder 6/7] COPY . . 19:11:50 #10 DONE 0.1s 19:11:50 19:11:50 #11 [builder 7/7] RUN echo noop 19:11:50 #11 0.202 noop 19:11:50 #11 DONE 0.3s 19:11:50 19:11:50 #12 exporting to image 19:11:50 #12 exporting layers 19:11:53 #12 exporting layers 7.0s done 19:11:53 #12 writing image sha256:6b451c96ca94d194f12bead065ecdf352f566f398e31897cd7d089d46bf3a051 done 19:11:53 #12 naming to docker.io/library/ci-base-image-x86_64 done 19:11:53 #12 DONE 7.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:53 + docker inspect -f . ci-base-image-x86_64 19:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:54 prd-ubuntu20.04-docker-8c-8g-7099 does not seem to be running inside a container 19:11:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-62 -v /w/workspace/edgexfoundry_device-s7_PR-62:/w/workspace/edgexfoundry_device-s7_PR-62:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-62@tmp:/w/workspace/edgexfoundry_device-s7_PR-62@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 ******** ci-base-image-x86_64 cat 19:11:54 $ docker top f566f6f579f9b57a84b636fc0ceef114be2b2d7c53ce455d550bf5ddd4822973 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:54 + go version 19:11:54 go version go1.23.9 linux/amd64 [Pipeline] } 19:11:54 $ docker stop --time=1 f566f6f579f9b57a84b636fc0ceef114be2b2d7c53ce455d550bf5ddd4822973 19:11:55 $ docker rm -f --volumes f566f6f579f9b57a84b636fc0ceef114be2b2d7c53ce455d550bf5ddd4822973 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:56 + docker inspect -f . ci-base-image-x86_64 19:11:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:56 prd-ubuntu20.04-docker-8c-8g-7099 does not seem to be running inside a container 19:11:56 $ 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-62 -v /w/workspace/edgexfoundry_device-s7_PR-62:/w/workspace/edgexfoundry_device-s7_PR-62:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-62@tmp:/w/workspace/edgexfoundry_device-s7_PR-62@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 ******** ci-base-image-x86_64 cat 19:11:57 $ docker top 0f22e5f134c181638263ed9dcd46df4428fe5f581225fcddf7a78bd579ccad78 -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-62 [Pipeline] fileExists [Pipeline] sh 19:11:57 + make test 19:11:57 go test -race -coverprofile=coverage.out ./... 19:12:06 ? github.com/edgexfoundry/device-s7 [no test files] 19:12:32 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 19:12:32 ok github.com/edgexfoundry/device-s7/internal/driver 1.028s coverage: 6.8% of statements 19:13:04 go vet ./... 19:13:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:13:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:13:09 ./bin/test-attribution-txt.sh 19:13:09 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 19:13:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 19:13:10 $ docker stop --time=1 0f22e5f134c181638263ed9dcd46df4428fe5f581225fcddf7a78bd579ccad78 19:13:12 $ docker rm -f --volumes 0f22e5f134c181638263ed9dcd46df4428fe5f581225fcddf7a78bd579ccad78 [Pipeline] // withDockerContainer [Pipeline] sh 19:13:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:13:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:13:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:13:14 + ls -al . 19:13:14 total 220 19:13:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 19:11 . 19:13:14 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 19:10 .. 19:13:14 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 19:12 .git 19:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:10 .github 19:13:14 -rw-rw-r-- 1 jenkins jenkins 237 Aug 15 19:10 .gitignore 19:13:14 -rw-rw-r-- 1 jenkins jenkins 42 Aug 15 19:10 .golangci.yml 19:13:14 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 19:10 .semver 19:13:14 -rw-rw-r-- 1 jenkins jenkins 20318 Aug 15 19:10 Attribution.txt 19:13:14 -rw-rw-r-- 1 jenkins jenkins 1668 Aug 15 19:10 CHANGLOG.md 19:13:14 -rw-rw-r-- 1 jenkins jenkins 1579 Aug 15 19:10 Dockerfile 19:13:14 -rw-rw-r-- 1 jenkins jenkins 643 Aug 15 19:10 Jenkinsfile 19:13:14 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 15 19:10 LICENSE 19:13:14 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 15 19:10 Makefile 19:13:14 -rw-rw-r-- 1 jenkins jenkins 614 Aug 15 19:10 OWNERS.md 19:13:14 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 15 19:10 README.md 19:13:14 -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 19:10 VERSION 19:13:14 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 19:10 bin 19:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:10 cmd 19:13:14 -rw-r--r-- 1 jenkins jenkins 19094 Aug 15 19:12 coverage.out 19:13:14 -rw-rw-r-- 1 jenkins jenkins 6153 Aug 15 19:10 go.mod 19:13:14 -rw-rw-r-- 1 jenkins jenkins 87167 Aug 15 19:10 go.sum 19:13:14 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 19:10 internal 19:13:14 -rw-rw-r-- 1 jenkins jenkins 223 Aug 15 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:14 + 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=6c2a5a1bcdb0adb50255d79965cfb327a95f7efb --label arch=amd64 --label version=0.0.0 . 19:13:14 #0 building with "default" instance using docker driver 19:13:14 19:13:14 #1 [internal] load build definition from Dockerfile 19:13:14 #1 transferring dockerfile: 1.62kB done 19:13:14 #1 DONE 0.0s 19:13:14 19:13:14 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 19:13:14 #2 DONE 0.0s 19:13:14 19:13:14 #3 [internal] load metadata for docker.io/library/alpine:3.20 19:13:14 #3 DONE 0.1s 19:13:14 19:13:14 #4 [internal] load .dockerignore 19:13:14 #4 transferring context: 2B done 19:13:14 #4 DONE 0.0s 19:13:14 19:13:14 #5 [internal] load build context 19:13:14 #5 transferring context: 26.59kB done 19:13:14 #5 DONE 0.0s 19:13:14 19:13:14 #6 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 19:13:14 #6 DONE 0.1s 19:13:14 19:13:14 #7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 19:13:14 #7 resolve docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 0.0s done 19:13:14 #7 ... 19:13:14 19:13:14 #8 [builder 2/7] WORKDIR /device-s7 19:13:14 #8 DONE 0.0s 19:13:14 19:13:14 #7 [stage-1 1/7] FROM docker.io/library/alpine:3.20@sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 19:13:14 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s 19:13:14 #7 sha256:b3119ef930faabb6b7b976780c0c7a9c1aa24d0c75e9179ac10e6bc9ac080d0d 9.22kB / 9.22kB done 19:13:14 #7 sha256:f25ebd2af60b9de8e26e5100fe6f493beb81bff010f27e84f223ad19886a78f0 1.02kB / 1.02kB done 19:13:14 #7 sha256:411bc66a7adb849165d4e733707efe59d6b5edf8b4d96506cb6a1e31ba270199 581B / 581B done 19:13:14 #7 sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.1s done 19:13:14 #7 extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.1s done 19:13:14 #7 DONE 0.3s 19:13:14 19:13:14 #9 [builder 3/7] RUN apk add --update --no-cache make git gcc libc-dev 19:13:15 #9 0.205 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:13:15 #9 0.314 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:13:15 #9 0.656 OK: 248 MiB in 58 packages 19:13:15 #9 DONE 0.8s 19:13:15 19:13:15 #10 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 19:13:15 #10 0.209 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:13:15 #10 0.286 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:13:15 #10 0.542 (1/1) Installing dumb-init (1.2.5-r3) 19:13:15 #10 0.547 Executing busybox-1.36.1-r29.trigger 19:13:15 #10 0.553 OK: 8 MiB in 15 packages 19:13:15 #10 DONE 0.7s 19:13:15 19:13:15 #11 [builder 4/7] COPY go.mod vendor* ./ 19:13:15 #11 DONE 0.0s 19:13:15 19:13:15 #12 [stage-1 3/7] RUN apk --no-cache upgrade 19:13:15 #12 0.400 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:13:16 #12 ... 19:13:16 19:13:16 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:13:16 #13 DONE 0.5s 19:13:16 19:13:16 #12 [stage-1 3/7] RUN apk --no-cache upgrade 19:13:16 #12 0.474 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:13:16 #12 ... 19:13:16 19:13:16 #14 [builder 6/7] COPY . . 19:13:16 #14 DONE 0.1s 19:13:16 19:13:16 #12 [stage-1 3/7] RUN apk --no-cache upgrade 19:13:16 #12 0.787 (1/3) Upgrading busybox (1.36.1-r29 -> 1.36.1-r30) 19:13:16 #12 0.802 Executing busybox-1.36.1-r30.post-upgrade 19:13:16 #12 0.833 (2/3) Upgrading busybox-binsh (1.36.1-r29 -> 1.36.1-r30) 19:13:16 #12 0.836 (3/3) Upgrading ssl_client (1.36.1-r29 -> 1.36.1-r30) 19:13:16 #12 0.840 Executing busybox-1.36.1-r30.trigger 19:13:16 #12 0.848 OK: 8 MiB in 15 packages 19:13:16 #12 DONE 1.0s 19:13:16 19:13:16 #15 [builder 7/7] RUN make build 19:13:16 #15 0.214 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.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 19:13:43 #15 DONE 25.4s 19:13:43 19:13:43 #16 [stage-1 4/7] COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 19:13:43 #16 DONE 0.0s 19:13:43 19:13:43 #17 [stage-1 5/7] COPY --from=builder /device-s7/cmd/device-s7 /device-s7 19:13:43 #17 DONE 0.2s 19:13:43 19:13:43 #18 [stage-1 6/7] COPY --from=builder /device-s7/cmd/res /res 19:13:43 #18 DONE 0.0s 19:13:43 19:13:43 #19 exporting to image 19:13:43 #19 exporting layers 19:13:43 #19 exporting layers 0.2s done 19:13:43 #19 writing image sha256:f3f3f96f81a2447818f336dc2a417cd98ac60eb14977acf67143f16e12676579 done 19:13:43 #19 naming to docker.io/library/device-s7 done 19:13:43 #19 DONE 0.2s [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:13:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:44 19:13:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:44 latest: Pulling from edgex-lftools-log-publisher 19:13:44 5eb5b503b376: Pulling fs layer 19:13:44 5c69ac0246d0: Pulling fs layer 19:13:44 ec43610c2a17: Pulling fs layer 19:13:44 3a2ae6a8a46f: Pulling fs layer 19:13:44 33b1e0a273af: Pulling fs layer 19:13:44 5d3b04190fa2: Pulling fs layer 19:13:44 2f39f015ded8: Pulling fs layer 19:13:44 33b1e0a273af: Waiting 19:13:44 5d3b04190fa2: Waiting 19:13:44 3a2ae6a8a46f: Waiting 19:13:44 2f39f015ded8: Waiting 19:13:44 3a2ae6a8a46f: Download complete 19:13:44 33b1e0a273af: Verifying Checksum 19:13:44 33b1e0a273af: Download complete 19:13:44 5d3b04190fa2: Verifying Checksum 19:13:44 5d3b04190fa2: Download complete 19:13:44 ec43610c2a17: Verifying Checksum 19:13:44 ec43610c2a17: Download complete 19:13:44 5eb5b503b376: Download complete 19:13:45 2f39f015ded8: Download complete 19:13:46 5eb5b503b376: Pull complete 19:13:46 5c69ac0246d0: Pull complete 19:13:47 ec43610c2a17: Pull complete 19:13:47 3a2ae6a8a46f: Pull complete 19:13:47 33b1e0a273af: Pull complete 19:13:48 5d3b04190fa2: Pull complete 19:13:54 2f39f015ded8: Pull complete 19:13:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:13:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:13:54 prd-ubuntu20.04-docker-8c-8g-7099 does not seem to be running inside a container 19:13:54 $ 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-62 -v /w/workspace/edgexfoundry_device-s7_PR-62:/w/workspace/edgexfoundry_device-s7_PR-62:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-62@tmp:/w/workspace/edgexfoundry_device-s7_PR-62@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:13:56 $ docker top 68b11fb6ccd03c3498c461c6fda42e766edb985076efa80d8cf3d3604e111f07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:13:56 ---> job-cost.sh 19:13:56 lf-activate-venv: SKIPPING 19:13:56 INFO: No Stack... 19:13:56 INFO: Retrieving Pricing Info for: v3-standard-8 19:13:57 INFO: Archiving Costs [Pipeline] sh 19:13:57 + cat /w/workspace/edgexfoundry_device-s7_PR-62/archives/cost.csv 19:13:57 + cut -d, -f6 [Pipeline] lock 19:13:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-62-1-stack-cost] 19:13:57 Resource [jenkins-edgexfoundry-device-s7-PR-62-1-stack-cost] did not exist. Created. 19:13:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-62-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:13:58 + echo total: 0.2199999988079071 [Pipeline] stash 19:13:58 Stashed 1 file(s) [Pipeline] } 19:13:58 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-62-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:13:58 $ docker stop --time=1 68b11fb6ccd03c3498c461c6fda42e766edb985076efa80d8cf3d3604e111f07 19:13:59 $ docker rm -f --volumes 68b11fb6ccd03c3498c461c6fda42e766edb985076efa80d8cf3d3604e111f07 [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:14:00 provisioning config files... 19:14:00 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-62@tmp/config3096790890515513825tmp [Pipeline] { [Pipeline] sh 19:14:00 + set +x 19:14:00 + curl -s https://codecov.io/bash 19:14:00 + bash -s -- 19:14:00 19:14:00 _____ _ 19:14:00 / ____| | | 19:14:00 | | ___ __| | ___ ___ _____ __ 19:14:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:14:00 | |___| (_) | (_| | __/ (_| (_) \ V / 19:14:00 \_____\___/ \__,_|\___|\___\___/ \_/ 19:14:00 Bash-1.0.6 19:14:00 19:14:00 19:14:00 ==> git version 2.25.1 found 19:14:00 ==> 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:14:00 Release-Date: 2020-01-08 19:14:00 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:14:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:14:00 ==> Jenkins CI detected. 19:14:00 current dir:  /w/workspace/edgexfoundry_device-s7_PR-62 19:14:00 project root: . 19:14:00 --> token set from env 19:14:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:14:00 ==> Running gcov in . (disable via -X gcov) 19:14:00 ==> Python coveragepy not found 19:14:00 ==> Searching for coverage reports in: 19:14:00 + . 19:14:00 -> Found 1 reports 19:14:00 ==> Detecting git/mercurial file structure 19:14:00 ==> Reading reports 19:14:00 + ./coverage.out bytes=19094 19:14:00 ==> Appending adjustments 19:14:00 https://docs.codecov.io/docs/fixing-reports 19:14:00 + Found adjustments 19:14:00 ==> Gzipping contents 19:14:00 4.0K /tmp/codecov.ypDTb5.gz 19:14:00 ==> Uploading reports 19:14:00 url: https://codecov.io 19:14:00 query: branch=PR-62&commit=6c2a5a1bcdb0adb50255d79965cfb327a95f7efb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=62&job=&cmd_args= 19:14:00 -> Pinging Codecov 19:14:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-62&commit=6c2a5a1bcdb0adb50255d79965cfb327a95f7efb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-62%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=62&job=&cmd_args= 19:14:00 -> Uploading to 19:14:00 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/6c2a5a1bcdb0adb50255d79965cfb327a95f7efb/4d1d09fc-2930-4837-b37c-50bce527d251.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250815%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250815T191400Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=6e22481ce164615384dfe5af6034a04bb76c603f83eb371441d6c2075d5abf7e 19:14:00 % Total % Received % Xferd Average Speed Time Time Time Current 19:14:00 Dload Upload Total Spent Left Speed 19:14:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 11085 --:--:-- --:--:-- --:--:-- 11085 19:14:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/6c2a5a1bcdb0adb50255d79965cfb327a95f7efb [Pipeline] } 19:14:01 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:14:03 + [ -d /w/workspace/edgexfoundry_device-s7_PR-62/archives ] 19:14:03 + ls -al /w/workspace/edgexfoundry_device-s7_PR-62/archives 19:14:03 total 16 19:14:03 drwxr-xr-x 3 root root 4096 Aug 15 19:13 . 19:14:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 19:13 .. 19:14:03 drwxr-xr-x 2 root root 4096 Aug 15 19:13 cost 19:14:03 -rw-r--r-- 1 root root 80 Aug 15 19:13 cost.csv 19:14:03 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-62/archives 19:14:03 + ls -al /w/workspace/edgexfoundry_device-s7_PR-62/archives 19:14:03 total 16 19:14:03 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 19:13 . 19:14:03 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 19:13 .. 19:14:03 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 19:13 cost 19:14:03 -rw-r--r-- 1 jenkins jenkins 80 Aug 15 19:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:14:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:14:04 ---> package-listing.sh 19:14:04 ++ facter osfamily 19:14:04 ++ tr '[:upper:]' '[:lower:]' 19:14:04 + OS_FAMILY=debian 19:14:04 + workspace=/w/workspace/edgexfoundry_device-s7_PR-62 19:14:04 + START_PACKAGES=/tmp/packages_start.txt 19:14:04 + END_PACKAGES=/tmp/packages_end.txt 19:14:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:14:04 + PACKAGES=/tmp/packages_start.txt 19:14:04 + '[' /w/workspace/edgexfoundry_device-s7_PR-62 ']' 19:14:04 + PACKAGES=/tmp/packages_end.txt 19:14:04 + case "${OS_FAMILY}" in 19:14:04 + dpkg -l 19:14:04 + grep '^ii' 19:14:04 + '[' -f /tmp/packages_start.txt ']' 19:14:04 + '[' -f /tmp/packages_end.txt ']' 19:14:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:14:04 + '[' /w/workspace/edgexfoundry_device-s7_PR-62 ']' 19:14:04 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-62/archives/ 19:14:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-62/archives/ [Pipeline] echo 19:14:04 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-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:14:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:14:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:14:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:14:05 prd-ubuntu20.04-docker-8c-8g-7099 does not seem to be running inside a container 19:14:05 $ 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-62/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-62 -v /w/workspace/edgexfoundry_device-s7_PR-62:/w/workspace/edgexfoundry_device-s7_PR-62:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-62@tmp:/w/workspace/edgexfoundry_device-s7_PR-62@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 19:14:06 $ docker top 123c1ff31ea27349ab523327c3e14bb8c0aefabd3500a88ec2b56f232fce0f80 -eo pid,comm [Pipeline] { [Pipeline] sh 19:14:06 + touch /tmp/pre-build-complete [Pipeline] sh 19:14:06 + mkdir -p /var/log/sysstat [Pipeline] sh 19:14:07 + ls /var/log/sa-host 19:14:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:14:07 provisioning config files... 19:14:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-62@tmp/config16827123007096991306tmp [Pipeline] { [Pipeline] echo 19:14:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:14:07 ---> create-netrc.sh [Pipeline] } 19:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:14:08 ---> python-tools-install.sh [Pipeline] echo 19:14:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:14:08 ---> sudo-logs.sh 19:14:08 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:14:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:14:09 ---> job-cost.sh 19:14:09 lf-activate-venv: SKIPPING 19:14:09 DEBUG: total: 0.2199999988079071 19:14:09 INFO: Retrieving Stack Cost... 19:14:09 INFO: Retrieving Pricing Info for: v3-standard-8 19:14:09 INFO: Archiving Costs [Pipeline] echo 19:14:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:14:09 ---> logs-deploy.sh 19:14:09 lf-activate-venv: SKIPPING 19:14:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-62/1 19:14:09 INFO: archiving workspace using pattern(s): 19:14:10 Archives upload complete. 19:14:10 INFO: archiving logs to Nexus