Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 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-ssh16386902599939762183.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-ssh6484532275355210970.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-opc-ua/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-opc-ua/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2821193390219890354.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 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-ssh5859328549675904946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-opc-ua/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-opc-ua/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6507645348440241139.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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-40039’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40040 in /w/workspace/edgexfoundry_device-opc-ua_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-opc-ua.git > git init /w/workspace/edgexfoundry_device-opc-ua_main # 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 Avoid second fetch Checking out Revision e5113cae9f55a885cd3ab0c49ffe2573e5538b3c (main) Commit message: "Merge pull request #108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" > git config core.sparsecheckout # timeout=10 > git checkout -f e5113cae9f55a885cd3ab0c49ffe2573e5538b3c # timeout=10 > git rev-list --no-walk d484454ed3060f2f1c56262b265adff557aa4896 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:24:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:24:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:24:24 ========================================================= 08:24:24 EdgeX Global Pipelines Version Info 08:24:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:24:25 ------------------- 08:24:25 stable info: 08:24:25 ------------------- 08:24:25 Commited By: Cherry Wang cherry@iotechsys.com 08:24:25 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 08:24:25 Message: update stable to v1.0.269 08:24:26 ------------------- 08:24:26 experimental info: 08:24:26 ------------------- 08:24:26 Commited By: Ginny Guan ginny@iotechsys.com 08:24:26 Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d 08:24:26 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-opc-ua-settings [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-opc-ua [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-opc-ua [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:24:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5113ca [Pipeline] echo 08:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:27 provisioning config files... 08:24:27 copy managed file [device-opc-ua-settings] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config12403954670740245209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:27 ---> ****-login.sh 08:24:27 nexus3.edgexfoundry.org:10001 08:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:27 Configure a credential helper to remove this warning. See 08:24:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:27 08:24:27 Login Succeeded 08:24:27 nexus3.edgexfoundry.org:10002 08:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:28 Configure a credential helper to remove this warning. See 08:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:28 08:24:28 Login Succeeded 08:24:28 nexus3.edgexfoundry.org:10003 08:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:28 Configure a credential helper to remove this warning. See 08:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:28 08:24:28 Login Succeeded 08:24:28 nexus3.edgexfoundry.org:10004 08:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:28 Configure a credential helper to remove this warning. See 08:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:28 08:24:28 Login Succeeded 08:24:28 ****.io 08:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:28 Configure a credential helper to remove this warning. See 08:24:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:28 08:24:28 Login Succeeded 08:24:28 ---> ****-login.sh ends [Pipeline] } 08:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:24:28 + git rev-list -1 --merges e5113cae9f55a885cd3ab0c49ffe2573e5538b3c~1..e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] echo 08:24:28 -----------> git rev-list -1 --merges e5113cae9f55a885cd3ab0c49ffe2573e5538b3c~1..e5113cae9f55a885cd3ab0c49ffe2573e5538b3c e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:24:28 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [false] [Pipeline] sh 08:24:29 + git log --format=format:%s -1 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] echo 08:24:29 ========================================================= 08:24:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:24:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:24:29 + git log --format=format:%s -1 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] echo 08:24:29 [semverPrep] GIT_COMMIT: e5113cae9f55a885cd3ab0c49ffe2573e5538b3c, Commit Message: Merge pull request #108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26 [Pipeline] echo 08:24:29 [semverPrep] This is not a build commit. [Pipeline] sh 08:24:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:24:29 + grep -v github /etc/ssh/ssh_known_hosts 08:24:29 + [ -e /tmp/ssh_known_hosts ] 08:24:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:24:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:24:29 + sudo tee -a /etc/ssh/ssh_known_hosts 08:24:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:30 08:24:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:30 0.1.4: Pulling from edgex-devops/py-git-semver 08:24:30 b85a868b505f: Pulling fs layer 08:24:30 e2be974225ed: Pulling fs layer 08:24:30 339a4e72a1f5: Pulling fs layer 08:24:30 988bab9f4d93: Pulling fs layer 08:24:30 1469e6f7b9e6: Pulling fs layer 08:24:30 eaf3925da568: Pulling fs layer 08:24:30 bab4dde63d76: Pulling fs layer 08:24:30 bde34c3a00c8: Pulling fs layer 08:24:30 b352a97aabf1: Pulling fs layer 08:24:30 4872d77fe225: Pulling fs layer 08:24:30 5851b861e8e6: Pulling fs layer 08:24:30 b352a97aabf1: Waiting 08:24:30 4872d77fe225: Waiting 08:24:30 bde34c3a00c8: Waiting 08:24:30 5851b861e8e6: Waiting 08:24:30 988bab9f4d93: Waiting 08:24:30 1469e6f7b9e6: Waiting 08:24:30 eaf3925da568: Waiting 08:24:30 bab4dde63d76: Waiting 08:24:30 e2be974225ed: Verifying Checksum 08:24:30 e2be974225ed: Download complete 08:24:30 988bab9f4d93: Download complete 08:24:30 1469e6f7b9e6: Verifying Checksum 08:24:30 1469e6f7b9e6: Download complete 08:24:30 eaf3925da568: Verifying Checksum 08:24:30 eaf3925da568: Download complete 08:24:30 339a4e72a1f5: Verifying Checksum 08:24:30 339a4e72a1f5: Download complete 08:24:30 bde34c3a00c8: Download complete 08:24:30 b352a97aabf1: Verifying Checksum 08:24:30 b352a97aabf1: Download complete 08:24:30 4872d77fe225: Verifying Checksum 08:24:30 4872d77fe225: Download complete 08:24:30 5851b861e8e6: Verifying Checksum 08:24:30 5851b861e8e6: Download complete 08:24:30 b85a868b505f: Verifying Checksum 08:24:30 b85a868b505f: Download complete 08:24:31 bab4dde63d76: Verifying Checksum 08:24:31 bab4dde63d76: Download complete 08:24:31 b85a868b505f: Pull complete 08:24:32 e2be974225ed: Pull complete 08:24:32 339a4e72a1f5: Pull complete 08:24:32 988bab9f4d93: Pull complete 08:24:33 1469e6f7b9e6: Pull complete 08:24:33 eaf3925da568: Pull complete 08:24:34 bab4dde63d76: Pull complete 08:24:34 bde34c3a00c8: Pull complete 08:24:34 b352a97aabf1: Pull complete 08:24:34 4872d77fe225: Pull complete 08:24:34 5851b861e8e6: Pull complete 08:24:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:24:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:24:35 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:24:37 $ docker top 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 -eo pid,comm 08:24:37 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). 08:24:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:24:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:37 [ssh-agent] Looking for ssh-agent implementation... 08:24:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:37 $ docker exec 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 ssh-agent 08:24:38 SSH_AUTH_SOCK=/tmp/ssh-UjbZm5hfU5f5/agent.32 08:24:38 SSH_AGENT_PID=38 08:24:38 Running ssh-add (command line suppressed) 08:24:38 Identity added: /w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_8841503942202616109.key (/w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_8841503942202616109.key) 08:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:38 + git tag --points-at HEAD [Pipeline] } 08:24:38 $ docker exec --env ******** --env ******** 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 ssh-agent -k 08:24:38 unset SSH_AUTH_SOCK; 08:24:38 unset SSH_AGENT_PID; 08:24:38 echo Agent pid 38 killed; 08:24:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:24:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:24:38 [ssh-agent] Looking for ssh-agent implementation... 08:24:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:24:38 $ docker exec 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 ssh-agent 08:24:38 SSH_AUTH_SOCK=/tmp/ssh-Wn6hmed2GS48/agent.71 08:24:38 SSH_AGENT_PID=77 08:24:38 Running ssh-add (command line suppressed) 08:24:38 Identity added: /w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_10586716434413442362.key (/w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_10586716434413442362.key) 08:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:24:39 + git semver init 08:24:39 2025-03-03 08:24:39,432 [run_init] DEBUG init version:0.0.0 force:False 08:24:39 2025-03-03 08:24:39,433 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-opc-ua_main/.semver 08:24:39 2025-03-03 08:24:39,434 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-opc-ua.git /w/workspace/edgexfoundry_device-opc-ua_main/.semver 08:24:39 2025-03-03 08:24:39,434 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-opc-ua.git', '/w/workspace/edgexfoundry_device-opc-ua_main/.semver'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main, universal_newlines=False, shell=None, istream=None) 08:24:40 2025-03-03 08:24:40,088 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-opc-ua_main/.git/info/exclude 08:24:40 2025-03-03 08:24:40,089 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-opc-ua_main/.semver/main with force:False 08:24:40 2025-03-03 08:24:40,089 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:24:40 2025-03-03 08:24:40,089 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:24:40 4.0.0-dev.2 [Pipeline] } 08:24:40 $ docker exec --env ******** --env ******** 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 ssh-agent -k 08:24:40 unset SSH_AUTH_SOCK; 08:24:40 unset SSH_AGENT_PID; 08:24:40 echo Agent pid 77 killed; 08:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:24:40 + git semver [Pipeline] } 08:24:41 $ docker stop --time=1 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 08:24:42 $ docker rm -f --volumes 7daf4a3aa44a57e13b9bdaa1932db05f55727f6efe6b380f95bff97346c35dc3 [Pipeline] // withDockerContainer [Pipeline] sh 08:24:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:24:42 Stashed 1 file(s) [Pipeline] echo 08:24:43 [edgeXSemver]: initialized semver on version 4.0.0-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:24:43 provisioning config files... 08:24:43 copy managed file [device-opc-ua-settings] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config549517430275857384tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:24:43 ---> ****-login.sh 08:24:43 nexus3.edgexfoundry.org:10001 08:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:43 Configure a credential helper to remove this warning. See 08:24:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:43 08:24:43 Login Succeeded 08:24:43 nexus3.edgexfoundry.org:10002 08:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:43 Configure a credential helper to remove this warning. See 08:24:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:43 08:24:43 Login Succeeded 08:24:43 nexus3.edgexfoundry.org:10003 08:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:43 Configure a credential helper to remove this warning. See 08:24:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:43 08:24:43 Login Succeeded 08:24:43 nexus3.edgexfoundry.org:10004 08:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:43 Configure a credential helper to remove this warning. See 08:24:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:43 08:24:43 Login Succeeded 08:24:43 ****.io 08:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:24:44 Configure a credential helper to remove this warning. See 08:24:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:24:44 08:24:44 Login Succeeded 08:24:44 ---> ****-login.sh ends [Pipeline] } 08:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:24:44 ========================================================= 08:24:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:24:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:24:44 + 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 . 08:24:44 Sending build context to Docker daemon 856.1kB 08:24:44 Step 1/5 : FROM golang:1.23-alpine3.20 AS builder 08:24:44 1.23-alpine3.20: Pulling from library/golang 08:24:45 0a9a5dfd008f: Pulling fs layer 08:24:45 dce2e074618e: Pulling fs layer 08:24:45 dd968b00abc2: Pulling fs layer 08:24:45 f9983b2b2d98: Pulling fs layer 08:24:45 4f4fb700ef54: Pulling fs layer 08:24:45 f9983b2b2d98: Waiting 08:24:45 4f4fb700ef54: Waiting 08:24:45 dce2e074618e: Verifying Checksum 08:24:45 dce2e074618e: Download complete 08:24:45 0a9a5dfd008f: Verifying Checksum 08:24:45 0a9a5dfd008f: Download complete 08:24:45 f9983b2b2d98: Download complete 08:24:45 4f4fb700ef54: Download complete 08:24:45 0a9a5dfd008f: Pull complete 08:24:45 dce2e074618e: Pull complete 08:24:45 dd968b00abc2: Verifying Checksum 08:24:45 dd968b00abc2: Download complete 08:24:48 dd968b00abc2: Pull complete 08:24:48 f9983b2b2d98: Pull complete 08:24:48 4f4fb700ef54: Pull complete 08:24:48 Digest: sha256:484906fa392c79201ee01325cb42c0414aa9ad836afacf49a0e98a69fd252f78 08:24:48 Status: Downloaded newer image for golang:1.23-alpine3.20 08:24:48 ---> 663922359e6f 08:24:48 Step 2/5 : WORKDIR /device-opcua 08:24:51 ---> Running in 04447d64ea7e 08:24:51 Removing intermediate container 04447d64ea7e 08:24:51 ---> 7c5cc46572cf 08:24:51 Step 3/5 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 08:24:51 ---> Running in 1cf67ea23327 08:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:24:51 v3.20.6-34-g03eb45c3b90 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] 08:24:51 v3.20.6-34-g03eb45c3b90 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] 08:24:51 OK: 24170 distinct packages available 08:24:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:24:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:24:52 (1/30) Installing libgcc (13.2.1_git20240309-r1) 08:24:52 (2/30) Installing jansson (2.14-r4) 08:24:52 (3/30) Installing libstdc++ (13.2.1_git20240309-r1) 08:24:52 (4/30) Installing zstd-libs (1.5.6-r0) 08:24:52 (5/30) Installing binutils (2.42-r0) 08:24:52 (6/30) Installing libgomp (13.2.1_git20240309-r1) 08:24:52 (7/30) Installing libatomic (13.2.1_git20240309-r1) 08:24:52 (8/30) Installing gmp (6.3.0-r1) 08:24:52 (9/30) Installing isl26 (0.26-r1) 08:24:52 (10/30) Installing mpfr4 (4.2.1-r0) 08:24:52 (11/30) Installing mpc1 (1.3.1-r1) 08:24:52 (12/30) Installing gcc (13.2.1_git20240309-r1) 08:24:53 (13/30) Installing brotli-libs (1.1.0-r2) 08:24:53 (14/30) Installing c-ares (1.33.1-r0) 08:24:53 (15/30) Installing libunistring (1.2-r0) 08:24:53 (16/30) Installing libidn2 (2.3.7-r0) 08:24:53 (17/30) Installing nghttp2-libs (1.62.1-r0) 08:24:53 (18/30) Installing libpsl (0.21.5-r1) 08:24:53 (19/30) Installing libcurl (8.12.1-r0) 08:24:53 (20/30) Installing libexpat (2.6.4-r0) 08:24:53 (21/30) Installing pcre2 (10.43-r0) 08:24:53 (22/30) Installing git (2.45.3-r0) 08:24:53 (23/30) Installing git-init-template (2.45.3-r0) 08:24:53 (24/30) Installing make (4.4.1-r2) 08:24:53 (25/30) Installing musl-dev (1.2.5-r1) 08:24:53 (26/30) Installing pkgconf (2.2.0-r0) 08:24:53 (27/30) Installing libsodium (1.0.19-r0) 08:24:53 (28/30) Installing libzmq (4.3.5-r2) 08:24:53 (29/30) Installing libsodium-dev (1.0.19-r0) 08:24:53 (30/30) Installing zeromq-dev (4.3.5-r2) 08:24:53 Executing busybox-1.36.1-r29.trigger 08:24:53 OK: 171 MiB in 45 packages 08:24:56 Removing intermediate container 1cf67ea23327 08:24:56 ---> 5156d108a8e8 08:24:56 Step 4/5 : COPY . . 08:24:56 ---> a7dc5379caa3 08:24:56 Step 5/5 : RUN make build 08:24:56 ---> Running in 50c05246eb87 08:24:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 08:24:57 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.26 08:24:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.30 08:24:57 go: downloading github.com/gopcua/opcua v0.5.3 08:24:57 go: downloading github.com/spf13/cast v1.7.1 08:24:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.29 08:24:57 go: downloading github.com/labstack/echo/v4 v4.13.3 08:24:57 go: downloading github.com/google/uuid v1.6.0 08:24:57 go: downloading github.com/panjf2000/ants/v2 v2.11.1 08:24:57 go: downloading github.com/go-kit/log v0.2.1 08:24:57 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 08:24:57 go: downloading github.com/go-playground/validator/v10 v10.25.0 08:24:57 go: downloading golang.org/x/net v0.35.0 08:24:57 go: downloading github.com/OneOfOne/xxhash v1.2.8 08:24:57 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 08:24:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.18 08:24:57 go: downloading github.com/hashicorp/go-multierror v1.1.1 08:24:57 go: downloading gopkg.in/yaml.v3 v3.0.1 08:24:57 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 08:24:57 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.4 08:24:57 go: downloading github.com/sirupsen/logrus v1.9.3 08:24:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.12 08:24:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.14 08:24:57 go: downloading github.com/mitchellh/copystructure v1.2.0 08:24:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 08:24:57 go: downloading github.com/mitchellh/mapstructure v1.5.0 08:24:57 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 08:24:57 go: downloading github.com/openziti/sdk-golang v0.24.1 08:24:57 go: downloading github.com/labstack/gommon v0.4.2 08:24:57 go: downloading golang.org/x/crypto v0.33.0 08:24:57 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:24:57 go: downloading golang.org/x/sync v0.11.0 08:24:57 go: downloading github.com/x448/float16 v0.8.4 08:24:57 go: downloading github.com/pkg/errors v0.9.1 08:24:57 go: downloading github.com/hashicorp/errwrap v1.1.0 08:24:57 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 08:24:57 go: downloading github.com/go-playground/universal-translator v0.18.1 08:24:57 go: downloading github.com/leodido/go-urn v1.4.0 08:24:57 go: downloading golang.org/x/text v0.22.0 08:24:57 go: downloading golang.org/x/sys v0.30.0 08:24:57 go: downloading github.com/mitchellh/reflectwalk v1.0.2 08:24:57 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 08:24:57 go: downloading github.com/valyala/fasttemplate v1.2.2 08:24:57 go: downloading golang.org/x/time v0.8.0 08:24:57 go: downloading github.com/mattn/go-colorable v0.1.14 08:24:57 go: downloading github.com/mattn/go-isatty v0.0.20 08:24:57 go: downloading github.com/gorilla/websocket v1.5.3 08:24:57 go: downloading github.com/michaelquigley/pfxlog v0.6.10 08:24:57 go: downloading github.com/openziti/channel/v3 v3.0.27 08:24:57 go: downloading github.com/openziti/edge-api v0.26.38 08:24:57 go: downloading github.com/openziti/foundation/v2 v2.0.56 08:24:57 go: downloading github.com/openziti/secretstream v0.1.28 08:24:57 go: downloading github.com/openziti/transport/v2 v2.0.160 08:24:57 go: downloading github.com/go-playground/locales v0.14.1 08:24:57 go: downloading github.com/go-openapi/runtime v0.28.0 08:24:58 Still waiting to schedule task 08:24:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 08:24:58 go: downloading github.com/go-openapi/strfmt v0.23.0 08:24:58 go: downloading github.com/go-resty/resty/v2 v2.16.4 08:24:58 go: downloading github.com/openziti/identity v1.0.94 08:24:58 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 08:24:58 go: downloading github.com/zitadel/oidc/v2 v2.12.2 08:24:58 go: downloading golang.org/x/oauth2 v0.25.0 08:24:58 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 08:24:58 go: downloading github.com/kataras/go-events v0.0.3 08:24:58 go: downloading github.com/openziti/metrics v1.2.65 08:24:58 go: downloading github.com/valyala/bytebufferpool v1.0.0 08:24:58 go: downloading github.com/zeebo/errs v1.4.0 08:24:58 go: downloading google.golang.org/grpc v1.70.0 08:24:58 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 08:24:58 go: downloading google.golang.org/protobuf v1.36.3 08:24:59 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 08:24:59 go: downloading github.com/oklog/ulid v1.3.1 08:24:59 go: downloading github.com/go-openapi/errors v0.22.0 08:24:59 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 08:24:59 go: downloading go.mongodb.org/mongo-driver v1.17.0 08:24:59 go: downloading github.com/opentracing/opentracing-go v1.2.0 08:24:59 go: downloading go.opentelemetry.io/otel v1.32.0 08:24:59 go: downloading go.opentelemetry.io/otel/trace v1.32.0 08:24:59 go: downloading github.com/go-openapi/swag v0.23.0 08:24:59 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 08:24:59 go: downloading github.com/go-openapi/validate v0.24.0 08:24:59 go: downloading github.com/fsnotify/fsnotify v1.7.0 08:24:59 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 08:24:59 go: downloading github.com/gorilla/securecookie v1.1.2 08:24:59 go: downloading github.com/gorilla/schema v1.4.1 08:24:59 go: downloading github.com/muhlemmer/gu v0.3.1 08:24:59 go: downloading github.com/mitchellh/go-ps v1.0.0 08:24:59 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 08:24:59 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 08:24:59 go: downloading golang.org/x/term v0.29.0 08:24:59 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 08:24:59 go: downloading github.com/go-openapi/analysis v0.23.0 08:24:59 go: downloading github.com/go-openapi/loads v0.22.0 08:24:59 go: downloading github.com/go-openapi/spec v0.21.0 08:24:59 go: downloading github.com/go-logr/logr v1.4.2 08:24:59 go: downloading go.opentelemetry.io/otel/metric v1.32.0 08:24:59 go: downloading github.com/mailru/easyjson v0.7.7 08:24:59 go: downloading github.com/go-openapi/jsonpointer v0.21.0 08:24:59 go: downloading github.com/tklauser/go-sysconf v0.3.12 08:24:59 go: downloading github.com/go-logr/stdr v1.2.2 08:24:59 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 08:24:59 go: downloading github.com/go-openapi/jsonreference v0.21.0 08:24:59 go: downloading github.com/josharian/intern v1.0.0 08:24:59 go: downloading github.com/tklauser/numcpus v0.6.1 08:25:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:25:41 Removing intermediate container 50c05246eb87 08:25:41 ---> 96cc04c998f6 08:25:41 [Warning] One or more build-args [BASE MAKE] were not consumed 08:25:41 Successfully built 96cc04c998f6 08:25:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:41 + docker inspect -f . ci-base-image-x86_64 08:25:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:41 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:25:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:25:42 $ docker top f5a150c6b2846d078bdbdb69055651dd8e648b177726724f7cad2ba04666a3c1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:25:42 + go version 08:25:42 go version go1.23.6 linux/amd64 [Pipeline] } 08:25:42 $ docker stop --time=1 f5a150c6b2846d078bdbdb69055651dd8e648b177726724f7cad2ba04666a3c1 08:25:43 $ docker rm -f --volumes f5a150c6b2846d078bdbdb69055651dd8e648b177726724f7cad2ba04666a3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:44 + docker inspect -f . ci-base-image-x86_64 08:25:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:25:44 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:25:44 $ 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-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:25:44 $ docker top ec3e369c38aa213ebf61719d17a3a69c407ee63a82c6bffccade7cb5da7df517 -eo pid,comm [Pipeline] { [Pipeline] sh 08:25:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-opc-ua_main [Pipeline] fileExists [Pipeline] sh 08:25:45 + make test 08:25:45 go install github.com/jstemmer/go-junit-report@v0.9.1 08:25:45 go: downloading github.com/jstemmer/go-junit-report v0.9.1 08:25:50 go install github.com/axw/gocov/gocov@v1.0.0 08:25:50 go: downloading github.com/axw/gocov v1.0.0 08:25:50 go: downloading golang.org/x/tools v0.0.0-20190617190820-da514acc4774 08:25:52 go install github.com/AlekSi/gocov-xml@v1.0.0 08:25:52 go: downloading github.com/AlekSi/gocov-xml v1.0.0 08:25:53 go install github.com/jandelgado/gcov2lcov@v1.0.5 08:25:53 go: downloading github.com/jandelgado/gcov2lcov v1.0.5 08:25:54 rm -rf test-artifacts 08:25:54 mkdir test-artifacts 08:25:54 go test -v ./... -coverprofile=test-artifacts/cover.out | go-junit-report > test-artifacts/report.xml 08:25:54 go: downloading github.com/stretchr/testify v1.10.0 08:25:54 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 08:25:54 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 08:26:16 gocov convert test-artifacts/cover.out | gocov-xml > test-artifacts/coverage.xml 08:26:16 gcov2lcov -infile=test-artifacts/cover.out -outfile=test-artifacts/coverage.lcov [Pipeline] echo 08:26:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:26:16 $ docker stop --time=1 ec3e369c38aa213ebf61719d17a3a69c407ee63a82c6bffccade7cb5da7df517 08:26:19 $ docker rm -f --volumes ec3e369c38aa213ebf61719d17a3a69c407ee63a82c6bffccade7cb5da7df517 [Pipeline] // withDockerContainer [Pipeline] sh 08:26:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:26:20 Stashed 0 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:26:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:26:20 + ls -al . 08:26:20 total 192 08:26:20 drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 08:25 . 08:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 .. 08:26:20 -rw-rw-r-- 1 jenkins jenkins 62 Mar 3 08:24 .dockerignore 08:26:20 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 08:26 .git 08:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:24 .github 08:26:20 -rw-rw-r-- 1 jenkins jenkins 84 Mar 3 08:24 .gitignore 08:26:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 08:24 .semver 08:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:24 .vscode 08:26:20 -rw-rw-r-- 1 jenkins jenkins 7466 Mar 3 08:24 Attribution.txt 08:26:20 -rw-rw-r-- 1 jenkins jenkins 1125 Mar 3 08:24 Dockerfile 08:26:20 -rw-rw-r-- 1 jenkins jenkins 649 Mar 3 08:24 Jenkinsfile 08:26:20 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 3 08:24 LICENSE 08:26:20 -rw-rw-r-- 1 jenkins jenkins 2185 Mar 3 08:24 Makefile 08:26:20 -rw-rw-r-- 1 jenkins jenkins 4109 Mar 3 08:24 README.md 08:26:20 -rw-rw-r-- 1 jenkins jenkins 11 Mar 3 08:24 VERSION 08:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:24 bin 08:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 08:24 cmd 08:26:20 -rw-rw-r-- 1 jenkins jenkins 6291 Mar 3 08:24 go.mod 08:26:20 -rw-rw-r-- 1 jenkins jenkins 86966 Mar 3 08:24 go.sum 08:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:24 internal 08:26:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 08:26 test-artifacts 08:26:20 -rw-rw-r-- 1 jenkins jenkins 260 Mar 3 08:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40041 in /w/workspace/edgexfoundry_device-opc-ua_main [Pipeline] { [Pipeline] ws 08:26:21 Running in /w/workspace/device-opc-ua/5 [Pipeline] { [Pipeline] checkout 08:26:21 + 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=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c --label arch=amd64 --label version=4.0.0-dev.2 . 08:26:21 Sending build context to Docker daemon 873.5kB 08:26:21 Step 1/19 : FROM golang:1.23-alpine3.20 AS builder 08:26:21 ---> 663922359e6f 08:26:21 Step 2/19 : WORKDIR /device-opcua 08:26:21 ---> Using cache 08:26:21 ---> 7c5cc46572cf 08:26:21 Step 3/19 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 08:26:21 ---> Using cache 08:26:21 ---> 5156d108a8e8 08:26:21 Step 4/19 : COPY . . 08:26:21 ---> 019ec906de47 08:26:21 Step 5/19 : RUN make build 08:26:21 ---> Running in d3ab2f8f2c06 08:26:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 08:26:21 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.26 08:26:21 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.30 08:26:21 go: downloading github.com/gopcua/opcua v0.5.3 08:26:21 go: downloading github.com/spf13/cast v1.7.1 08:26:21 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.29 08:26:21 go: downloading github.com/labstack/echo/v4 v4.13.3 08:26:21 go: downloading github.com/go-playground/validator/v10 v10.25.0 08:26:21 go: downloading github.com/google/uuid v1.6.0 08:26:21 go: downloading github.com/go-kit/log v0.2.1 08:26:21 go: downloading github.com/panjf2000/ants/v2 v2.11.1 08:26:21 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 08:26:21 go: downloading golang.org/x/net v0.35.0 08:26:21 go: downloading github.com/OneOfOne/xxhash v1.2.8 08:26:21 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 08:26:21 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.18 08:26:21 go: downloading github.com/hashicorp/go-multierror v1.1.1 08:26:21 go: downloading gopkg.in/yaml.v3 v3.0.1 08:26:22 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 08:26:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 08:26:22 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.4 08:26:22 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 08:26:22 go: downloading github.com/openziti/sdk-golang v0.24.1 08:26:22 go: downloading github.com/sirupsen/logrus v1.9.3 08:26:22 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.12 08:26:22 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.14 08:26:22 go: downloading github.com/mitchellh/copystructure v1.2.0 08:26:22 go: downloading github.com/mitchellh/mapstructure v1.5.0 08:26:22 go: downloading github.com/labstack/gommon v0.4.2 08:26:22 go: downloading golang.org/x/crypto v0.33.0 08:26:22 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:26:22 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 08:26:22 go: downloading github.com/go-playground/universal-translator v0.18.1 08:26:22 go: downloading github.com/leodido/go-urn v1.4.0 08:26:22 go: downloading golang.org/x/text v0.22.0 08:26:22 go: downloading golang.org/x/sync v0.11.0 08:26:22 go: downloading github.com/pkg/errors v0.9.1 08:26:22 go: downloading github.com/hashicorp/errwrap v1.1.0 08:26:22 go: downloading github.com/x448/float16 v0.8.4 08:26:22 go: downloading github.com/valyala/fasttemplate v1.2.2 08:26:22 go: downloading golang.org/x/time v0.8.0 08:26:22 go: downloading golang.org/x/sys v0.30.0 08:26:22 go: downloading github.com/gorilla/websocket v1.5.3 08:26:22 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 08:26:22 go: downloading github.com/michaelquigley/pfxlog v0.6.10 08:26:22 go: downloading github.com/openziti/channel/v3 v3.0.27 08:26:22 go: downloading github.com/openziti/edge-api v0.26.38 08:26:22 go: downloading github.com/openziti/foundation/v2 v2.0.56 08:26:22 go: downloading github.com/openziti/secretstream v0.1.28 08:26:22 go: downloading github.com/openziti/transport/v2 v2.0.160 08:26:22 go: downloading github.com/mitchellh/reflectwalk v1.0.2 08:26:22 go: downloading github.com/mattn/go-colorable v0.1.14 08:26:22 go: downloading github.com/mattn/go-isatty v0.0.20 08:26:22 go: downloading github.com/go-playground/locales v0.14.1 08:26:22 go: downloading github.com/go-openapi/runtime v0.28.0 08:26:22 go: downloading github.com/go-openapi/strfmt v0.23.0 08:26:22 go: downloading github.com/go-resty/resty/v2 v2.16.4 08:26:23 go: downloading github.com/openziti/identity v1.0.94 08:26:23 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 08:26:23 go: downloading github.com/zitadel/oidc/v2 v2.12.2 08:26:23 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 08:26:23 go: downloading github.com/kataras/go-events v0.0.3 08:26:23 go: downloading golang.org/x/oauth2 v0.25.0 08:26:23 go: downloading github.com/openziti/metrics v1.2.65 08:26:23 go: downloading github.com/valyala/bytebufferpool v1.0.0 08:26:23 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 08:26:23 go: downloading google.golang.org/protobuf v1.36.3 08:26:23 go: downloading github.com/zeebo/errs v1.4.0 08:26:23 go: downloading google.golang.org/grpc v1.70.0 08:26:23 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 08:26:23 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 08:26:23 go: downloading github.com/go-openapi/errors v0.22.0 08:26:23 go: downloading github.com/oklog/ulid v1.3.1 08:26:23 go: downloading go.mongodb.org/mongo-driver v1.17.0 08:26:23 go: downloading github.com/opentracing/opentracing-go v1.2.0 08:26:23 go: downloading github.com/go-openapi/swag v0.23.0 08:26:23 go: downloading go.opentelemetry.io/otel v1.32.0 08:26:24 go: downloading go.opentelemetry.io/otel/trace v1.32.0 08:26:24 go: downloading github.com/go-openapi/validate v0.24.0 08:26:24 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 08:26:24 go: downloading github.com/fsnotify/fsnotify v1.7.0 08:26:24 go: downloading github.com/mitchellh/go-ps v1.0.0 08:26:24 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 08:26:24 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 08:26:24 go: downloading golang.org/x/term v0.29.0 08:26:24 Selected Git installation does not exist. Using Default 08:26:24 The recommended git tool is: NONE 08:26:24 go: downloading github.com/gorilla/securecookie v1.1.2 08:26:24 go: downloading github.com/gorilla/schema v1.4.1 08:26:24 go: downloading github.com/muhlemmer/gu v0.3.1 08:26:24 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 08:26:24 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 08:26:24 go: downloading github.com/go-openapi/analysis v0.23.0 08:26:24 go: downloading github.com/go-openapi/loads v0.22.0 08:26:24 go: downloading github.com/go-openapi/spec v0.21.0 08:26:24 go: downloading github.com/mailru/easyjson v0.7.7 08:26:24 go: downloading github.com/go-logr/logr v1.4.2 08:26:24 go: downloading go.opentelemetry.io/otel/metric v1.32.0 08:26:24 go: downloading github.com/tklauser/go-sysconf v0.3.12 08:26:24 go: downloading github.com/go-openapi/jsonpointer v0.21.0 08:26:24 go: downloading github.com/josharian/intern v1.0.0 08:26:24 go: downloading github.com/go-logr/stdr v1.2.2 08:26:24 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 08:26:24 go: downloading github.com/go-openapi/jsonreference v0.21.0 08:26:24 go: downloading github.com/tklauser/numcpus v0.6.1 08:26:28 using credential edgex-jenkins-ssh 08:26:28 Cloning the remote Git repository 08:26:28 Cloning repository git@github.com:edgexfoundry/device-opc-ua.git 08:26:28 > git init /w/workspace/device-opc-ua/5 # timeout=10 08:26:28 Fetching upstream changes from git@github.com:edgexfoundry/device-opc-ua.git 08:26:28 > git --version # timeout=10 08:26:28 > git --version # 'git version 2.25.1' 08:26:28 using GIT_SSH to set credentials SSH Credentials for GitHub 08:26:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-opc-ua.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:26:29 > git config remote.origin.url git@github.com:edgexfoundry/device-opc-ua.git # timeout=10 08:26:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:26:30 Avoid second fetch 08:26:30 Checking out Revision e5113cae9f55a885cd3ab0c49ffe2573e5538b3c (main) 08:26:31 Commit message: "Merge pull request #108 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0-dev.26" 08:26:30 > git config core.sparsecheckout # timeout=10 08:26:30 > git checkout -f e5113cae9f55a885cd3ab0c49ffe2573e5538b3c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:26:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:26:35 % Total % Received % Xferd Average Speed Time Time Time Current 08:26:35 Dload Upload Total Spent Left Speed 08:26:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 82761 0 --:--:-- --:--:-- --:--:-- 82761 [Pipeline] sh 08:26:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:26:36 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:26:36 sudo tee /etc/docker/daemon.new 08:26:36 { 08:26:36 "registry-mirrors": [ 08:26:36 "https://nexus3.edgexfoundry.org:10001" 08:26:36 ], 08:26:36 "bip": "10.250.0.254/24", 08:26:36 "hosts": [ 08:26:36 "tcp://0.0.0.0:5555", 08:26:36 "unix:///var/run/docker.sock" 08:26:36 ], 08:26:36 "mtu": 1458, 08:26:36 "selinux-enabled": true, 08:26:36 "seccomp-profile": "/etc/docker/seccomp.json" 08:26:36 } [Pipeline] sh 08:26:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:26:37 + sudo service docker restart 08:26:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:26:55 provisioning config files... 08:26:55 copy managed file [device-opc-ua-settings] to file:/w/workspace/device-opc-ua/5@tmp/config7534127495104433443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:26:55 ---> ****-login.sh 08:26:55 nexus3.edgexfoundry.org:10001 08:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:26:56 Configure a credential helper to remove this warning. See 08:26:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:26:56 08:26:56 Login Succeeded 08:26:56 nexus3.edgexfoundry.org:10002 08:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:26:57 Configure a credential helper to remove this warning. See 08:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:26:57 08:26:57 Login Succeeded 08:26:57 nexus3.edgexfoundry.org:10003 08:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:26:57 Configure a credential helper to remove this warning. See 08:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:26:57 08:26:57 Login Succeeded 08:26:57 nexus3.edgexfoundry.org:10004 08:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:26:57 Configure a credential helper to remove this warning. See 08:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:26:57 08:26:57 Login Succeeded 08:26:57 ****.io 08:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:26:58 Configure a credential helper to remove this warning. See 08:26:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:26:58 08:26:58 Login Succeeded 08:26:58 ---> ****-login.sh ends [Pipeline] } 08:26:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:26:58 ========================================================= 08:26:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 08:26:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:26:58 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 08:26:59 Sending build context to Docker daemon 556kB 08:26:59 Step 1/5 : FROM golang:1.23-alpine3.20 AS builder 08:26:59 1.23-alpine3.20: Pulling from library/golang 08:26:59 94e9d8af2201: Pulling fs layer 08:26:59 b80759e590e8: Pulling fs layer 08:26:59 ff7476bebdd2: Pulling fs layer 08:26:59 f98239ce14d3: Pulling fs layer 08:26:59 4f4fb700ef54: Pulling fs layer 08:26:59 f98239ce14d3: Waiting 08:26:59 4f4fb700ef54: Waiting 08:27:00 b80759e590e8: Verifying Checksum 08:27:00 b80759e590e8: Download complete 08:27:00 94e9d8af2201: Verifying Checksum 08:27:00 94e9d8af2201: Download complete 08:27:00 f98239ce14d3: Verifying Checksum 08:27:00 f98239ce14d3: Download complete 08:27:00 4f4fb700ef54: Verifying Checksum 08:27:00 4f4fb700ef54: Download complete 08:27:00 94e9d8af2201: Pull complete 08:27:01 b80759e590e8: Pull complete 08:27:01 ff7476bebdd2: Verifying Checksum 08:27:01 ff7476bebdd2: Download complete 08:27:05 Removing intermediate container d3ab2f8f2c06 08:27:05 ---> 5152e5d11c65 08:27:05 Step 6/19 : FROM alpine:3.20 08:27:05 3.20: Pulling from library/alpine 08:27:05 0a9a5dfd008f: Already exists 08:27:05 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:27:05 Status: Downloaded newer image for alpine:3.20 08:27:05 ---> ff221270b9fb 08:27:05 Step 7/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 08:27:05 ---> Running in 5c1464ee01e1 08:27:05 Removing intermediate container 5c1464ee01e1 08:27:05 ---> b5546b09bc50 08:27:05 Step 8/19 : RUN apk add --update --no-cache zeromq dumb-init 08:27:05 ---> Running in 7d2c6856db2e 08:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:27:05 (1/6) Installing dumb-init (1.2.5-r3) 08:27:05 (2/6) Installing libgcc (13.2.1_git20240309-r1) 08:27:05 (3/6) Installing libsodium (1.0.19-r0) 08:27:05 (4/6) Installing libstdc++ (13.2.1_git20240309-r1) 08:27:05 (5/6) Installing libzmq (4.3.5-r2) 08:27:05 (6/6) Installing zeromq (4.3.5-r2) 08:27:05 Executing busybox-1.36.1-r29.trigger 08:27:05 OK: 12 MiB in 20 packages 08:27:05 Removing intermediate container 7d2c6856db2e 08:27:05 ---> ab49c680fd96 08:27:05 Step 9/19 : RUN apk --no-cache upgrade 08:27:05 ---> Running in db12b9032979 08:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:27:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:27:06 OK: 12 MiB in 20 packages 08:27:06 Removing intermediate container db12b9032979 08:27:06 ---> 4419f63e887c 08:27:06 Step 10/19 : EXPOSE 59997 08:27:06 ---> Running in e8a1edcf4906 08:27:06 Removing intermediate container e8a1edcf4906 08:27:06 ---> 21a8cbfcb115 08:27:06 Step 11/19 : COPY --from=builder /device-opcua/cmd/device-opcua / 08:27:07 ---> 67462b0c84ec 08:27:07 Step 12/19 : COPY --from=builder /device-opcua/cmd/res /res 08:27:07 ---> 07a404eefca8 08:27:07 Step 13/19 : COPY LICENSE / 08:27:07 ---> 036e17cd6cd9 08:27:07 Step 14/19 : COPY --from=builder /device-opcua/Attribution.txt /Attribution.txt 08:27:08 ---> ada0a943e48e 08:27:08 Step 15/19 : ENTRYPOINT ["/device-opcua"] 08:27:08 ---> Running in 42e4256ec084 08:27:08 Removing intermediate container 42e4256ec084 08:27:08 ---> 87b580b74820 08:27:08 Step 16/19 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:27:08 ---> Running in cd45f2e87753 08:27:08 Removing intermediate container cd45f2e87753 08:27:08 ---> b0a08cd5c53b 08:27:08 Step 17/19 : LABEL arch=amd64 08:27:08 ---> Running in a04b469d43c1 08:27:08 Removing intermediate container a04b469d43c1 08:27:08 ---> aa51c900e00e 08:27:08 Step 18/19 : LABEL git_sha=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:27:08 ---> Running in f7b4b1f8cc15 08:27:08 Removing intermediate container f7b4b1f8cc15 08:27:08 ---> 0bc73f656dd6 08:27:08 Step 19/19 : LABEL version=4.0.0-dev.2 08:27:08 ---> Running in 6d868e45a3f4 08:27:08 Removing intermediate container 6d868e45a3f4 08:27:08 ---> 9e25b30556c2 08:27:08 [Warning] One or more build-args [ARCH BASE MAKE] were not consumed 08:27:08 Successfully built 9e25b30556c2 08:27:08 Successfully tagged device-opc-ua:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:27:08 provisioning config files... 08:27:08 copy managed file [device-opc-ua-settings] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config7763376345493712257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:09 ---> ****-login.sh 08:27:09 nexus3.edgexfoundry.org:10001 08:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:09 Configure a credential helper to remove this warning. See 08:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:09 08:27:09 Login Succeeded 08:27:09 nexus3.edgexfoundry.org:10002 08:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:09 Configure a credential helper to remove this warning. See 08:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:09 08:27:09 Login Succeeded 08:27:09 nexus3.edgexfoundry.org:10003 08:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:09 Configure a credential helper to remove this warning. See 08:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:09 08:27:09 Login Succeeded 08:27:09 nexus3.edgexfoundry.org:10004 08:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:09 Configure a credential helper to remove this warning. See 08:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:09 08:27:09 Login Succeeded 08:27:09 ****.io 08:27:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:27:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:27:09 Configure a credential helper to remove this warning. See 08:27:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:27:09 08:27:09 Login Succeeded 08:27:09 ---> ****-login.sh ends [Pipeline] } 08:27:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:27:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:27:09 [edgeXDocker.push] Tagging docker image device-opc-ua with the following tags: 08:27:09 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:27:09 latest 08:27:09 4.0.0-dev.2 08:27:09 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:27:09 main 08:27:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:10 + docker tag device-opc-ua nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:10 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:27:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua] 08:27:10 e09e510cfa82: Preparing 08:27:10 8bef4969a2e9: Preparing 08:27:10 74651831b769: Preparing 08:27:10 feca20e8900d: Preparing 08:27:10 0762a6cef1e7: Preparing 08:27:10 84947058f24d: Preparing 08:27:10 994456c4fd7b: Preparing 08:27:10 84947058f24d: Waiting 08:27:10 994456c4fd7b: Waiting 08:27:10 e09e510cfa82: Pushed 08:27:10 74651831b769: Pushed 08:27:10 0762a6cef1e7: Pushed 08:27:10 8bef4969a2e9: Pushed 08:27:10 994456c4fd7b: Layer already exists 08:27:10 84947058f24d: Pushed 08:27:15 feca20e8900d: Pushed 08:27:15 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c: digest: sha256:0032612145ba2a79866c22bd2a5b2fbbe3d7383cac7a549f1e90e9f0c226ca2c size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:15 + docker tag device-opc-ua nexus3.edgexfoundry.org:10004/device-opc-ua:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:15 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua:latest 08:27:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua] 08:27:15 e09e510cfa82: Preparing 08:27:15 8bef4969a2e9: Preparing 08:27:15 74651831b769: Preparing 08:27:15 feca20e8900d: Preparing 08:27:15 0762a6cef1e7: Preparing 08:27:15 84947058f24d: Preparing 08:27:15 994456c4fd7b: Preparing 08:27:15 84947058f24d: Waiting 08:27:15 8bef4969a2e9: Layer already exists 08:27:15 feca20e8900d: Layer already exists 08:27:15 74651831b769: Layer already exists 08:27:15 0762a6cef1e7: Layer already exists 08:27:15 e09e510cfa82: Layer already exists 08:27:15 994456c4fd7b: Layer already exists 08:27:15 84947058f24d: Layer already exists 08:27:15 latest: digest: sha256:0032612145ba2a79866c22bd2a5b2fbbe3d7383cac7a549f1e90e9f0c226ca2c size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:16 + docker tag device-opc-ua nexus3.edgexfoundry.org:10004/device-opc-ua:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:16 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua:4.0.0-dev.2 08:27:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua] 08:27:16 e09e510cfa82: Preparing 08:27:16 8bef4969a2e9: Preparing 08:27:16 74651831b769: Preparing 08:27:16 feca20e8900d: Preparing 08:27:16 0762a6cef1e7: Preparing 08:27:16 84947058f24d: Preparing 08:27:16 994456c4fd7b: Preparing 08:27:16 994456c4fd7b: Waiting 08:27:16 84947058f24d: Waiting 08:27:16 0762a6cef1e7: Layer already exists 08:27:16 8bef4969a2e9: Layer already exists 08:27:16 74651831b769: Layer already exists 08:27:16 feca20e8900d: Layer already exists 08:27:16 e09e510cfa82: Layer already exists 08:27:16 994456c4fd7b: Layer already exists 08:27:16 84947058f24d: Layer already exists 08:27:16 4.0.0-dev.2: digest: sha256:0032612145ba2a79866c22bd2a5b2fbbe3d7383cac7a549f1e90e9f0c226ca2c size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:16 ff7476bebdd2: Pull complete 08:27:16 f98239ce14d3: Pull complete 08:27:16 4f4fb700ef54: Pull complete 08:27:16 Digest: sha256:484906fa392c79201ee01325cb42c0414aa9ad836afacf49a0e98a69fd252f78 08:27:16 Status: Downloaded newer image for golang:1.23-alpine3.20 08:27:16 ---> 1e91ac193c3d 08:27:16 Step 2/5 : WORKDIR /device-opcua 08:27:16 ---> Running in 74f04a942369 08:27:16 Removing intermediate container 74f04a942369 08:27:16 ---> a4e093729d0b 08:27:16 Step 3/5 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 08:27:16 + docker tag device-opc-ua nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:17 ---> Running in 7cfc1a319ad2 08:27:17 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua] 08:27:17 e09e510cfa82: Preparing 08:27:17 8bef4969a2e9: Preparing 08:27:17 74651831b769: Preparing 08:27:17 feca20e8900d: Preparing 08:27:17 0762a6cef1e7: Preparing 08:27:17 84947058f24d: Preparing 08:27:17 994456c4fd7b: Preparing 08:27:17 84947058f24d: Waiting 08:27:17 994456c4fd7b: Waiting 08:27:17 74651831b769: Layer already exists 08:27:17 feca20e8900d: Layer already exists 08:27:17 8bef4969a2e9: Layer already exists 08:27:17 0762a6cef1e7: Layer already exists 08:27:17 e09e510cfa82: Layer already exists 08:27:17 994456c4fd7b: Layer already exists 08:27:17 84947058f24d: Layer already exists 08:27:17 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2: digest: sha256:0032612145ba2a79866c22bd2a5b2fbbe3d7383cac7a549f1e90e9f0c226ca2c size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:17 + docker tag device-opc-ua nexus3.edgexfoundry.org:10004/device-opc-ua:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:17 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua:main 08:27:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua] 08:27:17 e09e510cfa82: Preparing 08:27:17 8bef4969a2e9: Preparing 08:27:17 74651831b769: Preparing 08:27:17 feca20e8900d: Preparing 08:27:17 0762a6cef1e7: Preparing 08:27:17 84947058f24d: Preparing 08:27:17 994456c4fd7b: Preparing 08:27:17 84947058f24d: Waiting 08:27:17 994456c4fd7b: Waiting 08:27:17 e09e510cfa82: Layer already exists 08:27:17 8bef4969a2e9: Layer already exists 08:27:17 0762a6cef1e7: Layer already exists 08:27:17 74651831b769: Layer already exists 08:27:17 feca20e8900d: Layer already exists 08:27:17 84947058f24d: Layer already exists 08:27:17 994456c4fd7b: Layer already exists 08:27:17 main: digest: sha256:0032612145ba2a79866c22bd2a5b2fbbe3d7383cac7a549f1e90e9f0c226ca2c size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:27:17 ===================================================== [Pipeline] echo 08:27:17 taggedImages: 08:27:17 - nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:27:17 - nexus3.edgexfoundry.org:10004/device-opc-ua:latest 08:27:17 - nexus3.edgexfoundry.org:10004/device-opc-ua:4.0.0-dev.2 08:27:17 - nexus3.edgexfoundry.org:10004/device-opc-ua:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:27:17 - nexus3.edgexfoundry.org:10004/device-opc-ua:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 08:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:18 08:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:18 latest: Pulling from edgex-lftools-log-publisher 08:27:18 5eb5b503b376: Pulling fs layer 08:27:18 5c69ac0246d0: Pulling fs layer 08:27:18 ec43610c2a17: Pulling fs layer 08:27:18 3a2ae6a8a46f: Pulling fs layer 08:27:18 33b1e0a273af: Pulling fs layer 08:27:18 5d3b04190fa2: Pulling fs layer 08:27:18 2f39f015ded8: Pulling fs layer 08:27:18 5d3b04190fa2: Waiting 08:27:18 2f39f015ded8: Waiting 08:27:18 3a2ae6a8a46f: Waiting 08:27:18 33b1e0a273af: Waiting 08:27:18 5c69ac0246d0: Download complete 08:27:18 3a2ae6a8a46f: Download complete 08:27:18 33b1e0a273af: Verifying Checksum 08:27:18 33b1e0a273af: Download complete 08:27:18 5d3b04190fa2: Verifying Checksum 08:27:18 5d3b04190fa2: Download complete 08:27:18 ec43610c2a17: Verifying Checksum 08:27:18 ec43610c2a17: Download complete 08:27:18 5eb5b503b376: Verifying Checksum 08:27:18 5eb5b503b376: Download complete 08:27:19 2f39f015ded8: Download complete 08:27:19 v3.20.6-34-g03eb45c3b90 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main] 08:27:19 v3.20.6-34-g03eb45c3b90 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community] 08:27:19 OK: 24048 distinct packages available 08:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:27:20 5eb5b503b376: Pull complete 08:27:20 5c69ac0246d0: Pull complete 08:27:20 ec43610c2a17: Pull complete 08:27:20 3a2ae6a8a46f: Pull complete 08:27:20 33b1e0a273af: Pull complete 08:27:20 5d3b04190fa2: Pull complete 08:27:21 (1/30) Installing libgcc (13.2.1_git20240309-r1) 08:27:21 (2/30) Installing jansson (2.14-r4) 08:27:21 (3/30) Installing libstdc++ (13.2.1_git20240309-r1) 08:27:21 (4/30) Installing zstd-libs (1.5.6-r0) 08:27:21 (5/30) Installing binutils (2.42-r0) 08:27:21 (6/30) Installing libgomp (13.2.1_git20240309-r1) 08:27:21 (7/30) Installing libatomic (13.2.1_git20240309-r1) 08:27:21 (8/30) Installing gmp (6.3.0-r1) 08:27:21 (9/30) Installing isl26 (0.26-r1) 08:27:21 (10/30) Installing mpfr4 (4.2.1-r0) 08:27:21 (11/30) Installing mpc1 (1.3.1-r1) 08:27:21 (12/30) Installing gcc (13.2.1_git20240309-r1) 08:27:24 (13/30) Installing brotli-libs (1.1.0-r2) 08:27:24 (14/30) Installing c-ares (1.33.1-r0) 08:27:24 (15/30) Installing libunistring (1.2-r0) 08:27:24 (16/30) Installing libidn2 (2.3.7-r0) 08:27:24 (17/30) Installing nghttp2-libs (1.62.1-r0) 08:27:24 (18/30) Installing libpsl (0.21.5-r1) 08:27:24 (19/30) Installing libcurl (8.12.1-r0) 08:27:24 (20/30) Installing libexpat (2.6.4-r0) 08:27:24 (21/30) Installing pcre2 (10.43-r0) 08:27:24 (22/30) Installing git (2.45.3-r0) 08:27:24 (23/30) Installing git-init-template (2.45.3-r0) 08:27:24 (24/30) Installing make (4.4.1-r2) 08:27:24 (25/30) Installing musl-dev (1.2.5-r1) 08:27:24 2f39f015ded8: Pull complete 08:27:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:27:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:27:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:27:25 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:27:25 $ 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-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:27:25 (26/30) Installing pkgconf (2.2.0-r0) 08:27:25 (27/30) Installing libsodium (1.0.19-r0) 08:27:25 (28/30) Installing libzmq (4.3.5-r2) 08:27:25 (29/30) Installing libsodium-dev (1.0.19-r0) 08:27:25 (30/30) Installing zeromq-dev (4.3.5-r2) 08:27:25 Executing busybox-1.36.1-r29.trigger 08:27:25 OK: 165 MiB in 45 packages 08:27:27 $ docker top 3f4d54ca54af0dd589ec0dc9a19acf34fccab0b6ec9a9c9a4b906e93a03a806f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:27:28 ---> job-cost.sh 08:27:28 lf-activate-venv: SKIPPING 08:27:28 INFO: No Stack... 08:27:28 INFO: Retrieving Pricing Info for: v3-standard-8 08:27:28 INFO: Archiving Costs [Pipeline] sh 08:27:29 + cat /w/workspace/edgexfoundry_device-opc-ua_main/archives/cost.csv 08:27:29 + cut -d, -f6 [Pipeline] lock 08:27:29 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] 08:27:29 Resource [jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] did not exist. Created. 08:27:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:27:29 + echo total: 0.2199999988079071 [Pipeline] stash 08:27:29 Stashed 1 file(s) [Pipeline] } 08:27:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 08:27:29 $ docker stop --time=1 3f4d54ca54af0dd589ec0dc9a19acf34fccab0b6ec9a9c9a4b906e93a03a806f 08:27:30 $ docker rm -f --volumes 3f4d54ca54af0dd589ec0dc9a19acf34fccab0b6ec9a9c9a4b906e93a03a806f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:27:32 Removing intermediate container 7cfc1a319ad2 08:27:32 ---> c24bfab7535e 08:27:32 Step 4/5 : COPY . . 08:27:32 ---> 7714e1a64df6 08:27:32 Step 5/5 : RUN make build 08:27:32 ---> Running in 60bf948fc75e 08:27:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 08:27:33 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.26 08:27:33 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.30 08:27:33 go: downloading github.com/gopcua/opcua v0.5.3 08:27:33 go: downloading github.com/spf13/cast v1.7.1 08:27:33 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.29 08:27:33 go: downloading github.com/labstack/echo/v4 v4.13.3 08:27:33 go: downloading github.com/go-kit/log v0.2.1 08:27:33 go: downloading github.com/go-playground/validator/v10 v10.25.0 08:27:34 go: downloading github.com/google/uuid v1.6.0 08:27:34 go: downloading github.com/panjf2000/ants/v2 v2.11.1 08:27:34 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 08:27:34 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 08:27:34 go: downloading github.com/labstack/gommon v0.4.2 08:27:34 go: downloading golang.org/x/crypto v0.33.0 08:27:34 go: downloading golang.org/x/net v0.35.0 08:27:35 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:27:35 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 08:27:35 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 08:27:35 go: downloading github.com/go-playground/universal-translator v0.18.1 08:27:36 go: downloading github.com/leodido/go-urn v1.4.0 08:27:36 go: downloading golang.org/x/text v0.22.0 08:27:36 go: downloading github.com/OneOfOne/xxhash v1.2.8 08:27:36 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.18 08:27:36 go: downloading github.com/hashicorp/go-multierror v1.1.1 08:27:36 go: downloading gopkg.in/yaml.v3 v3.0.1 08:27:36 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.4 08:27:36 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 08:27:36 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.14 08:27:36 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.12 08:27:36 go: downloading github.com/mitchellh/copystructure v1.2.0 08:27:36 go: downloading github.com/mitchellh/mapstructure v1.5.0 08:27:36 go: downloading github.com/sirupsen/logrus v1.9.3 08:27:36 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 08:27:36 go: downloading github.com/openziti/sdk-golang v0.24.1 08:27:36 go: downloading golang.org/x/sync v0.11.0 08:27:37 go: downloading github.com/x448/float16 v0.8.4 08:27:37 go: downloading github.com/mattn/go-colorable v0.1.14 08:27:37 go: downloading github.com/mattn/go-isatty v0.0.20 08:27:37 go: downloading github.com/valyala/fasttemplate v1.2.2 08:27:37 go: downloading github.com/pkg/errors v0.9.1 08:27:37 go: downloading github.com/go-playground/locales v0.14.1 08:27:37 go: downloading golang.org/x/sys v0.30.0 08:27:37 go: downloading github.com/hashicorp/errwrap v1.1.0 08:27:37 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 08:27:37 go: downloading github.com/mitchellh/reflectwalk v1.0.2 08:27:37 go: downloading github.com/gorilla/websocket v1.5.3 08:27:37 go: downloading golang.org/x/time v0.8.0 08:27:38 go: downloading github.com/michaelquigley/pfxlog v0.6.10 08:27:38 go: downloading github.com/openziti/channel/v3 v3.0.27 08:27:38 go: downloading github.com/openziti/edge-api v0.26.38 08:27:38 go: downloading github.com/openziti/foundation/v2 v2.0.56 08:27:38 go: downloading github.com/openziti/secretstream v0.1.28 08:27:38 go: downloading github.com/openziti/transport/v2 v2.0.160 08:27:40 go: downloading github.com/valyala/bytebufferpool v1.0.0 08:27:40 go: downloading github.com/zeebo/errs v1.4.0 08:27:40 go: downloading google.golang.org/grpc v1.70.0 08:27:42 go: downloading github.com/go-openapi/runtime v0.28.0 08:27:42 go: downloading github.com/go-openapi/strfmt v0.23.0 08:27:42 go: downloading github.com/go-resty/resty/v2 v2.16.4 08:27:42 go: downloading github.com/openziti/identity v1.0.94 08:27:42 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 08:27:42 go: downloading github.com/zitadel/oidc/v2 v2.12.2 08:27:42 go: downloading golang.org/x/oauth2 v0.25.0 08:27:42 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 08:27:42 go: downloading github.com/kataras/go-events v0.0.3 08:27:42 go: downloading github.com/openziti/metrics v1.2.65 08:27:42 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 08:27:42 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 08:27:42 go: downloading google.golang.org/protobuf v1.36.3 08:27:42 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 08:27:44 go: downloading github.com/go-openapi/errors v0.22.0 08:27:44 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 08:27:44 go: downloading github.com/go-openapi/swag v0.23.0 08:27:44 go: downloading github.com/go-openapi/validate v0.24.0 08:27:44 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 08:27:44 go: downloading github.com/oklog/ulid v1.3.1 08:27:44 go: downloading go.mongodb.org/mongo-driver v1.17.0 08:27:45 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 08:27:45 go: downloading github.com/fsnotify/fsnotify v1.7.0 08:27:45 go: downloading github.com/opentracing/opentracing-go v1.2.0 08:27:45 go: downloading go.opentelemetry.io/otel v1.32.0 08:27:45 go: downloading go.opentelemetry.io/otel/trace v1.32.0 08:27:45 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 08:27:45 go: downloading github.com/gorilla/securecookie v1.1.2 08:27:45 go: downloading github.com/gorilla/schema v1.4.1 08:27:46 go: downloading github.com/muhlemmer/gu v0.3.1 08:27:46 go: downloading github.com/mitchellh/go-ps v1.0.0 08:27:46 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 08:27:46 go: downloading golang.org/x/term v0.29.0 08:27:46 go: downloading github.com/mailru/easyjson v0.7.7 08:27:46 go: downloading github.com/go-openapi/analysis v0.23.0 08:27:47 go: downloading github.com/go-openapi/jsonpointer v0.21.0 08:27:47 go: downloading github.com/go-openapi/loads v0.22.0 08:27:47 go: downloading github.com/go-openapi/spec v0.21.0 08:27:47 go: downloading github.com/go-logr/logr v1.4.2 08:27:47 go: downloading go.opentelemetry.io/otel/metric v1.32.0 08:27:47 go: downloading github.com/tklauser/go-sysconf v0.3.12 08:27:47 go: downloading github.com/josharian/intern v1.0.0 08:27:47 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 08:27:47 go: downloading github.com/go-logr/stdr v1.2.2 08:27:47 go: downloading github.com/tklauser/numcpus v0.6.1 08:27:47 go: downloading github.com/go-openapi/jsonreference v0.21.0 08:30:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:31:33 Removing intermediate container 60bf948fc75e 08:31:33 ---> 71c22bf027f5 08:31:33 [Warning] One or more build-args [BASE MAKE] were not consumed 08:31:33 Successfully built 71c22bf027f5 08:31:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:33 + docker inspect -f . ci-base-image-arm64 08:31:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:34 prd-ubuntu20.04-docker-arm64-4c-16g-40041 does not seem to be running inside a container 08:31:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-opc-ua/5 -v /w/workspace/device-opc-ua/5:/w/workspace/device-opc-ua/5:rw,z -v /w/workspace/device-opc-ua/5@tmp:/w/workspace/device-opc-ua/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:31:35 $ docker top 65716791d7f5359ad7108d03820825d521f56fa823162046a964ac890e306a09 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:36 + go version 08:31:36 go version go1.23.6 linux/arm64 [Pipeline] } 08:31:36 $ docker stop --time=1 65716791d7f5359ad7108d03820825d521f56fa823162046a964ac890e306a09 08:31:37 $ docker rm -f --volumes 65716791d7f5359ad7108d03820825d521f56fa823162046a964ac890e306a09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:31:38 + docker inspect -f . ci-base-image-arm64 08:31:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:31:38 prd-ubuntu20.04-docker-arm64-4c-16g-40041 does not seem to be running inside a container 08:31:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-opc-ua/5 -v /w/workspace/device-opc-ua/5:/w/workspace/device-opc-ua/5:rw,z -v /w/workspace/device-opc-ua/5@tmp:/w/workspace/device-opc-ua/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:31:39 $ docker top fc9e7769c8a4a584c901a53152bb7bbe064b0e50a0a6f05ecb448d4db862da91 -eo pid,comm [Pipeline] { [Pipeline] sh 08:31:40 + git config --global --add safe.directory /w/workspace/device-opc-ua/5 [Pipeline] fileExists [Pipeline] sh 08:31:41 + make test 08:31:41 go install github.com/jstemmer/go-junit-report@v0.9.1 08:31:41 go: downloading github.com/jstemmer/go-junit-report v0.9.1 08:32:08 go install github.com/axw/gocov/gocov@v1.0.0 08:32:08 go: downloading github.com/axw/gocov v1.0.0 08:32:08 go: downloading golang.org/x/tools v0.0.0-20190617190820-da514acc4774 08:32:20 go install github.com/AlekSi/gocov-xml@v1.0.0 08:32:20 go: downloading github.com/AlekSi/gocov-xml v1.0.0 08:32:20 go install github.com/jandelgado/gcov2lcov@v1.0.5 08:32:20 go: downloading github.com/jandelgado/gcov2lcov v1.0.5 08:32:23 rm -rf test-artifacts 08:32:23 mkdir test-artifacts 08:32:23 go test -v ./... -coverprofile=test-artifacts/cover.out | go-junit-report > test-artifacts/report.xml 08:32:23 go: downloading github.com/stretchr/testify v1.10.0 08:32:23 go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 08:32:23 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 08:35:45 gocov convert test-artifacts/cover.out | gocov-xml > test-artifacts/coverage.xml 08:35:45 gcov2lcov -infile=test-artifacts/cover.out -outfile=test-artifacts/coverage.lcov [Pipeline] echo 08:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:35:45 $ docker stop --time=1 fc9e7769c8a4a584c901a53152bb7bbe064b0e50a0a6f05ecb448d4db862da91 08:35:46 $ docker rm -f --volumes fc9e7769c8a4a584c901a53152bb7bbe064b0e50a0a6f05ecb448d4db862da91 [Pipeline] // withDockerContainer [Pipeline] sh 08:35:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:35:48 Warning: overwriting stash ‘coverage-report’ 08:35:49 Stashed 0 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:35:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:35:49 + ls -al . 08:35:49 total 188 08:35:49 drwxrwxr-x 9 jenkins jenkins 4096 Mar 3 08:32 . 08:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:26 .. 08:35:49 -rw-rw-r-- 1 jenkins jenkins 62 Mar 3 08:26 .dockerignore 08:35:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 08:35 .git 08:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:26 .github 08:35:49 -rw-rw-r-- 1 jenkins jenkins 84 Mar 3 08:26 .gitignore 08:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:26 .vscode 08:35:49 -rw-rw-r-- 1 jenkins jenkins 7466 Mar 3 08:26 Attribution.txt 08:35:49 -rw-rw-r-- 1 jenkins jenkins 1125 Mar 3 08:26 Dockerfile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 649 Mar 3 08:26 Jenkinsfile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 3 08:26 LICENSE 08:35:49 -rw-rw-r-- 1 jenkins jenkins 2185 Mar 3 08:26 Makefile 08:35:49 -rw-rw-r-- 1 jenkins jenkins 4109 Mar 3 08:26 README.md 08:35:49 -rw-rw-r-- 1 jenkins jenkins 11 Mar 3 08:24 VERSION 08:35:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 08:26 bin 08:35:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 08:26 cmd 08:35:49 -rw-rw-r-- 1 jenkins jenkins 6291 Mar 3 08:26 go.mod 08:35:49 -rw-rw-r-- 1 jenkins jenkins 86966 Mar 3 08:26 go.sum 08:35:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 08:26 internal 08:35:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 08:35 test-artifacts 08:35:49 -rw-rw-r-- 1 jenkins jenkins 260 Mar 3 08:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:35:50 + docker build -t device-opc-ua-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c --label arch=arm64 --label version=4.0.0-dev.2 . 08:35:50 Sending build context to Docker daemon 572.9kB 08:35:50 Step 1/19 : FROM golang:1.23-alpine3.20 AS builder 08:35:50 ---> 1e91ac193c3d 08:35:50 Step 2/19 : WORKDIR /device-opcua 08:35:50 ---> Using cache 08:35:50 ---> a4e093729d0b 08:35:50 Step 3/19 : RUN apk update && apk add --no-cache make git zeromq-dev gcc pkgconfig musl-dev 08:35:50 ---> Using cache 08:35:50 ---> c24bfab7535e 08:35:50 Step 4/19 : COPY . . 08:35:51 ---> 3ed796100aa1 08:35:51 Step 5/19 : RUN make build 08:35:51 ---> Running in 0e9be6029d96 08:35:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-opc-ua.Version=4.0.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-opcua ./cmd 08:35:52 go: downloading github.com/edgexfoundry/device-sdk-go/v4 v4.0.0-dev.26 08:35:52 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v4 v4.0.0-dev.30 08:35:52 go: downloading github.com/gopcua/opcua v0.5.3 08:35:53 go: downloading github.com/spf13/cast v1.7.1 08:35:53 go: downloading github.com/go-kit/log v0.2.1 08:35:53 go: downloading github.com/go-playground/validator/v10 v10.25.0 08:35:53 go: downloading github.com/google/uuid v1.6.0 08:35:53 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v4 v4.0.0-dev.29 08:35:53 go: downloading github.com/labstack/echo/v4 v4.13.3 08:35:53 go: downloading github.com/go-logfmt/logfmt v0.5.1 08:35:53 go: downloading github.com/gabriel-vasile/mimetype v1.4.8 08:35:53 go: downloading github.com/go-playground/universal-translator v0.18.1 08:35:53 go: downloading github.com/leodido/go-urn v1.4.0 08:35:53 go: downloading golang.org/x/crypto v0.33.0 08:35:54 go: downloading golang.org/x/text v0.22.0 08:35:54 go: downloading github.com/panjf2000/ants/v2 v2.11.1 08:35:54 go: downloading github.com/fxamacker/cbor/v2 v2.7.0 08:35:54 go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 08:35:54 go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 08:35:54 go: downloading github.com/labstack/gommon v0.4.2 08:35:55 go: downloading golang.org/x/net v0.35.0 08:35:55 go: downloading github.com/go-playground/locales v0.14.1 08:35:56 go: downloading github.com/OneOfOne/xxhash v1.2.8 08:35:56 go: downloading github.com/edgexfoundry/go-mod-messaging/v4 v4.0.0-dev.18 08:35:56 go: downloading github.com/hashicorp/go-multierror v1.1.1 08:35:56 go: downloading gopkg.in/yaml.v3 v3.0.1 08:35:56 go: downloading github.com/edgexfoundry/go-mod-registry/v4 v4.0.0-dev.4 08:35:56 go: downloading github.com/edgexfoundry/go-mod-configuration/v4 v4.0.0-dev.14 08:35:56 go: downloading github.com/mitchellh/copystructure v1.2.0 08:35:56 go: downloading github.com/eclipse/paho.mqtt.golang v1.5.0 08:35:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v4 v4.0.0-dev.12 08:35:57 go: downloading github.com/mitchellh/mapstructure v1.5.0 08:35:57 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 08:35:57 go: downloading github.com/openziti/sdk-golang v0.24.1 08:35:57 go: downloading github.com/sirupsen/logrus v1.9.3 08:35:57 go: downloading golang.org/x/sync v0.11.0 08:35:57 go: downloading github.com/x448/float16 v0.8.4 08:35:57 go: downloading github.com/pkg/errors v0.9.1 08:35:57 go: downloading golang.org/x/sys v0.30.0 08:35:57 go: downloading github.com/mattn/go-colorable v0.1.14 08:35:57 go: downloading github.com/mattn/go-isatty v0.0.20 08:35:57 go: downloading github.com/valyala/fasttemplate v1.2.2 08:35:58 go: downloading github.com/hashicorp/errwrap v1.1.0 08:35:58 go: downloading github.com/mitchellh/reflectwalk v1.0.2 08:35:58 go: downloading github.com/spiffe/go-spiffe/v2 v2.5.0 08:35:58 go: downloading github.com/gorilla/websocket v1.5.3 08:35:58 go: downloading golang.org/x/time v0.8.0 08:35:58 go: downloading github.com/michaelquigley/pfxlog v0.6.10 08:35:58 go: downloading github.com/openziti/channel/v3 v3.0.27 08:35:58 go: downloading github.com/openziti/edge-api v0.26.38 08:35:58 go: downloading github.com/openziti/foundation/v2 v2.0.56 08:35:58 go: downloading github.com/openziti/secretstream v0.1.28 08:35:58 go: downloading github.com/openziti/transport/v2 v2.0.160 08:35:59 go: downloading github.com/valyala/bytebufferpool v1.0.0 08:35:59 go: downloading github.com/zeebo/errs v1.4.0 08:35:59 go: downloading google.golang.org/grpc v1.70.0 08:36:01 go: downloading github.com/go-openapi/runtime v0.28.0 08:36:01 go: downloading github.com/go-openapi/strfmt v0.23.0 08:36:01 go: downloading github.com/go-resty/resty/v2 v2.16.4 08:36:02 go: downloading github.com/openziti/identity v1.0.94 08:36:02 go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 08:36:02 go: downloading github.com/zitadel/oidc/v2 v2.12.2 08:36:02 go: downloading golang.org/x/oauth2 v0.25.0 08:36:02 go: downloading github.com/cenkalti/backoff/v4 v4.3.0 08:36:02 go: downloading github.com/kataras/go-events v0.0.3 08:36:02 go: downloading github.com/openziti/metrics v1.2.65 08:36:02 go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d 08:36:02 go: downloading github.com/speps/go-hashids v2.0.0+incompatible 08:36:02 go: downloading google.golang.org/protobuf v1.36.3 08:36:02 go: downloading github.com/go-jose/go-jose/v4 v4.0.5 08:36:04 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241202173237-19429a94021a 08:36:04 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 08:36:04 go: downloading github.com/go-openapi/errors v0.22.0 08:36:04 go: downloading github.com/oklog/ulid v1.3.1 08:36:04 go: downloading go.mongodb.org/mongo-driver v1.17.0 08:36:04 go: downloading github.com/opentracing/opentracing-go v1.2.0 08:36:04 go: downloading go.opentelemetry.io/otel v1.32.0 08:36:05 go: downloading github.com/go-openapi/swag v0.23.0 08:36:05 go: downloading go.opentelemetry.io/otel/trace v1.32.0 08:36:05 go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa 08:36:05 go: downloading github.com/go-openapi/validate v0.24.0 08:36:06 go: downloading github.com/fsnotify/fsnotify v1.7.0 08:36:06 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 08:36:06 go: downloading github.com/gorilla/securecookie v1.1.2 08:36:06 go: downloading github.com/gorilla/schema v1.4.1 08:36:06 go: downloading github.com/muhlemmer/gu v0.3.1 08:36:06 go: downloading github.com/mitchellh/go-ps v1.0.0 08:36:06 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 08:36:07 go: downloading golang.org/x/term v0.29.0 08:36:07 go: downloading github.com/go-openapi/loads v0.22.0 08:36:07 go: downloading github.com/go-openapi/spec v0.21.0 08:36:07 go: downloading github.com/go-openapi/analysis v0.23.0 08:36:07 go: downloading github.com/go-logr/logr v1.4.2 08:36:07 go: downloading go.opentelemetry.io/otel/metric v1.32.0 08:36:07 go: downloading github.com/mailru/easyjson v0.7.7 08:36:07 go: downloading github.com/go-openapi/jsonpointer v0.21.0 08:36:07 go: downloading github.com/tklauser/go-sysconf v0.3.12 08:36:07 go: downloading github.com/go-logr/stdr v1.2.2 08:36:07 go: downloading github.com/josharian/intern v1.0.0 08:36:07 go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 08:36:07 go: downloading github.com/go-openapi/jsonreference v0.21.0 08:36:07 go: downloading github.com/tklauser/numcpus v0.6.1 08:39:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:39:46 Removing intermediate container 0e9be6029d96 08:39:46 ---> 55881ff28c2c 08:39:46 Step 6/19 : FROM alpine:3.20 08:39:47 3.20: Pulling from library/alpine 08:39:47 94e9d8af2201: Already exists 08:39:47 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:39:47 Status: Downloaded newer image for alpine:3.20 08:39:47 ---> 7aab056cecc6 08:39:47 Step 7/19 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 08:39:47 ---> Running in a94575d2cb49 08:39:47 Removing intermediate container a94575d2cb49 08:39:47 ---> e360caf93ffe 08:39:47 Step 8/19 : RUN apk add --update --no-cache zeromq dumb-init 08:39:47 ---> Running in 7afad58b20ad 08:39:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:39:50 (1/6) Installing dumb-init (1.2.5-r3) 08:39:50 (2/6) Installing libgcc (13.2.1_git20240309-r1) 08:39:50 (3/6) Installing libsodium (1.0.19-r0) 08:39:50 (4/6) Installing libstdc++ (13.2.1_git20240309-r1) 08:39:50 (5/6) Installing libzmq (4.3.5-r2) 08:39:50 (6/6) Installing zeromq (4.3.5-r2) 08:39:50 Executing busybox-1.36.1-r29.trigger 08:39:50 OK: 13 MiB in 20 packages 08:39:52 Removing intermediate container 7afad58b20ad 08:39:52 ---> 62bb86a3d4f0 08:39:52 Step 9/19 : RUN apk --no-cache upgrade 08:39:52 ---> Running in 19886365f6b3 08:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:39:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:39:54 OK: 13 MiB in 20 packages 08:39:54 Removing intermediate container 19886365f6b3 08:39:54 ---> ce66b4a7264b 08:39:54 Step 10/19 : EXPOSE 59997 08:39:55 ---> Running in 76642d191ade 08:39:55 Removing intermediate container 76642d191ade 08:39:55 ---> 4e53327f4233 08:39:55 Step 11/19 : COPY --from=builder /device-opcua/cmd/device-opcua / 08:39:57 ---> 41a9dfde05ab 08:39:57 Step 12/19 : COPY --from=builder /device-opcua/cmd/res /res 08:39:57 ---> f568e7f14c5b 08:39:57 Step 13/19 : COPY LICENSE / 08:39:58 ---> 99e47ab754d4 08:39:58 Step 14/19 : COPY --from=builder /device-opcua/Attribution.txt /Attribution.txt 08:39:59 ---> 395bb7413cfe 08:39:59 Step 15/19 : ENTRYPOINT ["/device-opcua"] 08:39:59 ---> Running in daf48c89c1a9 08:39:59 Removing intermediate container daf48c89c1a9 08:39:59 ---> eeffb763f7ba 08:39:59 Step 16/19 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:39:59 ---> Running in a81f826f4fb9 08:39:59 Removing intermediate container a81f826f4fb9 08:39:59 ---> fa7f864df1b3 08:39:59 Step 17/19 : LABEL arch=arm64 08:39:59 ---> Running in 1212d3a47617 08:39:59 Removing intermediate container 1212d3a47617 08:39:59 ---> 6052a45d0ad3 08:39:59 Step 18/19 : LABEL git_sha=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:40:00 ---> Running in 8026052905b8 08:40:00 Removing intermediate container 8026052905b8 08:40:00 ---> d745ae966ecf 08:40:00 Step 19/19 : LABEL version=4.0.0-dev.2 08:40:00 ---> Running in fbc89db03766 08:40:00 Removing intermediate container fbc89db03766 08:40:00 ---> ab46fc79af41 08:40:00 [Warning] One or more build-args [BASE MAKE ARCH] were not consumed 08:40:00 Successfully built ab46fc79af41 08:40:00 Successfully tagged device-opc-ua-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:40:00 provisioning config files... 08:40:00 copy managed file [device-opc-ua-settings] to file:/w/workspace/device-opc-ua/5@tmp/config7138170451780746291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:01 ---> ****-login.sh 08:40:01 nexus3.edgexfoundry.org:10001 08:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:40:01 Configure a credential helper to remove this warning. See 08:40:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:40:01 08:40:01 Login Succeeded 08:40:01 nexus3.edgexfoundry.org:10002 08:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:40:01 Configure a credential helper to remove this warning. See 08:40:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:40:01 08:40:01 Login Succeeded 08:40:01 nexus3.edgexfoundry.org:10003 08:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:40:02 Configure a credential helper to remove this warning. See 08:40:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:40:02 08:40:02 Login Succeeded 08:40:02 nexus3.edgexfoundry.org:10004 08:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:40:02 Configure a credential helper to remove this warning. See 08:40:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:40:02 08:40:02 Login Succeeded 08:40:02 ****.io 08:40:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:40:03 Configure a credential helper to remove this warning. See 08:40:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:40:03 08:40:03 Login Succeeded 08:40:03 ---> ****-login.sh ends [Pipeline] } 08:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:40:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:40:03 [edgeXDocker.push] Tagging docker image device-opc-ua-arm64 with the following tags: 08:40:03 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:40:03 latest 08:40:03 4.0.0-dev.2 08:40:03 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:40:03 main 08:40:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:03 + docker tag device-opc-ua-arm64 nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:03 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:40:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua-arm64] 08:40:03 804bb682e2d9: Preparing 08:40:03 0fa498b093b1: Preparing 08:40:03 7cfbb2d121d2: Preparing 08:40:03 24591fd6f2a8: Preparing 08:40:03 9b530bfa57ad: Preparing 08:40:03 db91e02a4765: Preparing 08:40:03 dd9c8f8612c8: Preparing 08:40:03 db91e02a4765: Waiting 08:40:03 dd9c8f8612c8: Waiting 08:40:04 0fa498b093b1: Pushed 08:40:04 804bb682e2d9: Pushed 08:40:04 7cfbb2d121d2: Pushed 08:40:04 9b530bfa57ad: Pushed 08:40:04 dd9c8f8612c8: Layer already exists 08:40:05 db91e02a4765: Pushed 08:40:15 24591fd6f2a8: Pushed 08:40:15 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c: digest: sha256:22dd0cc51d8603fe6487799cdd9e607d8eae623742d96c5e9097b983a9055277 size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:15 + docker tag device-opc-ua-arm64 nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:15 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:latest 08:40:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua-arm64] 08:40:15 804bb682e2d9: Preparing 08:40:15 0fa498b093b1: Preparing 08:40:15 7cfbb2d121d2: Preparing 08:40:15 24591fd6f2a8: Preparing 08:40:15 9b530bfa57ad: Preparing 08:40:15 db91e02a4765: Preparing 08:40:15 dd9c8f8612c8: Preparing 08:40:15 db91e02a4765: Waiting 08:40:15 dd9c8f8612c8: Waiting 08:40:15 0fa498b093b1: Layer already exists 08:40:15 9b530bfa57ad: Layer already exists 08:40:15 804bb682e2d9: Layer already exists 08:40:15 7cfbb2d121d2: Layer already exists 08:40:15 24591fd6f2a8: Layer already exists 08:40:15 dd9c8f8612c8: Layer already exists 08:40:15 db91e02a4765: Layer already exists 08:40:16 latest: digest: sha256:22dd0cc51d8603fe6487799cdd9e607d8eae623742d96c5e9097b983a9055277 size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:16 + docker tag device-opc-ua-arm64 nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:16 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:4.0.0-dev.2 08:40:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua-arm64] 08:40:16 804bb682e2d9: Preparing 08:40:16 0fa498b093b1: Preparing 08:40:16 7cfbb2d121d2: Preparing 08:40:16 24591fd6f2a8: Preparing 08:40:16 9b530bfa57ad: Preparing 08:40:16 db91e02a4765: Preparing 08:40:16 db91e02a4765: Waiting 08:40:16 dd9c8f8612c8: Preparing 08:40:16 dd9c8f8612c8: Waiting 08:40:16 804bb682e2d9: Layer already exists 08:40:16 7cfbb2d121d2: Layer already exists 08:40:16 0fa498b093b1: Layer already exists 08:40:16 9b530bfa57ad: Layer already exists 08:40:16 24591fd6f2a8: Layer already exists 08:40:16 db91e02a4765: Layer already exists 08:40:16 dd9c8f8612c8: Layer already exists 08:40:17 4.0.0-dev.2: digest: sha256:22dd0cc51d8603fe6487799cdd9e607d8eae623742d96c5e9097b983a9055277 size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:17 + docker tag device-opc-ua-arm64 nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:17 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:40:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua-arm64] 08:40:17 804bb682e2d9: Preparing 08:40:17 0fa498b093b1: Preparing 08:40:17 7cfbb2d121d2: Preparing 08:40:17 24591fd6f2a8: Preparing 08:40:17 9b530bfa57ad: Preparing 08:40:17 db91e02a4765: Preparing 08:40:17 dd9c8f8612c8: Preparing 08:40:17 db91e02a4765: Waiting 08:40:17 dd9c8f8612c8: Waiting 08:40:17 9b530bfa57ad: Layer already exists 08:40:17 804bb682e2d9: Layer already exists 08:40:17 24591fd6f2a8: Layer already exists 08:40:17 7cfbb2d121d2: Layer already exists 08:40:17 0fa498b093b1: Layer already exists 08:40:17 db91e02a4765: Layer already exists 08:40:17 dd9c8f8612c8: Layer already exists 08:40:17 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2: digest: sha256:22dd0cc51d8603fe6487799cdd9e607d8eae623742d96c5e9097b983a9055277 size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:18 + docker tag device-opc-ua-arm64 nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:18 + docker push nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:main 08:40:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-opc-ua-arm64] 08:40:18 804bb682e2d9: Preparing 08:40:18 0fa498b093b1: Preparing 08:40:18 7cfbb2d121d2: Preparing 08:40:18 24591fd6f2a8: Preparing 08:40:18 9b530bfa57ad: Preparing 08:40:18 db91e02a4765: Preparing 08:40:18 dd9c8f8612c8: Preparing 08:40:18 db91e02a4765: Waiting 08:40:18 dd9c8f8612c8: Waiting 08:40:18 7cfbb2d121d2: Layer already exists 08:40:18 0fa498b093b1: Layer already exists 08:40:18 24591fd6f2a8: Layer already exists 08:40:18 9b530bfa57ad: Layer already exists 08:40:18 804bb682e2d9: Layer already exists 08:40:18 db91e02a4765: Layer already exists 08:40:18 dd9c8f8612c8: Layer already exists 08:40:19 main: digest: sha256:22dd0cc51d8603fe6487799cdd9e607d8eae623742d96c5e9097b983a9055277 size: 1782 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:40:19 ===================================================== [Pipeline] echo 08:40:19 taggedImages: 08:40:19 - nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c 08:40:19 - nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:latest 08:40:19 - nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:4.0.0-dev.2 08:40:19 - nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:e5113cae9f55a885cd3ab0c49ffe2573e5538b3c-4.0.0-dev.2 08:40:19 - nexus3.edgexfoundry.org:10004/device-opc-ua-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:19 08:40:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:19 arm64: Pulling from edgex-lftools-log-publisher 08:40:19 8998bd30e6a1: Pulling fs layer 08:40:19 04944245beec: Pulling fs layer 08:40:19 699f458cf7ca: Pulling fs layer 08:40:19 765212b225bb: Pulling fs layer 08:40:19 f23df028b6ca: Pulling fs layer 08:40:19 d65c8cfc05b1: Pulling fs layer 08:40:19 2437ff75d9bd: Pulling fs layer 08:40:19 765212b225bb: Waiting 08:40:19 f23df028b6ca: Waiting 08:40:19 d65c8cfc05b1: Waiting 08:40:19 2437ff75d9bd: Waiting 08:40:20 04944245beec: Verifying Checksum 08:40:20 04944245beec: Download complete 08:40:20 765212b225bb: Verifying Checksum 08:40:20 765212b225bb: Download complete 08:40:20 f23df028b6ca: Verifying Checksum 08:40:20 f23df028b6ca: Download complete 08:40:20 d65c8cfc05b1: Verifying Checksum 08:40:20 d65c8cfc05b1: Download complete 08:40:20 699f458cf7ca: Verifying Checksum 08:40:20 699f458cf7ca: Download complete 08:40:20 8998bd30e6a1: Verifying Checksum 08:40:20 8998bd30e6a1: Download complete 08:40:23 2437ff75d9bd: Verifying Checksum 08:40:23 2437ff75d9bd: Download complete 08:40:25 8998bd30e6a1: Pull complete 08:40:25 04944245beec: Pull complete 08:40:27 699f458cf7ca: Pull complete 08:40:27 765212b225bb: Pull complete 08:40:28 f23df028b6ca: Pull complete 08:40:28 d65c8cfc05b1: Pull complete 08:40:46 2437ff75d9bd: Pull complete 08:40:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:40:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:40:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:40:47 prd-ubuntu20.04-docker-arm64-4c-16g-40041 does not seem to be running inside a container 08:40:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-opc-ua/5 -v /w/workspace/device-opc-ua/5:/w/workspace/device-opc-ua/5:rw,z -v /w/workspace/device-opc-ua/5@tmp:/w/workspace/device-opc-ua/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:40:49 $ docker top 5138bb09b057e961f92d6414711fc7f773b870a7dc02ddb9be936b942e59c929 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:40:50 ---> job-cost.sh 08:40:50 lf-activate-venv: SKIPPING 08:40:50 INFO: No Stack... 08:40:50 INFO: Retrieving Pricing Info for: v3-standard-4 08:40:51 INFO: Archiving Costs [Pipeline] sh 08:40:52 + cat /w/workspace/device-opc-ua/5/archives/cost.csv 08:40:52 + cut -d, -f6 [Pipeline] lock 08:40:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] 08:40:52 Resource [jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] did not exist. Created. 08:40:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:40:53 /w/workspace/device-opc-ua/5@tmp/durable-38cb21b0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:40:53 + echo total: 0.10999999940395355 [Pipeline] stash 08:40:53 Warning: overwriting stash ‘stack-cost’ 08:40:53 Stashed 1 file(s) [Pipeline] } 08:40:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-opc-ua-main-5-stack-cost] [Pipeline] // lock [Pipeline] } 08:40:53 $ docker stop --time=1 5138bb09b057e961f92d6414711fc7f773b870a7dc02ddb9be936b942e59c929 08:40:55 $ docker rm -f --volumes 5138bb09b057e961f92d6414711fc7f773b870a7dc02ddb9be936b942e59c929 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:40:55 provisioning config files... 08:40:55 copy managed file [device-opc-ua-codecov-token] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config982431692883225177tmp [Pipeline] { [Pipeline] sh 08:40:56 + set +x 08:40:56 + curl -s https://codecov.io/bash 08:40:56 + bash -s -- 08:40:56 08:40:56 _____ _ 08:40:56 / ____| | | 08:40:56 | | ___ __| | ___ ___ _____ __ 08:40:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:40:56 | |___| (_) | (_| | __/ (_| (_) \ V / 08:40:56 \_____\___/ \__,_|\___|\___\___/ \_/ 08:40:56 Bash-1.0.6 08:40:56 08:40:56 08:40:56 ==> git version 2.25.1 found 08:40:56 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:40:56 Release-Date: 2020-01-08 08:40:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:40:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:40:56 ==> Jenkins CI detected. 08:40:56 current dir:  /w/workspace/edgexfoundry_device-opc-ua_main 08:40:56 project root: . 08:40:56 --> token set from env 08:40:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:40:56 ==> Running gcov in . (disable via -X gcov) 08:40:56 ==> Python coveragepy not found 08:40:56 ==> Searching for coverage reports in: 08:40:56 + . 08:40:56 -> Found 4 reports 08:40:56 ==> Detecting git/mercurial file structure 08:40:56 ==> Reading reports 08:40:56 + ./test-artifacts/coverage.lcov bytes=561 08:40:56 + ./test-artifacts/cover.out bytes=2241 08:40:56 + ./test-artifacts/coverage.xml bytes=6158 08:40:56 + ./test-artifacts/report.xml bytes=4152 08:40:56 ==> Appending adjustments 08:40:56 https://docs.codecov.io/docs/fixing-reports 08:40:56 + Found adjustments 08:40:56 ==> Gzipping contents 08:40:56 4.0K /tmp/codecov.zL7f8N.gz 08:40:56 ==> Uploading reports 08:40:56 url: https://codecov.io 08:40:56 query: branch=main&commit=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-opc-ua%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-opc-ua&service=jenkins&flags=&pr=&job=&cmd_args= 08:40:56 -> Pinging Codecov 08:40:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e5113cae9f55a885cd3ab0c49ffe2573e5538b3c&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-opc-ua%2Fjob%2Fmain%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-opc-ua&service=jenkins&flags=&pr=&job=&cmd_args= 08:40:56 -> Uploading to 08:40:56 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-opc-ua/e5113cae9f55a885cd3ab0c49ffe2573e5538b3c/8ad95fc3-e68e-405e-81fb-e3b2d9af384c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250303%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250303T084056Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=e4ab8399f0541ae7e02a429046accc747adb79a41d6a41143e78a8252bb40464 08:40:56 % Total % Received % Xferd Average Speed Time Time Time Current 08:40:56 Dload Upload Total Spent Left Speed 08:40:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3505 0 0 100 3505 0 11091 --:--:-- --:--:-- --:--:-- 11091 08:40:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-opc-ua/commit/e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] } 08:40:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:40:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:40:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:40:57 08:40:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:40:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:40:57 latest: Pulling from edgex-devops/edgex-snyk-go 08:40:57 43c4264eed91: Pulling fs layer 08:40:57 4cc291be95ef: Pulling fs layer 08:40:57 2ac1f1163629: Pulling fs layer 08:40:57 5c3c966382ef: Pulling fs layer 08:40:57 4f4fb700ef54: Pulling fs layer 08:40:57 d9c7d2e4e75e: Pulling fs layer 08:40:57 9c3e1370e548: Pulling fs layer 08:40:57 5c3c966382ef: Waiting 08:40:57 9c3e1370e548: Waiting 08:40:57 d9c7d2e4e75e: Waiting 08:40:57 4f4fb700ef54: Waiting 08:40:57 4cc291be95ef: Verifying Checksum 08:40:57 4cc291be95ef: Download complete 08:40:57 5c3c966382ef: Verifying Checksum 08:40:57 5c3c966382ef: Download complete 08:40:57 4f4fb700ef54: Verifying Checksum 08:40:57 4f4fb700ef54: Download complete 08:40:57 43c4264eed91: Download complete 08:40:58 43c4264eed91: Pull complete 08:40:58 d9c7d2e4e75e: Verifying Checksum 08:40:58 d9c7d2e4e75e: Download complete 08:40:58 4cc291be95ef: Pull complete 08:40:58 2ac1f1163629: Verifying Checksum 08:40:58 2ac1f1163629: Download complete 08:40:59 9c3e1370e548: Verifying Checksum 08:40:59 9c3e1370e548: Download complete 08:41:02 2ac1f1163629: Pull complete 08:41:02 5c3c966382ef: Pull complete 08:41:02 4f4fb700ef54: Pull complete 08:41:02 d9c7d2e4e75e: Pull complete 08:41:04 9c3e1370e548: Pull complete 08:41:04 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:41:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:41:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:04 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:41:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:41:08 $ docker top 169194aa1d5ceb1ec58a096c1c6c6df825919d72371a9913423c36f7591f2f05 -eo pid,comm [Pipeline] { [Pipeline] sh 08:41:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-opc-ua_main [Pipeline] echo 08:41:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-opc-ua:main' [Pipeline] sh 08:41:08 + set -o pipefail 08:41:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-opc-ua:main' 08:41:16 08:41:16 Monitoring /w/workspace/edgexfoundry_device-opc-ua_main (github.com/edgexfoundry/device-opc-ua)... 08:41:16 08:41:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/3cf99318-0193-4c3c-b62c-841d5a6b07bf/history/04c40274-fc4d-4b8f-8793-a3ffb6cccc68 08:41:16 08:41:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:41:16 [Pipeline] } 08:41:16 $ docker stop --time=1 169194aa1d5ceb1ec58a096c1c6c6df825919d72371a9913423c36f7591f2f05 08:41:20 $ docker rm -f --volumes 169194aa1d5ceb1ec58a096c1c6c6df825919d72371a9913423c36f7591f2f05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:41:21 + git log --format=format:%s -1 e5113cae9f55a885cd3ab0c49ffe2573e5538b3c [Pipeline] sh 08:41:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:41:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:22 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:41:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:41:22 $ docker top 140e3e4eb19c468af54813d9a2f7b2230af81059077a9d6aa53b8468d51da598 -eo pid,comm 08:41:22 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). 08:41:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:41:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:41:23 [ssh-agent] Looking for ssh-agent implementation... 08:41:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:41:23 $ docker exec 140e3e4eb19c468af54813d9a2f7b2230af81059077a9d6aa53b8468d51da598 ssh-agent 08:41:23 SSH_AUTH_SOCK=/tmp/ssh-ZDQNT1eBeCGf/agent.33 08:41:23 SSH_AGENT_PID=39 08:41:23 Running ssh-add (command line suppressed) 08:41:23 Identity added: /w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_7057152888306786218.key (/w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_7057152888306786218.key) 08:41:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:41:23 + git semver tag 08:41:23 2025-03-03 08:41:23,828 [run_tag] DEBUG tag force:False 08:41:23 2025-03-03 08:41:23,828 [check_head_tag] DEBUG check head tag 08:41:23 2025-03-03 08:41:23,828 [execute] INFO git cat-file --batch-check 08:41:23 2025-03-03 08:41:23,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main, universal_newlines=False, shell=None, istream=) 08:41:23 2025-03-03 08:41:23,831 [execute] INFO git cat-file --batch 08:41:23 2025-03-03 08:41:23,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main, universal_newlines=False, shell=None, istream=) 08:41:23 2025-03-03 08:41:23,836 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:23 2025-03-03 08:41:23,836 [execute] INFO git tag -a v4.0.0-dev.2 -m v4.0.0-dev.2 08:41:23 2025-03-03 08:41:23,836 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.2', '-m', 'v4.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main, universal_newlines=False, shell=None, istream=None) 08:41:23 2025-03-03 08:41:23,841 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:23 4.0.0-dev.2 [Pipeline] } 08:41:23 $ docker exec --env ******** --env ******** 140e3e4eb19c468af54813d9a2f7b2230af81059077a9d6aa53b8468d51da598 ssh-agent -k 08:41:24 unset SSH_AUTH_SOCK; 08:41:24 unset SSH_AGENT_PID; 08:41:24 echo Agent pid 39 killed; 08:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:41:24 + git semver [Pipeline] } 08:41:24 $ docker stop --time=1 140e3e4eb19c468af54813d9a2f7b2230af81059077a9d6aa53b8468d51da598 08:41:25 $ docker rm -f --volumes 140e3e4eb19c468af54813d9a2f7b2230af81059077a9d6aa53b8468d51da598 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:41:26 08:41:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:41:26 0.23.1-centos7: Pulling from edgex-lftools 08:41:26 ab5ef0e58194: Pulling fs layer 08:41:26 9712f1f96733: Pulling fs layer 08:41:26 63f879dbbcfc: Pulling fs layer 08:41:26 0d9ebad4ef96: Pulling fs layer 08:41:26 e9a5061849ea: Pulling fs layer 08:41:26 d747dcd14b5f: Pulling fs layer 08:41:26 2de7ff778b66: Pulling fs layer 08:41:26 e9a5061849ea: Waiting 08:41:26 d747dcd14b5f: Waiting 08:41:26 2de7ff778b66: Waiting 08:41:26 0d9ebad4ef96: Waiting 08:41:26 9712f1f96733: Verifying Checksum 08:41:26 9712f1f96733: Download complete 08:41:26 63f879dbbcfc: Verifying Checksum 08:41:26 63f879dbbcfc: Download complete 08:41:27 e9a5061849ea: Verifying Checksum 08:41:27 e9a5061849ea: Download complete 08:41:27 d747dcd14b5f: Download complete 08:41:27 0d9ebad4ef96: Verifying Checksum 08:41:27 0d9ebad4ef96: Download complete 08:41:27 2de7ff778b66: Verifying Checksum 08:41:27 2de7ff778b66: Download complete 08:41:27 ab5ef0e58194: Verifying Checksum 08:41:27 ab5ef0e58194: Download complete 08:41:29 ab5ef0e58194: Pull complete 08:41:29 9712f1f96733: Pull complete 08:41:30 63f879dbbcfc: Pull complete 08:41:35 0d9ebad4ef96: Pull complete 08:41:35 e9a5061849ea: Pull complete 08:41:35 d747dcd14b5f: Pull complete 08:41:35 2de7ff778b66: Pull complete 08:41:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:41:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:41:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:35 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:41:40 $ docker top 241f097cd4c0fda2a5e03b92f879777703b804275f622c92bdb5eba39ddbc985 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:41:40 provisioning config files... 08:41:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config12924297532279078412tmp 08:41:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config12979675181382245239tmp 08:41:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config8724295576374941757tmp [Pipeline] { [Pipeline] echo 08:41:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:41:40 ---> sigul-configuration.sh 08:41:40 gpg: directory `/root/.gnupg' created 08:41:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:41:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:41:40 gpg: keyring `/root/.gnupg/secring.gpg' created 08:41:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:41:40 gpg: CAST5 encrypted data 08:41:40 gpg: encrypted with 1 passphrase 08:41:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:41:40 + mkdir /home/jenkins 08:41:40 + mkdir /home/jenkins/sigul [Pipeline] sh 08:41:41 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:41:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:41:41 ---> sigul-install.sh 08:41:41 Sigul already installed; skipping installation. [Pipeline] sh 08:41:41 + git tag --list 08:41:41 v4.0.0-dev.1 08:41:41 v4.0.0-dev.2 [Pipeline] sh 08:41:42 + lftools sign git-tag v4.0.0-dev.2 08:41:42 Signing Git tag with Sigul... 08:41:42 Signing v4.0.0-dev.2 [Pipeline] echo 08:41:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:41:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:41:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:41:43 $ docker stop --time=1 241f097cd4c0fda2a5e03b92f879777703b804275f622c92bdb5eba39ddbc985 08:41:44 $ docker rm -f --volumes 241f097cd4c0fda2a5e03b92f879777703b804275f622c92bdb5eba39ddbc985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:41:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:41:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:45 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:41:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:41:45 $ docker top d269ef1cf51dc19e7442576d188de3ed99c7dc426c227e97ef50ead948ff5518 -eo pid,comm 08:41:45 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). 08:41:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:41:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:41:45 [ssh-agent] Looking for ssh-agent implementation... 08:41:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:41:46 $ docker exec d269ef1cf51dc19e7442576d188de3ed99c7dc426c227e97ef50ead948ff5518 ssh-agent 08:41:46 SSH_AUTH_SOCK=/tmp/ssh-ETUzNh9N42px/agent.31 08:41:46 SSH_AGENT_PID=38 08:41:46 Running ssh-add (command line suppressed) 08:41:46 Identity added: /w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_14083744328402735121.key (/w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_14083744328402735121.key) 08:41:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:41:46 + git semver bump pre 08:41:46 2025-03-03 08:41:46,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:46 2025-03-03 08:41:46,786 [bump_version] DEBUG bumping version:4.0.0-dev.2 on axis:pre with prefix:dev 08:41:46 2025-03-03 08:41:46,786 [bump_version] DEBUG bumped version:4.0.0-dev.3 08:41:46 2025-03-03 08:41:46,786 [write_version] DEBUG write version:4.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-opc-ua_main/.semver/main with force:True 08:41:46 2025-03-03 08:41:46,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:46 2025-03-03 08:41:46,786 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:46 2025-03-03 08:41:46,788 [execute] INFO git cat-file --batch-check 08:41:46 2025-03-03 08:41:46,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=False, shell=None, istream=) 08:41:46 2025-03-03 08:41:46,794 [execute] INFO git cat-file --batch 08:41:46 2025-03-03 08:41:46,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=False, shell=None, istream=) 08:41:46 2025-03-03 08:41:46,800 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:46 4.0.0-dev.3 [Pipeline] } 08:41:46 $ docker exec --env ******** --env ******** d269ef1cf51dc19e7442576d188de3ed99c7dc426c227e97ef50ead948ff5518 ssh-agent -k 08:41:46 unset SSH_AUTH_SOCK; 08:41:46 unset SSH_AGENT_PID; 08:41:46 echo Agent pid 38 killed; 08:41:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:41:47 + git semver [Pipeline] } 08:41:47 $ docker stop --time=1 d269ef1cf51dc19e7442576d188de3ed99c7dc426c227e97ef50ead948ff5518 08:41:48 $ docker rm -f --volumes d269ef1cf51dc19e7442576d188de3ed99c7dc426c227e97ef50ead948ff5518 [Pipeline] // withDockerContainer [Pipeline] sh 08:41:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:41:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:41:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:41:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:41:49 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:41:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:41:49 $ docker top ca52b2f534a15f6bf5e8c6410f3c1a215acaf070f31c70bd80b266678a210b18 -eo pid,comm 08:41:50 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). 08:41:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:41:50 [ssh-agent] Looking for ssh-agent implementation... 08:41:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:41:50 $ docker exec ca52b2f534a15f6bf5e8c6410f3c1a215acaf070f31c70bd80b266678a210b18 ssh-agent 08:41:50 SSH_AUTH_SOCK=/tmp/ssh-he3EFyiMCPnM/agent.33 08:41:50 SSH_AGENT_PID=40 08:41:50 Running ssh-add (command line suppressed) 08:41:50 Identity added: /w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_10474733504257741751.key (/w/workspace/edgexfoundry_device-opc-ua_main@tmp/private_key_10474733504257741751.key) 08:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:41:50 + git semver push 08:41:50 2025-03-03 08:41:50,876 [run_push] DEBUG push 08:41:50 2025-03-03 08:41:50,877 [execute] INFO git cat-file --batch-check 08:41:50 2025-03-03 08:41:50,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=False, shell=None, istream=) 08:41:50 2025-03-03 08:41:50,881 [execute] INFO git rev-list 04c7517d76cf2a9b097c048fdf987278e52e6a6c -- 08:41:50 2025-03-03 08:41:50,881 [execute] DEBUG Popen(['git', 'rev-list', '04c7517d76cf2a9b097c048fdf987278e52e6a6c', '--'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=False, shell=None, istream=None) 08:41:50 2025-03-03 08:41:50,886 [execute] INFO git fetch -v origin 08:41:50 2025-03-03 08:41:50,886 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=True, shell=None, istream=None) 08:41:51 2025-03-03 08:41:51,339 [run_push] DEBUG no remote changes detected 08:41:51 2025-03-03 08:41:51,339 [execute] INFO git push origin semver 08:41:51 2025-03-03 08:41:51,340 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main/.semver, universal_newlines=False, shell=None, istream=None) 08:41:52 2025-03-03 08:41:52,030 [run_push] DEBUG push all version tags 08:41:52 2025-03-03 08:41:52,031 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 08:41:52 2025-03-03 08:41:52,031 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-opc-ua_main, universal_newlines=False, shell=None, istream=None) 08:41:57 2025-03-03 08:41:56,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-opc-ua_main/.semver/main 08:41:57 4.0.0-dev.3 [Pipeline] } 08:41:57 $ docker exec --env ******** --env ******** ca52b2f534a15f6bf5e8c6410f3c1a215acaf070f31c70bd80b266678a210b18 ssh-agent -k 08:41:57 unset SSH_AUTH_SOCK; 08:41:57 unset SSH_AGENT_PID; 08:41:57 echo Agent pid 40 killed; 08:41:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:41:57 + git semver [Pipeline] } 08:41:58 $ docker stop --time=1 ca52b2f534a15f6bf5e8c6410f3c1a215acaf070f31c70bd80b266678a210b18 08:41:59 $ docker rm -f --volumes ca52b2f534a15f6bf5e8c6410f3c1a215acaf070f31c70bd80b266678a210b18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 08:41:59 + [ -d /w/workspace/edgexfoundry_device-opc-ua_main/archives ] 08:41:59 + ls -al /w/workspace/edgexfoundry_device-opc-ua_main/archives 08:41:59 total 16 08:41:59 drwxr-xr-x 3 root root 4096 Mar 3 08:27 . 08:41:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 08:41 .. 08:41:59 drwxr-xr-x 2 root root 4096 Mar 3 08:27 cost 08:41:59 -rw-r--r-- 1 root root 83 Mar 3 08:27 cost.csv 08:41:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-opc-ua_main/archives 08:41:59 + ls -al /w/workspace/edgexfoundry_device-opc-ua_main/archives 08:41:59 total 16 08:41:59 drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 08:27 . 08:41:59 drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 08:41 .. 08:41:59 drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 08:27 cost 08:41:59 -rw-r--r-- 1 jenkins jenkins 83 Mar 3 08:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:42:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:42:01 ---> package-listing.sh 08:42:01 ++ facter osfamily 08:42:01 ++ tr '[:upper:]' '[:lower:]' 08:42:01 + OS_FAMILY=debian 08:42:01 + workspace=/w/workspace/edgexfoundry_device-opc-ua_main 08:42:01 + START_PACKAGES=/tmp/packages_start.txt 08:42:01 + END_PACKAGES=/tmp/packages_end.txt 08:42:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:42:01 + PACKAGES=/tmp/packages_start.txt 08:42:01 + '[' /w/workspace/edgexfoundry_device-opc-ua_main ']' 08:42:01 + PACKAGES=/tmp/packages_end.txt 08:42:01 + case "${OS_FAMILY}" in 08:42:01 + dpkg -l 08:42:01 + grep '^ii' 08:42:01 + '[' -f /tmp/packages_start.txt ']' 08:42:01 + '[' -f /tmp/packages_end.txt ']' 08:42:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:42:01 + '[' /w/workspace/edgexfoundry_device-opc-ua_main ']' 08:42:01 + mkdir -p /w/workspace/edgexfoundry_device-opc-ua_main/archives/ 08:42:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-opc-ua_main/archives/ [Pipeline] echo 08:42:01 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-opc-ua_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:42:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:42:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:42:02 prd-ubuntu20.04-docker-8c-8g-40040 does not seem to be running inside a container 08:42:02 $ 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-opc-ua_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-opc-ua_main -v /w/workspace/edgexfoundry_device-opc-ua_main:/w/workspace/edgexfoundry_device-opc-ua_main:rw,z -v /w/workspace/edgexfoundry_device-opc-ua_main@tmp:/w/workspace/edgexfoundry_device-opc-ua_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:42:02 $ docker top bf605837a843d2597ba265dce98e0971a78a4339dbb694c45ccf8bae19bc80b3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:42:02 + touch /tmp/pre-build-complete [Pipeline] sh 08:42:03 + mkdir -p /var/log/sysstat [Pipeline] sh 08:42:03 + ls /var/log/sa-host 08:42:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:42:03 provisioning config files... 08:42:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-opc-ua_main@tmp/config18062414084738925983tmp [Pipeline] { [Pipeline] echo 08:42:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:42:03 ---> create-netrc.sh [Pipeline] } 08:42:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:42:04 ---> python-tools-install.sh [Pipeline] echo 08:42:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:42:04 ---> sudo-logs.sh 08:42:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:42:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:42:04 ---> job-cost.sh 08:42:04 lf-activate-venv: SKIPPING 08:42:04 DEBUG: total: 0.2199999988079071 08:42:04 INFO: Retrieving Stack Cost... 08:42:05 INFO: Retrieving Pricing Info for: v3-standard-8 08:42:05 INFO: Archiving Costs [Pipeline] echo 08:42:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:42:05 ---> logs-deploy.sh 08:42:05 lf-activate-venv: SKIPPING 08:42:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-opc-ua/main/5 08:42:05 INFO: archiving workspace using pattern(s): 08:42:06 Archives upload complete. 08:42:06 INFO: archiving logs to Nexus