Pull request #102 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d049831f9b0dc3c70ea689b8a7826885a0faed37+78ec4fc559f74e4dfd909a8ca368151eb1e8d8e3 (440195ca821523fe97a5ccaf5ee4cb902638077e) 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-ssh10953344922319420350.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-ssh11405864399205401038.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-opc-ua/branches/PR-102/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-opc-ua/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1540142312884771365.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-opc-ua/branches/PR-102/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15420822107239969985.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-ssh7237492767791415365.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-opc-ua/branches/PR-102/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-opc-ua/branches/PR-102/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6991490474105539736.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-opc-ua] ========================================================= [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-opc-ua-settings PROJECT: device-opc-ua 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-opc-ua DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-36643’ is offline Running on prd-ubuntu20.04-docker-8c-8g-36645 in /w/workspace/dgexfoundry_device-opc-ua_PR-102 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-opc-ua.git > git init /w/workspace/dgexfoundry_device-opc-ua_PR-102 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-opc-ua.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-opc-ua.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-opc-ua.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 78ec4fc559f74e4dfd909a8ca368151eb1e8d8e3 into PR head commit d049831f9b0dc3c70ea689b8a7826885a0faed37 Merge succeeded, producing d049831f9b0dc3c70ea689b8a7826885a0faed37 Checking out Revision d049831f9b0dc3c70ea689b8a7826885a0faed37 (PR-102) 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-opc-ua.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-opc-ua.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-opc-ua.git +refs/pull/102/head:refs/remotes/origin/PR-102 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d049831f9b0dc3c70ea689b8a7826885a0faed37 # 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 78ec4fc559f74e4dfd909a8ca368151eb1e8d8e3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d049831f9b0dc3c70ea689b8a7826885a0faed37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:22:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:22:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:22:54 ========================================================= 19:22:54 EdgeX Global Pipelines Version Info 19:22:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:22:55 ------------------- 19:22:55 stable info: 19:22:55 ------------------- 19:22:55 Commited By: Cherry Wang cherry@iotechsys.com 19:22:55 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 19:22:55 Message: update stable to v1.0.269 19:22:56 ------------------- 19:22:56 experimental info: 19:22:56 ------------------- 19:22:56 Commited By: **** collab-it+edgex@linuxfoundation.org 19:22:56 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 19:22:56 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-opc-ua-settings [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-opc-ua [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-opc-ua [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:22:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-102 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-102 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-102 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d049831f9b0dc3c70ea689b8a7826885a0faed37 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d049831 [Pipeline] echo 19:22:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:58 provisioning config files... 19:22:58 copy managed file [device-opc-ua-settings] to file:/w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/config5561806085545850549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:58 ---> ****-login.sh 19:22:58 nexus3.edgexfoundry.org:10001 19:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:22:58 Configure a credential helper to remove this warning. See 19:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:22:58 19:22:58 Login Succeeded 19:22:58 nexus3.edgexfoundry.org:10002 19:22:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:22:58 Configure a credential helper to remove this warning. See 19:22:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:22:58 19:22:58 Login Succeeded 19:22:58 nexus3.edgexfoundry.org:10003 19:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:22:59 Configure a credential helper to remove this warning. See 19:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:22:59 19:22:59 Login Succeeded 19:22:59 nexus3.edgexfoundry.org:10004 19:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:22:59 Configure a credential helper to remove this warning. See 19:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:22:59 19:22:59 Login Succeeded 19:22:59 ****.io 19:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:22:59 Configure a credential helper to remove this warning. See 19:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:22:59 19:22:59 Login Succeeded 19:22:59 ---> ****-login.sh ends [Pipeline] } 19:22:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:23:00 + git rev-list -1 --merges d049831f9b0dc3c70ea689b8a7826885a0faed37~1..d049831f9b0dc3c70ea689b8a7826885a0faed37 [Pipeline] echo 19:23:00 -----------> git rev-list -1 --merges d049831f9b0dc3c70ea689b8a7826885a0faed37~1..d049831f9b0dc3c70ea689b8a7826885a0faed37 d049831f9b0dc3c70ea689b8a7826885a0faed37 [false] [Pipeline] sh 19:23:00 + git log --format=format:%s -1 d049831f9b0dc3c70ea689b8a7826885a0faed37 [Pipeline] echo 19:23:00 ========================================================= 19:23:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:23:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:23:00 + git log --format=format:%s -1 d049831f9b0dc3c70ea689b8a7826885a0faed37 [Pipeline] echo 19:23:00 [semverPrep] GIT_COMMIT: d049831f9b0dc3c70ea689b8a7826885a0faed37, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 19:23:00 [semverPrep] This is not a build commit. [Pipeline] sh 19:23:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:23:01 + grep -v github /etc/ssh/ssh_known_hosts 19:23:01 + [ -e /tmp/ssh_known_hosts ] 19:23:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:23:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:23:01 + sudo tee -a /etc/ssh/ssh_known_hosts 19:23:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:01 19:23:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:02 0.1.4: Pulling from edgex-devops/py-git-semver 19:23:02 b85a868b505f: Pulling fs layer 19:23:02 e2be974225ed: Pulling fs layer 19:23:02 339a4e72a1f5: Pulling fs layer 19:23:02 988bab9f4d93: Pulling fs layer 19:23:02 1469e6f7b9e6: Pulling fs layer 19:23:02 eaf3925da568: Pulling fs layer 19:23:02 bab4dde63d76: Pulling fs layer 19:23:02 bde34c3a00c8: Pulling fs layer 19:23:02 eaf3925da568: Waiting 19:23:02 b352a97aabf1: Pulling fs layer 19:23:02 1469e6f7b9e6: Waiting 19:23:02 988bab9f4d93: Waiting 19:23:02 4872d77fe225: Pulling fs layer 19:23:02 bab4dde63d76: Waiting 19:23:02 5851b861e8e6: Pulling fs layer 19:23:02 b352a97aabf1: Waiting 19:23:02 4872d77fe225: Waiting 19:23:02 5851b861e8e6: Waiting 19:23:02 e2be974225ed: Download complete 19:23:02 988bab9f4d93: Verifying Checksum 19:23:02 988bab9f4d93: Download complete 19:23:02 1469e6f7b9e6: Verifying Checksum 19:23:02 1469e6f7b9e6: Download complete 19:23:02 eaf3925da568: Verifying Checksum 19:23:02 eaf3925da568: Download complete 19:23:02 339a4e72a1f5: Verifying Checksum 19:23:02 339a4e72a1f5: Download complete 19:23:02 bde34c3a00c8: Download complete 19:23:02 b352a97aabf1: Verifying Checksum 19:23:02 b352a97aabf1: Download complete 19:23:02 4872d77fe225: Verifying Checksum 19:23:02 4872d77fe225: Download complete 19:23:02 5851b861e8e6: Verifying Checksum 19:23:02 5851b861e8e6: Download complete 19:23:02 b85a868b505f: Verifying Checksum 19:23:02 b85a868b505f: Download complete 19:23:02 bab4dde63d76: Verifying Checksum 19:23:02 bab4dde63d76: Download complete 19:23:03 b85a868b505f: Pull complete 19:23:03 e2be974225ed: Pull complete 19:23:04 339a4e72a1f5: Pull complete 19:23:04 988bab9f4d93: Pull complete 19:23:04 1469e6f7b9e6: Pull complete 19:23:04 eaf3925da568: Pull complete 19:23:06 bab4dde63d76: Pull complete 19:23:06 bde34c3a00c8: Pull complete 19:23:06 b352a97aabf1: Pull complete 19:23:06 4872d77fe225: Pull complete 19:23:06 5851b861e8e6: Pull complete 19:23:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:23:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:07 prd-ubuntu20.04-docker-8c-8g-36645 does not seem to be running inside a container 19:23:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-opc-ua_PR-102 -v /w/workspace/dgexfoundry_device-opc-ua_PR-102:/w/workspace/dgexfoundry_device-opc-ua_PR-102:rw,z -v /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp:/w/workspace/dgexfoundry_device-opc-ua_PR-102@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:23:09 $ docker top 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb -eo pid,comm 19:23:09 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:23:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:23:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:23:09 [ssh-agent] Looking for ssh-agent implementation... 19:23:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:23:09 $ docker exec 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb ssh-agent 19:23:10 SSH_AUTH_SOCK=/tmp/ssh-7CwoWbVvhOEz/agent.32 19:23:10 SSH_AGENT_PID=38 19:23:10 Running ssh-add (command line suppressed) 19:23:10 Identity added: /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/private_key_17155345292564482945.key (/w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/private_key_17155345292564482945.key) 19:23:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:23:10 + git tag --points-at HEAD [Pipeline] } 19:23:10 $ docker exec --env ******** --env ******** 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb ssh-agent -k 19:23:10 unset SSH_AUTH_SOCK; 19:23:10 unset SSH_AGENT_PID; 19:23:10 echo Agent pid 38 killed; 19:23:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:23:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:23:10 [ssh-agent] Looking for ssh-agent implementation... 19:23:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:23:10 $ docker exec 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb ssh-agent 19:23:10 SSH_AUTH_SOCK=/tmp/ssh-VXPTKtJhmTOP/agent.71 19:23:10 SSH_AGENT_PID=77 19:23:10 Running ssh-add (command line suppressed) 19:23:11 Identity added: /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/private_key_16572843440300487639.key (/w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/private_key_16572843440300487639.key) 19:23:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:23:11 + git semver init 19:23:11 2025-01-13 19:23:11,683 [run_init] DEBUG init version:0.0.0 force:False 19:23:11 2025-01-13 19:23:11,684 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver 19:23:11 2025-01-13 19:23:11,684 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-opc-ua.git /w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver 19:23:11 2025-01-13 19:23:11,685 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-opc-ua.git', '/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver'], cwd=/w/workspace/dgexfoundry_device-opc-ua_PR-102, universal_newlines=False, shell=None, istream=None) 19:23:12 2025-01-13 19:23:12,329 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-opc-ua_PR-102/.git/info/exclude 19:23:12 2025-01-13 19:23:12,330 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver/PR-102 with force:False 19:23:12 2025-01-13 19:23:12,330 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver/PR-102 19:23:12 2025-01-13 19:23:12,335 [execute] INFO git cat-file --batch-check 19:23:12 2025-01-13 19:23:12,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver, universal_newlines=False, shell=None, istream=) 19:23:12 2025-01-13 19:23:12,342 [execute] INFO git cat-file --batch 19:23:12 2025-01-13 19:23:12,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver, universal_newlines=False, shell=None, istream=) 19:23:12 2025-01-13 19:23:12,347 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-opc-ua_PR-102/.semver/PR-102 19:23:12 0.0.0 [Pipeline] } 19:23:12 $ docker exec --env ******** --env ******** 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb ssh-agent -k 19:23:12 unset SSH_AUTH_SOCK; 19:23:12 unset SSH_AGENT_PID; 19:23:12 echo Agent pid 77 killed; 19:23:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:23:13 + git semver [Pipeline] } 19:23:13 $ docker stop --time=1 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb 19:23:14 $ docker rm -f --volumes 26d53b022a6920cb05b425ca84acdccee9eabc755f9f5f3425c1e9f306f0f7eb [Pipeline] // withDockerContainer [Pipeline] sh 19:23:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:23:15 Stashed 1 file(s) [Pipeline] echo 19:23:15 [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:23:16 provisioning config files... 19:23:16 copy managed file [device-opc-ua-settings] to file:/w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/config13209602996403784422tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 19:23:17 ---> ****-login.sh 19:23:17 nexus3.edgexfoundry.org:10001 19:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:23:17 Configure a credential helper to remove this warning. See 19:23:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:23:17 19:23:17 Login Succeeded 19:23:17 nexus3.edgexfoundry.org:10002 19:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:23:17 Configure a credential helper to remove this warning. See 19:23:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:23:17 19:23:17 Login Succeeded 19:23:17 nexus3.edgexfoundry.org:10003 19:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:23:17 Configure a credential helper to remove this warning. See 19:23:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:23:17 19:23:17 Login Succeeded 19:23:17 nexus3.edgexfoundry.org:10004 19:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:23:17 Configure a credential helper to remove this warning. See 19:23:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:23:17 19:23:17 Login Succeeded 19:23:17 ****.io 19:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 19:23:17 Configure a credential helper to remove this warning. See 19:23:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 19:23:17 19:23:17 Login Succeeded 19:23:17 ---> ****-login.sh ends [Pipeline] } 19:23:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:23:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:23:17 ========================================================= 19:23:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 19:23:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:18 + 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:23:18 Sending build context to Docker daemon 856.1kB 19:23:18 Step 1/5 : FROM golang:1.23-alpine3.20 AS builder 19:23:18 1.23-alpine3.20: Pulling from library/golang 19:23:19 66a3d608f3fa: Pulling fs layer 19:23:19 3fbe7652777a: Pulling fs layer 19:23:19 06f05ace1117: Pulling fs layer 19:23:19 bda4308841a6: Pulling fs layer 19:23:19 4f4fb700ef54: Pulling fs layer 19:23:19 bda4308841a6: Waiting 19:23:19 4f4fb700ef54: Waiting 19:23:19 3fbe7652777a: Verifying Checksum 19:23:19 66a3d608f3fa: Verifying Checksum 19:23:19 66a3d608f3fa: Download complete 19:23:19 bda4308841a6: Verifying Checksum 19:23:19 bda4308841a6: Download complete 19:23:19 4f4fb700ef54: Verifying Checksum 19:23:19 4f4fb700ef54: Download complete 19:23:19 66a3d608f3fa: Pull complete 19:23:19 3fbe7652777a: Pull complete 19:23:20 06f05ace1117: Verifying Checksum 19:23:20 06f05ace1117: Download complete 19:23:24 06f05ace1117: Pull complete 19:23:24 bda4308841a6: Pull complete 19:23:24 4f4fb700ef54: Pull complete 19:23:24 Digest: sha256:6a84ccdb73e005d0ee7bfff6066f230612ca9dff3e88e31bfc752523c3a271f8 19:23:24 Status: Downloaded newer image for golang:1.23-alpine3.20 19:23:24 ---> 5ad11ca62bce 19:23:24 Step 2/5 : WORKDIR /device-opcua 19:23:25 ---> Running in b477329700c4 19:23:25 Removing intermediate container b477329700c4 19:23:25 ---> d6bd135f97f7 19:23:25 Step 3/5 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 19:23:25 ---> Running in e9626ecd137a 19:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:23:26 v3.20.5-12-gd1bff4aa572 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] 19:23:26 v3.20.5-12-gd1bff4aa572 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] 19:23:26 OK: 24170 distinct packages available 19:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:23:26 (1/30) Installing libgcc (13.2.1_git20240309-r0) 19:23:26 (2/30) Installing jansson (2.14-r4) 19:23:26 (3/30) Installing libstdc++ (13.2.1_git20240309-r0) 19:23:26 (4/30) Installing zstd-libs (1.5.6-r0) 19:23:26 (5/30) Installing binutils (2.42-r0) 19:23:27 (6/30) Installing libgomp (13.2.1_git20240309-r0) 19:23:27 (7/30) Installing libatomic (13.2.1_git20240309-r0) 19:23:27 (8/30) Installing gmp (6.3.0-r1) 19:23:27 (9/30) Installing isl26 (0.26-r1) 19:23:27 (10/30) Installing mpfr4 (4.2.1-r0) 19:23:27 (11/30) Installing mpc1 (1.3.1-r1) 19:23:27 (12/30) Installing gcc (13.2.1_git20240309-r0) 19:23:27 (13/30) Installing brotli-libs (1.1.0-r2) 19:23:27 (14/30) Installing c-ares (1.33.1-r0) 19:23:27 (15/30) Installing libunistring (1.2-r0) 19:23:27 (16/30) Installing libidn2 (2.3.7-r0) 19:23:27 (17/30) Installing nghttp2-libs (1.62.1-r0) 19:23:27 (18/30) Installing libpsl (0.21.5-r1) 19:23:27 (19/30) Installing libcurl (8.11.1-r0) 19:23:27 (20/30) Installing libexpat (2.6.4-r0) 19:23:27 (21/30) Installing pcre2 (10.43-r0) 19:23:27 (22/30) Installing git (2.45.2-r0) 19:23:27 (23/30) Installing git-init-template (2.45.2-r0) 19:23:27 (24/30) Installing make (4.4.1-r2) 19:23:27 (25/30) Installing musl-dev (1.2.5-r0) 19:23:27 (26/30) Installing pkgconf (2.2.0-r0) 19:23:27 (27/30) Installing libsodium (1.0.19-r0) 19:23:27 (28/30) Installing libzmq (4.3.5-r2) 19:23:27 (29/30) Installing libsodium-dev (1.0.19-r0) 19:23:27 (30/30) Installing zeromq-dev (4.3.5-r2) 19:23:27 Executing busybox-1.36.1-r29.trigger 19:23:27 OK: 171 MiB in 45 packages 19:23:31 Removing intermediate container e9626ecd137a 19:23:31 ---> 8a2239dfeddb 19:23:31 Step 4/5 : COPY . . 19:23:31 ---> 54dda6aa821b 19:23:31 Step 5/5 : RUN make build 19:23:31 ---> Running in 99f9346abcee 19:23:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.17 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 19:23:31 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.17 19:23:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.19 19:23:31 go: downloading github.com/gopcua/opcua v0.5.3 19:23:31 go: downloading github.com/spf13/cast v1.7.1 19:23:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.17 19:23:31 go: downloading github.com/labstack/echo/v4 v4.13.3 19:23:31 go: downloading github.com/go-kit/log v0.2.1 19:23:31 go: downloading github.com/go-playground/validator/v10 v10.23.0 19:23:31 go: downloading github.com/google/uuid v1.6.0 19:23:31 go: downloading github.com/panjf2000/ants/v2 v2.11.0 19:23:31 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 19:23:31 go: downloading golang.org/x/net v0.34.0 19:23:31 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:23:31 go: downloading github.com/go-logfmt/logfmt v0.5.1 19:23:31 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 19:23:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.10 19:23:31 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:23:31 go: downloading gopkg.in/yaml.v3 v3.0.1 19:23:31 go: downloading github.com/mitchellh/mapstructure v1.5.0 19:23:31 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.3 19:23:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 19:23:31 go: downloading github.com/sirupsen/logrus v1.9.3 19:23:31 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 19:23:31 go: downloading github.com/openziti/sdk-golang v0.23.44 19:23:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.5 19:23:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.10 19:23:31 go: downloading github.com/mitchellh/copystructure v1.2.0 19:23:31 go: downloading github.com/labstack/gommon v0.4.2 19:23:31 go: downloading golang.org/x/crypto v0.32.0 19:23:31 go: downloading golang.org/x/sync v0.10.0 19:23:31 go: downloading github.com/x448/float16 v0.8.4 19:23:31 go: downloading github.com/hashicorp/errwrap v1.1.0 19:23:32 go: downloading github.com/valyala/fasttemplate v1.2.2 19:23:32 go: downloading golang.org/x/time v0.8.0 19:23:32 go: downloading golang.org/x/sys v0.29.0 19:23:32 go: downloading github.com/gorilla/websocket v1.5.3 19:23:32 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 19:23:32 go: downloading github.com/go-playground/universal-translator v0.18.1 19:23:32 go: downloading github.com/leodido/go-urn v1.4.0 19:23:32 go: downloading golang.org/x/text v0.21.0 19:23:32 go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 19:23:32 go: downloading github.com/michaelquigley/pfxlog v0.6.10 19:23:32 go: downloading github.com/openziti/channel/v3 v3.0.4 19:23:32 go: downloading github.com/openziti/edge-api v0.26.34 19:23:32 go: downloading github.com/openziti/foundation/v2 v2.0.49 19:23:32 go: downloading github.com/openziti/secretstream v0.1.25 19:23:32 go: downloading github.com/openziti/transport/v2 v2.0.146 19:23:32 go: downloading github.com/pkg/errors v0.9.1 19:23:32 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 19:23:32 go: downloading github.com/mitchellh/reflectwalk v1.0.2 19:23:32 go: downloading github.com/mattn/go-colorable v0.1.13 19:23:32 go: downloading github.com/mattn/go-isatty v0.0.20 19:23:32 go: downloading github.com/go-openapi/runtime v0.28.0 19:23:32 go: downloading github.com/go-openapi/strfmt v0.23.0 19:23:32 go: downloading github.com/go-resty/resty/v2 v2.15.3 19:23:32 go: downloading github.com/openziti/identity v1.0.85 19:23:32 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 19:23:32 go: downloading github.com/zitadel/oidc/v2 v2.12.2 19:23:32 go: downloading golang.org/x/oauth2 v0.23.0 19:23:32 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 19:23:32 go: downloading github.com/kataras/go-events v0.0.3 19:23:32 go: downloading github.com/openziti/metrics v1.2.58 19:23:32 go: downloading github.com/valyala/bytebufferpool v1.0.0 19:23:32 go: downloading github.com/go-playground/locales v0.14.1 19:23:32 go: downloading github.com/zeebo/errs v1.3.0 19:23:32 go: downloading google.golang.org/grpc v1.67.1 19:23:32 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 19:23:32 go: downloading github.com/golang/protobuf v1.5.4 19:23:32 go: downloading google.golang.org/protobuf v1.34.2 19:23:33 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 19:23:33 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 19:23:33 go: downloading github.com/go-openapi/errors v0.22.0 19:23:33 go: downloading github.com/oklog/ulid v1.3.1 19:23:33 go: downloading go.mongodb.org/mongo-driver v1.17.0 19:23:33 go: downloading github.com/go-openapi/swag v0.23.0 19:23:33 go: downloading github.com/opentracing/opentracing-go v1.2.0 19:23:33 go: downloading go.opentelemetry.io/otel v1.29.0 19:23:33 go: downloading go.opentelemetry.io/otel/trace v1.29.0 19:23:33 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 19:23:33 go: downloading github.com/go-openapi/validate v0.24.0 19:23:33 go: downloading github.com/fsnotify/fsnotify v1.7.0 19:23:33 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 19:23:33 go: downloading github.com/gorilla/securecookie v1.1.2 19:23:33 go: downloading github.com/mitchellh/go-ps v1.0.0 19:23:33 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 19:23:33 go: downloading github.com/gorilla/schema v1.4.1 19:23:33 go: downloading github.com/muhlemmer/gu v0.3.1 19:23:33 go: downloading github.com/go-jose/go-jose/v4 v4.0.4 19:23:33 go: downloading golang.org/x/term v0.28.0 19:23:33 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 19:23:33 go: downloading github.com/go-openapi/analysis v0.23.0 19:23:33 go: downloading github.com/go-openapi/loads v0.22.0 19:23:33 go: downloading github.com/go-openapi/spec v0.21.0 19:23:33 go: downloading github.com/mailru/easyjson v0.7.7 19:23:33 go: downloading github.com/go-logr/logr v1.4.2 19:23:33 go: downloading go.opentelemetry.io/otel/metric v1.29.0 19:23:33 go: downloading github.com/go-openapi/jsonpointer v0.21.0 19:23:33 go: downloading github.com/tklauser/go-sysconf v0.3.12 19:23:33 go: downloading github.com/josharian/intern v1.0.0 19:23:33 go: downloading github.com/go-logr/stdr v1.2.2 19:23:33 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 19:23:33 go: downloading github.com/go-openapi/jsonreference v0.21.0 19:23:33 go: downloading github.com/tklauser/numcpus v0.6.1 19:24:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:24:15 Removing intermediate container 99f9346abcee 19:24:15 ---> e8971b50b468 19:24:15 [Warning] One or more build-args [BASE MAKE] were not consumed 19:24:15 Successfully built e8971b50b468 19:24:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:15 + docker inspect -f . ci-base-image-x86_64 19:24:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:16 prd-ubuntu20.04-docker-8c-8g-36645 does not seem to be running inside a container 19:24:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-opc-ua_PR-102 -v /w/workspace/dgexfoundry_device-opc-ua_PR-102:/w/workspace/dgexfoundry_device-opc-ua_PR-102:rw,z -v /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp:/w/workspace/dgexfoundry_device-opc-ua_PR-102@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:24:16 $ docker top 9a1fa1482df6d77dd33d4372d5053929070697a4da01311af74637d505c35e54 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:16 + go version 19:24:16 go version go1.23.4 linux/amd64 [Pipeline] } 19:24:16 $ docker stop --time=1 9a1fa1482df6d77dd33d4372d5053929070697a4da01311af74637d505c35e54 19:24:18 $ docker rm -f --volumes 9a1fa1482df6d77dd33d4372d5053929070697a4da01311af74637d505c35e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:24:18 + docker inspect -f . ci-base-image-x86_64 19:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:24:19 prd-ubuntu20.04-docker-8c-8g-36645 does not seem to be running inside a container 19:24:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_device-opc-ua_PR-102 -v /w/workspace/dgexfoundry_device-opc-ua_PR-102:/w/workspace/dgexfoundry_device-opc-ua_PR-102:rw,z -v /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp:/w/workspace/dgexfoundry_device-opc-ua_PR-102@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:24:19 $ docker top 723fc8da38f262fd858b3aa3bfbd4bb16c81d1f7321ae33800ef1c9c33f7bc36 -eo pid,comm [Pipeline] { [Pipeline] sh 19:24:19 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-opc-ua_PR-102 [Pipeline] fileExists [Pipeline] sh 19:24:20 + make test 19:24:20 go install github.com/jstemmer/go-junit-report@v0.9.1 19:24:20 go: downloading github.com/jstemmer/go-junit-report v0.9.1 19:24:25 go install github.com/axw/gocov/gocov@v1.0.0 19:24:25 go: downloading github.com/axw/gocov v1.0.0 19:24:27 go: downloading golang.org/x/tools v0.0.0-20190617190820-da514acc4774 19:24:29 go install github.com/AlekSi/gocov-xml@v1.0.0 19:24:29 go: downloading github.com/AlekSi/gocov-xml v1.0.0 19:24:32 go install github.com/jandelgado/gcov2lcov@v1.0.5 19:24:32 go: downloading github.com/jandelgado/gcov2lcov v1.0.5 19:24:35 rm -rf test-artifacts 19:24:35 mkdir test-artifacts 19:24:35 go test -v ./... -coverprofile=test-artifacts/cover.out | go-junit-report > test-artifacts/report.xml 19:24:35 go: downloading github.com/stretchr/testify v1.10.0 19:24:35 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 19:24:35 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 19:24:58 gocov convert test-artifacts/cover.out | gocov-xml > test-artifacts/coverage.xml 19:24:58 gcov2lcov -infile=test-artifacts/cover.out -outfile=test-artifacts/coverage.lcov [Pipeline] echo 19:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:24:58 $ docker stop --time=1 723fc8da38f262fd858b3aa3bfbd4bb16c81d1f7321ae33800ef1c9c33f7bc36 19:25:01 $ docker rm -f --volumes 723fc8da38f262fd858b3aa3bfbd4bb16c81d1f7321ae33800ef1c9c33f7bc36 [Pipeline] // withDockerContainer [Pipeline] sh 19:25:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:25:02 Stashed 0 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:25:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:03 + ls -al . 19:25:03 total 192 19:25:03 drwxrwxr-x 10 jenkins jenkins 4096 Jan 13 19:24 . 19:25:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 19:22 .. 19:25:03 -rw-rw-r-- 1 jenkins jenkins 62 Jan 13 19:22 .dockerignore 19:25:03 drwxrwxr-x 8 jenkins jenkins 4096 Jan 13 19:24 .git 19:25:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 19:22 .github 19:25:03 -rw-rw-r-- 1 jenkins jenkins 84 Jan 13 19:22 .gitignore 19:25:03 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 19:23 .semver 19:25:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 19:22 .vscode 19:25:03 -rw-rw-r-- 1 jenkins jenkins 7466 Jan 13 19:22 Attribution.txt 19:25:03 -rw-rw-r-- 1 jenkins jenkins 1125 Jan 13 19:22 Dockerfile 19:25:03 -rw-rw-r-- 1 jenkins jenkins 649 Jan 13 19:22 Jenkinsfile 19:25:03 -rw-rw-r-- 1 jenkins jenkins 11367 Jan 13 19:22 LICENSE 19:25:03 -rw-rw-r-- 1 jenkins jenkins 2185 Jan 13 19:22 Makefile 19:25:03 -rw-rw-r-- 1 jenkins jenkins 4182 Jan 13 19:22 README.md 19:25:03 -rw-rw-r-- 1 jenkins jenkins 5 Jan 13 19:23 VERSION 19:25:03 drwxrwxr-x 2 jenkins jenkins 4096 Jan 13 19:22 bin 19:25:03 drwxrwxr-x 3 jenkins jenkins 4096 Jan 13 19:22 cmd 19:25:03 -rw-rw-r-- 1 jenkins jenkins 6337 Jan 13 19:22 go.mod 19:25:03 -rw-rw-r-- 1 jenkins jenkins 86970 Jan 13 19:22 go.sum 19:25:03 drwxrwxr-x 4 jenkins jenkins 4096 Jan 13 19:22 internal 19:25:03 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 19:24 test-artifacts 19:25:03 -rw-rw-r-- 1 jenkins jenkins 260 Jan 13 19:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:03 + docker build -t device-opc-ua -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d049831f9b0dc3c70ea689b8a7826885a0faed37 --label arch=amd64 --label version=0.0.0 . 19:25:03 Sending build context to Docker daemon 873.5kB 19:25:03 Step 1/19 : FROM golang:1.23-alpine3.20 AS builder 19:25:03 ---> 5ad11ca62bce 19:25:03 Step 2/19 : WORKDIR /device-opcua 19:25:03 ---> Using cache 19:25:03 ---> d6bd135f97f7 19:25:03 Step 3/19 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 19:25:03 ---> Using cache 19:25:03 ---> 8a2239dfeddb 19:25:03 Step 4/19 : COPY . . 19:25:04 ---> 41ef21a5c81b 19:25:04 Step 5/19 : RUN make build 19:25:04 ---> Running in dca77412e4ba 19:25:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.17 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 19:25:04 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.17 19:25:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.19 19:25:04 go: downloading github.com/gopcua/opcua v0.5.3 19:25:04 go: downloading github.com/spf13/cast v1.7.1 19:25:04 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.17 19:25:04 go: downloading github.com/labstack/echo/v4 v4.13.3 19:25:04 go: downloading github.com/google/uuid v1.6.0 19:25:04 go: downloading github.com/panjf2000/ants/v2 v2.11.0 19:25:04 go: downloading github.com/go-playground/validator/v10 v10.23.0 19:25:04 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 19:25:04 go: downloading github.com/go-kit/log v0.2.1 19:25:04 go: downloading golang.org/x/net v0.34.0 19:25:04 go: downloading github.com/OneOfOne/xxhash v1.2.8 19:25:04 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 19:25:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.10 19:25:04 go: downloading github.com/hashicorp/go-multierror v1.1.1 19:25:04 go: downloading gopkg.in/yaml.v3 v3.0.1 19:25:04 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.3 19:25:04 go: downloading github.com/sirupsen/logrus v1.9.3 19:25:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.5 19:25:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 19:25:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.10 19:25:04 go: downloading github.com/mitchellh/mapstructure v1.5.0 19:25:04 go: downloading github.com/mitchellh/copystructure v1.2.0 19:25:04 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 19:25:04 go: downloading github.com/openziti/sdk-golang v0.23.44 19:25:04 go: downloading github.com/labstack/gommon v0.4.2 19:25:04 go: downloading golang.org/x/crypto v0.32.0 19:25:04 go: downloading golang.org/x/sync v0.10.0 19:25:04 go: downloading github.com/go-logfmt/logfmt v0.5.1 19:25:04 go: downloading github.com/x448/float16 v0.8.4 19:25:04 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 19:25:04 go: downloading github.com/go-playground/universal-translator v0.18.1 19:25:04 go: downloading github.com/leodido/go-urn v1.4.0 19:25:04 go: downloading golang.org/x/text v0.21.0 19:25:04 go: downloading github.com/hashicorp/errwrap v1.1.0 19:25:05 go: downloading golang.org/x/sys v0.29.0 19:25:05 go: downloading github.com/spiffe/go-spiffe/v2 v2.4.0 19:25:05 go: downloading github.com/valyala/fasttemplate v1.2.2 19:25:05 go: downloading golang.org/x/time v0.8.0 19:25:05 go: downloading github.com/gorilla/websocket v1.5.3 19:25:05 go: downloading github.com/mitchellh/reflectwalk v1.0.2 19:25:05 go: downloading github.com/mattn/go-colorable v0.1.13 19:25:05 go: downloading github.com/mattn/go-isatty v0.0.20 19:25:05 go: downloading github.com/michaelquigley/pfxlog v0.6.10 19:25:05 go: downloading github.com/openziti/channel/v3 v3.0.4 19:25:05 go: downloading github.com/openziti/edge-api v0.26.34 19:25:05 go: downloading github.com/openziti/foundation/v2 v2.0.49 19:25:05 go: downloading github.com/openziti/secretstream v0.1.25 19:25:05 go: downloading github.com/openziti/transport/v2 v2.0.146 19:25:05 go: downloading github.com/pkg/errors v0.9.1 19:25:05 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 19:25:05 go: downloading github.com/go-playground/locales v0.14.1 19:25:05 go: downloading github.com/go-openapi/runtime v0.28.0 19:25:05 go: downloading github.com/go-resty/resty/v2 v2.15.3 19:25:05 go: downloading github.com/go-openapi/strfmt v0.23.0 19:25:05 go: downloading github.com/openziti/identity v1.0.85 19:25:05 go: downloading github.com/zitadel/oidc/v2 v2.12.2 19:25:05 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 19:25:05 go: downloading golang.org/x/oauth2 v0.23.0 19:25:05 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 19:25:05 go: downloading github.com/kataras/go-events v0.0.3 19:25:05 go: downloading github.com/openziti/metrics v1.2.58 19:25:05 go: downloading github.com/valyala/bytebufferpool v1.0.0 19:25:05 go: downloading github.com/zeebo/errs v1.3.0 19:25:05 go: downloading google.golang.org/grpc v1.67.1 19:25:05 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 19:25:05 go: downloading github.com/golang/protobuf v1.5.4 19:25:05 go: downloading google.golang.org/protobuf v1.34.2 19:25:06 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 19:25:06 go: downloading github.com/go-openapi/errors v0.22.0 19:25:06 go: downloading github.com/go-openapi/swag v0.23.0 19:25:06 go: downloading github.com/opentracing/opentracing-go v1.2.0 19:25:06 go: downloading go.opentelemetry.io/otel v1.29.0 19:25:06 go: downloading go.opentelemetry.io/otel/trace v1.29.0 19:25:06 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 19:25:06 go: downloading github.com/oklog/ulid v1.3.1 19:25:06 go: downloading go.mongodb.org/mongo-driver v1.17.0 19:25:06 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 19:25:06 go: downloading github.com/fsnotify/fsnotify v1.7.0 19:25:06 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 19:25:06 go: downloading github.com/go-openapi/validate v0.24.0 19:25:06 go: downloading github.com/gorilla/securecookie v1.1.2 19:25:06 go: downloading github.com/mitchellh/go-ps v1.0.0 19:25:06 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 19:25:06 go: downloading github.com/gorilla/schema v1.4.1 19:25:06 go: downloading github.com/muhlemmer/gu v0.3.1 19:25:06 go: downloading github.com/go-jose/go-jose/v4 v4.0.4 19:25:06 go: downloading golang.org/x/term v0.28.0 19:25:06 go: downloading github.com/go-openapi/analysis v0.23.0 19:25:06 go: downloading github.com/go-openapi/loads v0.22.0 19:25:06 go: downloading github.com/go-openapi/spec v0.21.0 19:25:06 go: downloading github.com/mailru/easyjson v0.7.7 19:25:06 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 19:25:06 go: downloading github.com/go-logr/logr v1.4.2 19:25:06 go: downloading go.opentelemetry.io/otel/metric v1.29.0 19:25:06 go: downloading github.com/go-openapi/jsonpointer v0.21.0 19:25:06 go: downloading github.com/tklauser/go-sysconf v0.3.12 19:25:06 go: downloading github.com/josharian/intern v1.0.0 19:25:06 go: downloading github.com/go-logr/stdr v1.2.2 19:25:06 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 19:25:07 go: downloading github.com/go-openapi/jsonreference v0.21.0 19:25:07 go: downloading github.com/tklauser/numcpus v0.6.1 19:25:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:25:48 Removing intermediate container dca77412e4ba 19:25:48 ---> bdfeb2e4370f 19:25:48 Step 6/19 : FROM alpine:3.20 19:25:48 3.20: Pulling from library/alpine 19:25:48 66a3d608f3fa: Already exists 19:25:48 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 19:25:48 Status: Downloaded newer image for alpine:3.20 19:25:48 ---> e29df9b510ff 19:25:48 Step 7/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 19:25:48 ---> Running in 85a52d2b9f12 19:25:48 Removing intermediate container 85a52d2b9f12 19:25:48 ---> 0e752f441b07 19:25:48 Step 8/19 : RUN apk add --update --no-cache zeromq dumb-init 19:25:48 ---> Running in 402037e54b83 19:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:25:48 (1/6) Installing dumb-init (1.2.5-r3) 19:25:48 (2/6) Installing libgcc (13.2.1_git20240309-r0) 19:25:48 (3/6) Installing libsodium (1.0.19-r0) 19:25:48 (4/6) Installing libstdc++ (13.2.1_git20240309-r0) 19:25:49 (5/6) Installing libzmq (4.3.5-r2) 19:25:49 (6/6) Installing zeromq (4.3.5-r2) 19:25:49 Executing busybox-1.36.1-r29.trigger 19:25:49 OK: 12 MiB in 20 packages 19:25:49 Removing intermediate container 402037e54b83 19:25:49 ---> 6ec9fccfa175 19:25:49 Step 9/19 : RUN apk --no-cache upgrade 19:25:49 ---> Running in 559c01a26612 19:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 19:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 19:25:50 OK: 12 MiB in 20 packages 19:25:50 Removing intermediate container 559c01a26612 19:25:50 ---> 96a83f54fafc 19:25:50 Step 10/19 : EXPOSE 59997 19:25:50 ---> Running in 5845d0411865 19:25:50 Removing intermediate container 5845d0411865 19:25:50 ---> 663f9376415d 19:25:50 Step 11/19 : COPY --from=builder /device-opcua/cmd/device-opcua / 19:25:52 ---> d3f3820cf51e 19:25:52 Step 12/19 : COPY --from=builder /device-opcua/cmd/res /res 19:25:52 ---> 9cbc3e28404d 19:25:52 Step 13/19 : COPY LICENSE / 19:25:52 ---> d1b3475eba1f 19:25:52 Step 14/19 : COPY --from=builder /device-opcua/Attribution.txt /Attribution.txt 19:25:52 ---> 40720e6be948 19:25:52 Step 15/19 : ENTRYPOINT ["/device-opcua"] 19:25:52 ---> Running in f5ce3e3fc0ab 19:25:52 Removing intermediate container f5ce3e3fc0ab 19:25:52 ---> 689f1ec32045 19:25:52 Step 16/19 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 19:25:52 ---> Running in f401c89b504d 19:25:52 Removing intermediate container f401c89b504d 19:25:52 ---> e5202cc432bd 19:25:52 Step 17/19 : LABEL arch=amd64 19:25:52 ---> Running in 1c43b0c3f07e 19:25:52 Removing intermediate container 1c43b0c3f07e 19:25:52 ---> 8db5c701c8cd 19:25:52 Step 18/19 : LABEL git_sha=d049831f9b0dc3c70ea689b8a7826885a0faed37 19:25:52 ---> Running in 9c37d09a7251 19:25:52 Removing intermediate container 9c37d09a7251 19:25:52 ---> a82b41c3d2b3 19:25:52 Step 19/19 : LABEL version=0.0.0 19:25:52 ---> Running in 9c0487900ff1 19:25:52 Removing intermediate container 9c0487900ff1 19:25:52 ---> 254e08ea0ab6 19:25:52 [Warning] One or more build-args [ARCH BASE MAKE] were not consumed 19:25:52 Successfully built 254e08ea0ab6 19:25:52 Successfully tagged device-opc-ua: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:25:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:53 19:25:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:25:54 latest: Pulling from edgex-lftools-log-publisher 19:25:54 5eb5b503b376: Pulling fs layer 19:25:54 5c69ac0246d0: Pulling fs layer 19:25:54 ec43610c2a17: Pulling fs layer 19:25:54 3a2ae6a8a46f: Pulling fs layer 19:25:54 33b1e0a273af: Pulling fs layer 19:25:54 5d3b04190fa2: Pulling fs layer 19:25:54 2f39f015ded8: Pulling fs layer 19:25:54 33b1e0a273af: Waiting 19:25:54 5d3b04190fa2: Waiting 19:25:54 2f39f015ded8: Waiting 19:25:54 3a2ae6a8a46f: Waiting 19:25:54 5c69ac0246d0: Verifying Checksum 19:25:54 5c69ac0246d0: Download complete 19:25:54 3a2ae6a8a46f: Download complete 19:25:54 33b1e0a273af: Verifying Checksum 19:25:54 33b1e0a273af: Download complete 19:25:54 5d3b04190fa2: Verifying Checksum 19:25:54 5d3b04190fa2: Download complete 19:25:54 ec43610c2a17: Verifying Checksum 19:25:54 ec43610c2a17: Download complete 19:25:54 5eb5b503b376: Verifying Checksum 19:25:54 5eb5b503b376: Download complete 19:25:55 2f39f015ded8: Download complete 19:25:55 5eb5b503b376: Pull complete 19:25:55 5c69ac0246d0: Pull complete 19:25:56 ec43610c2a17: Pull complete 19:25:56 3a2ae6a8a46f: Pull complete 19:25:56 33b1e0a273af: Pull complete 19:25:56 5d3b04190fa2: Pull complete 19:26:01 2f39f015ded8: Pull complete 19:26:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:26:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:01 prd-ubuntu20.04-docker-8c-8g-36645 does not seem to be running inside a container 19:26:01 $ 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/dgexfoundry_device-opc-ua_PR-102 -v /w/workspace/dgexfoundry_device-opc-ua_PR-102:/w/workspace/dgexfoundry_device-opc-ua_PR-102:rw,z -v /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp:/w/workspace/dgexfoundry_device-opc-ua_PR-102@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:26:03 $ docker top 66501ee62164cfd9ba95668e6fce9ae94e3e4fcfc5395f8af417485e72838823 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:04 ---> job-cost.sh 19:26:04 lf-activate-venv: SKIPPING 19:26:04 INFO: No Stack... 19:26:04 INFO: Retrieving Pricing Info for: v3-standard-8 19:26:04 INFO: Archiving Costs [Pipeline] sh 19:26:05 + cut -d, -f6 19:26:05 + cat /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives/cost.csv [Pipeline] lock 19:26:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-opc-ua-PR-102-1-stack-cost] 19:26:05 Resource [jenkins-edgexfoundry-device-opc-ua-PR-102-1-stack-cost] did not exist. Created. 19:26:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-opc-ua-PR-102-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:26:05 + echo total: 0.2199999988079071 [Pipeline] stash 19:26:05 Stashed 1 file(s) [Pipeline] } 19:26:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-opc-ua-PR-102-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:26:05 $ docker stop --time=1 66501ee62164cfd9ba95668e6fce9ae94e3e4fcfc5395f8af417485e72838823 19:26:07 $ docker rm -f --volumes 66501ee62164cfd9ba95668e6fce9ae94e3e4fcfc5395f8af417485e72838823 [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:26:07 provisioning config files... 19:26:07 not able to provide the file [ManagedFile: id=device-opc-ua-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:26:09 + [ -d /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives ] 19:26:09 + ls -al /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives 19:26:09 total 16 19:26:09 drwxr-xr-x 3 root root 4096 Jan 13 19:26 . 19:26:09 drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 19:26 .. 19:26:09 drwxr-xr-x 2 root root 4096 Jan 13 19:26 cost 19:26:09 -rw-r--r-- 1 root root 85 Jan 13 19:26 cost.csv 19:26:09 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives 19:26:09 + ls -al /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives 19:26:09 total 16 19:26:09 drwxr-xr-x 3 jenkins jenkins 4096 Jan 13 19:26 . 19:26:09 drwxrwxr-x 11 jenkins jenkins 4096 Jan 13 19:26 .. 19:26:09 drwxr-xr-x 2 jenkins jenkins 4096 Jan 13 19:26 cost 19:26:09 -rw-r--r-- 1 jenkins jenkins 85 Jan 13 19:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:26:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:26:11 ---> package-listing.sh 19:26:11 ++ facter osfamily 19:26:11 ++ tr '[:upper:]' '[:lower:]' 19:26:11 + OS_FAMILY=debian 19:26:11 + workspace=/w/workspace/dgexfoundry_device-opc-ua_PR-102 19:26:11 + START_PACKAGES=/tmp/packages_start.txt 19:26:11 + END_PACKAGES=/tmp/packages_end.txt 19:26:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:26:11 + PACKAGES=/tmp/packages_start.txt 19:26:11 + '[' /w/workspace/dgexfoundry_device-opc-ua_PR-102 ']' 19:26:11 + PACKAGES=/tmp/packages_end.txt 19:26:11 + case "${OS_FAMILY}" in 19:26:11 + dpkg -l 19:26:11 + grep '^ii' 19:26:11 + '[' -f /tmp/packages_start.txt ']' 19:26:11 + '[' -f /tmp/packages_end.txt ']' 19:26:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:26:11 + '[' /w/workspace/dgexfoundry_device-opc-ua_PR-102 ']' 19:26:11 + mkdir -p /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives/ 19:26:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-opc-ua_PR-102/archives/ [Pipeline] echo 19:26:11 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/dgexfoundry_device-opc-ua_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:26:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:12 prd-ubuntu20.04-docker-8c-8g-36645 does not seem to be running inside a container 19:26:12 $ 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/dgexfoundry_device-opc-ua_PR-102/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-opc-ua_PR-102 -v /w/workspace/dgexfoundry_device-opc-ua_PR-102:/w/workspace/dgexfoundry_device-opc-ua_PR-102:rw,z -v /w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp:/w/workspace/dgexfoundry_device-opc-ua_PR-102@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:26:12 $ docker top d7ae9a5b07ab481364f0993a9085f102b6e71104f8d208fa883e7ac9833d1a64 -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:13 + touch /tmp/pre-build-complete [Pipeline] sh 19:26:13 + mkdir -p /var/log/sysstat [Pipeline] sh 19:26:13 + ls /var/log/sa-host 19:26:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:14 provisioning config files... 19:26:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-opc-ua_PR-102@tmp/config10066418398218220360tmp [Pipeline] { [Pipeline] echo 19:26:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:26:14 ---> create-netrc.sh [Pipeline] } 19:26:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:26:14 ---> python-tools-install.sh [Pipeline] echo 19:26:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:26:15 ---> sudo-logs.sh 19:26:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:26:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:26:15 ---> job-cost.sh 19:26:15 lf-activate-venv: SKIPPING 19:26:15 DEBUG: total: 0.2199999988079071 19:26:15 INFO: Retrieving Stack Cost... 19:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 19:26:15 INFO: Archiving Costs [Pipeline] echo 19:26:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:26:16 ---> logs-deploy.sh 19:26:16 lf-activate-venv: SKIPPING 19:26:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-opc-ua/PR-102/1 19:26:16 INFO: archiving workspace using pattern(s): 19:26:17 Archives upload complete. 19:26:17 INFO: archiving logs to Nexus