Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4+9e152f0eea3cbe8e1fbe8298102668336ecdbf0d (05a835963de83ca84e44cb603ddc1dcb12ff07ea) 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-ssh16436505300266697536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6313514693365834174.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 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18322320653563615387.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5018605512940024834.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18218607665294726425.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11255398530308776891.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4207 in /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 Merge succeeded, producing 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 Checking out Revision 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 (PR-439) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:19:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:19:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:19:14 ========================================================= 03:19:14 EdgeX Global Pipelines Version Info 03:19:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:19:15 ------------------- 03:19:15 stable info: 03:19:15 ------------------- 03:19:15 Commited By: Ginny Guan ginny@iotechsys.com 03:19:15 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:19:15 Message: update stable to v1.0.260 03:19:15 ------------------- 03:19:15 experimental info: 03:19:15 ------------------- 03:19:15 Commited By: Ginny Guan ginny@iotechsys.com 03:19:15 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:19:15 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:19:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:19:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo 03:19:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45fa7d0 [Pipeline] echo 03:19:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:18 provisioning config files... 03:19:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config16151940722924582942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:18 ---> ****-login.sh 03:19:18 nexus3.edgexfoundry.org:10001 03:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:18 Configure a credential helper to remove this warning. See 03:19:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:18 03:19:18 Login Succeeded 03:19:18 nexus3.edgexfoundry.org:10002 03:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:19 Configure a credential helper to remove this warning. See 03:19:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:19 03:19:19 Login Succeeded 03:19:19 nexus3.edgexfoundry.org:10003 03:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:19 Configure a credential helper to remove this warning. See 03:19:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:19 03:19:19 Login Succeeded 03:19:19 nexus3.edgexfoundry.org:10004 03:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:19 Configure a credential helper to remove this warning. See 03:19:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:19 03:19:19 Login Succeeded 03:19:19 ****.io 03:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:19 Configure a credential helper to remove this warning. See 03:19:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:19 03:19:19 Login Succeeded 03:19:19 ---> ****-login.sh ends [Pipeline] } 03:19:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:19:20 + git rev-list -1 --merges 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4~1..45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo 03:19:20 -----------> git rev-list -1 --merges 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4~1..45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [false] [Pipeline] sh 03:19:20 + git log --format=format:%s -1 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo 03:19:20 ========================================================= 03:19:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:19:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:21 + git log --format=format:%s -1 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] echo 03:19:21 [semverPrep] GIT_COMMIT: 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2 [Pipeline] echo 03:19:21 [semverPrep] This is not a build commit. [Pipeline] sh 03:19:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:19:21 + grep -v github /etc/ssh/ssh_known_hosts 03:19:21 + [ -e /tmp/ssh_known_hosts ] 03:19:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:19:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:19:21 + sudo tee -a /etc/ssh/ssh_known_hosts 03:19:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:22 03:19:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:22 0.1.4: Pulling from edgex-devops/py-git-semver 03:19:22 b85a868b505f: Pulling fs layer 03:19:22 e2be974225ed: Pulling fs layer 03:19:22 339a4e72a1f5: Pulling fs layer 03:19:22 988bab9f4d93: Pulling fs layer 03:19:22 1469e6f7b9e6: Pulling fs layer 03:19:22 eaf3925da568: Pulling fs layer 03:19:22 bab4dde63d76: Pulling fs layer 03:19:22 bde34c3a00c8: Pulling fs layer 03:19:22 b352a97aabf1: Pulling fs layer 03:19:22 4872d77fe225: Pulling fs layer 03:19:22 5851b861e8e6: Pulling fs layer 03:19:22 1469e6f7b9e6: Waiting 03:19:22 eaf3925da568: Waiting 03:19:22 bab4dde63d76: Waiting 03:19:22 bde34c3a00c8: Waiting 03:19:22 b352a97aabf1: Waiting 03:19:22 5851b861e8e6: Waiting 03:19:22 4872d77fe225: Waiting 03:19:22 988bab9f4d93: Waiting 03:19:22 e2be974225ed: Verifying Checksum 03:19:22 e2be974225ed: Download complete 03:19:22 988bab9f4d93: Verifying Checksum 03:19:22 988bab9f4d93: Download complete 03:19:22 1469e6f7b9e6: Verifying Checksum 03:19:22 1469e6f7b9e6: Download complete 03:19:22 339a4e72a1f5: Verifying Checksum 03:19:22 339a4e72a1f5: Download complete 03:19:22 eaf3925da568: Verifying Checksum 03:19:22 eaf3925da568: Download complete 03:19:22 bde34c3a00c8: Download complete 03:19:22 b352a97aabf1: Download complete 03:19:22 4872d77fe225: Download complete 03:19:22 5851b861e8e6: Verifying Checksum 03:19:22 5851b861e8e6: Download complete 03:19:22 b85a868b505f: Verifying Checksum 03:19:22 b85a868b505f: Download complete 03:19:23 bab4dde63d76: Verifying Checksum 03:19:23 bab4dde63d76: Download complete 03:19:24 b85a868b505f: Pull complete 03:19:24 e2be974225ed: Pull complete 03:19:24 339a4e72a1f5: Pull complete 03:19:24 988bab9f4d93: Pull complete 03:19:25 1469e6f7b9e6: Pull complete 03:19:25 eaf3925da568: Pull complete 03:19:26 bab4dde63d76: Pull complete 03:19:26 bde34c3a00c8: Pull complete 03:19:26 b352a97aabf1: Pull complete 03:19:26 4872d77fe225: Pull complete 03:19:26 5851b861e8e6: Pull complete 03:19:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:19:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:27 prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container 03:19:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@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 03:19:29 $ docker top eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 -eo pid,comm 03:19:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:19:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:19:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:29 [ssh-agent] Looking for ssh-agent implementation... 03:19:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:29 $ docker exec eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent 03:19:30 SSH_AUTH_SOCK=/tmp/ssh-g7K40j4J3UTB/agent.32 03:19:30 SSH_AGENT_PID=38 03:19:30 Running ssh-add (command line suppressed) 03:19:30 Identity added: /w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15124046611422659049.key (/w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15124046611422659049.key) 03:19:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:30 + git tag --points-at HEAD [Pipeline] } 03:19:30 $ docker exec --env ******** --env ******** eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent -k 03:19:30 unset SSH_AUTH_SOCK; 03:19:30 unset SSH_AGENT_PID; 03:19:30 echo Agent pid 38 killed; 03:19:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:19:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:19:30 [ssh-agent] Looking for ssh-agent implementation... 03:19:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:19:30 $ docker exec eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent 03:19:30 SSH_AUTH_SOCK=/tmp/ssh-jxu6NME0xZHp/agent.71 03:19:30 SSH_AGENT_PID=77 03:19:30 Running ssh-add (command line suppressed) 03:19:31 Identity added: /w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15430545741540808981.key (/w/workspace/undry_device-onvif-camera_PR-439@tmp/private_key_15430545741540808981.key) 03:19:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:19:31 + git semver init 03:19:31 2024-06-24 03:19:31,558 [run_init] DEBUG init version:0.0.0 force:False 03:19:31 2024-06-24 03:19:31,559 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-439/.semver 03:19:31 2024-06-24 03:19:31,559 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-439/.semver 03:19:31 2024-06-24 03:19:31,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-439/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-439, universal_newlines=False, shell=None, istream=None) 03:19:33 2024-06-24 03:19:32,971 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-439/.git/info/exclude 03:19:33 2024-06-24 03:19:32,971 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 with force:False 03:19:33 2024-06-24 03:19:32,972 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 03:19:33 2024-06-24 03:19:32,976 [execute] INFO git cat-file --batch-check 03:19:33 2024-06-24 03:19:32,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-439/.semver, universal_newlines=False, shell=None, istream=) 03:19:33 2024-06-24 03:19:32,982 [execute] INFO git cat-file --batch 03:19:33 2024-06-24 03:19:32,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-439/.semver, universal_newlines=False, shell=None, istream=) 03:19:33 2024-06-24 03:19:32,986 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-439/.semver/PR-439 03:19:33 0.0.0 [Pipeline] } 03:19:33 $ docker exec --env ******** --env ******** eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 ssh-agent -k 03:19:33 unset SSH_AUTH_SOCK; 03:19:33 unset SSH_AGENT_PID; 03:19:33 echo Agent pid 77 killed; 03:19:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:19:33 + git semver [Pipeline] } 03:19:33 $ docker stop --time=1 eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 03:19:35 $ docker rm -f --volumes eb0a3fb07f761d8d32f5fdcc632906318fd69683789d6abe1d87225232f6a745 [Pipeline] // withDockerContainer [Pipeline] sh 03:19:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:19:36 Stashed 1 file(s) [Pipeline] echo 03:19:36 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:36 provisioning config files... 03:19:36 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config8584188086095937788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:37 ---> ****-login.sh 03:19:37 nexus3.edgexfoundry.org:10001 03:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:37 Configure a credential helper to remove this warning. See 03:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:37 03:19:37 Login Succeeded 03:19:37 nexus3.edgexfoundry.org:10002 03:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:37 Configure a credential helper to remove this warning. See 03:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:37 03:19:37 Login Succeeded 03:19:37 nexus3.edgexfoundry.org:10003 03:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:37 Configure a credential helper to remove this warning. See 03:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:37 03:19:37 Login Succeeded 03:19:37 nexus3.edgexfoundry.org:10004 03:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:37 Configure a credential helper to remove this warning. See 03:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:37 03:19:37 Login Succeeded 03:19:37 ****.io 03:19:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:19:37 Configure a credential helper to remove this warning. See 03:19:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:19:37 03:19:37 Login Succeeded 03:19:37 ---> ****-login.sh ends [Pipeline] } 03:19:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:19:38 ========================================================= 03:19:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:19:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:19:38 Sending build context to Docker daemon 37.77MB 03:19:38 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:19:38 Step 2/13 : FROM ${BASE} AS builder 03:19:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:19:38 619be1103602: Pulling fs layer 03:19:38 7862e08f4a3e: Pulling fs layer 03:19:38 5df492c9dc93: Pulling fs layer 03:19:38 7629e6793208: Pulling fs layer 03:19:38 4f4fb700ef54: Pulling fs layer 03:19:38 fb5054dd5b73: Pulling fs layer 03:19:38 eeca6798cff9: Pulling fs layer 03:19:38 aa269ceb94a6: Pulling fs layer 03:19:38 ada007ff1a6a: Pulling fs layer 03:19:38 4f4fb700ef54: Waiting 03:19:38 fb5054dd5b73: Waiting 03:19:38 eeca6798cff9: Waiting 03:19:38 aa269ceb94a6: Waiting 03:19:38 ada007ff1a6a: Waiting 03:19:38 7629e6793208: Waiting 03:19:38 7862e08f4a3e: Download complete 03:19:38 7629e6793208: Verifying Checksum 03:19:38 7629e6793208: Download complete 03:19:38 4f4fb700ef54: Verifying Checksum 03:19:38 4f4fb700ef54: Download complete 03:19:38 619be1103602: Verifying Checksum 03:19:38 619be1103602: Download complete 03:19:38 fb5054dd5b73: Verifying Checksum 03:19:38 fb5054dd5b73: Download complete 03:19:38 eeca6798cff9: Verifying Checksum 03:19:38 eeca6798cff9: Download complete 03:19:39 619be1103602: Pull complete 03:19:39 ada007ff1a6a: Verifying Checksum 03:19:39 ada007ff1a6a: Download complete 03:19:39 7862e08f4a3e: Pull complete 03:19:39 5df492c9dc93: Verifying Checksum 03:19:39 5df492c9dc93: Download complete 03:19:39 aa269ceb94a6: Verifying Checksum 03:19:39 aa269ceb94a6: Download complete 03:19:42 5df492c9dc93: Pull complete 03:19:42 7629e6793208: Pull complete 03:19:42 4f4fb700ef54: Pull complete 03:19:42 fb5054dd5b73: Pull complete 03:19:42 eeca6798cff9: Pull complete 03:19:44 aa269ceb94a6: Pull complete 03:19:45 ada007ff1a6a: Pull complete 03:19:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:19:45 ---> f489d0715acc 03:19:45 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:19:51 Still waiting to schedule task 03:19:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:19:52 ---> Running in 056ef567021b 03:19:53 Removing intermediate container 056ef567021b 03:19:53 ---> cba022ec5c9e 03:19:53 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:19:53 ---> Running in be9b97660b5c 03:19:54 Removing intermediate container be9b97660b5c 03:19:54 ---> b0a7fb54e3ab 03:19:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:19:54 ---> Running in e0b09e653e07 03:19:55 Removing intermediate container e0b09e653e07 03:19:55 ---> 376217b31730 03:19:55 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:19:55 ---> Running in 8ae826ca2b3f 03:19:56 Removing intermediate container 8ae826ca2b3f 03:19:56 ---> a11e35c67b8b 03:19:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:19:56 ---> Running in 06f8f6a6664b 03:19:57 Removing intermediate container 06f8f6a6664b 03:19:57 ---> af0fa48b91f5 03:19:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:19:57 ---> Running in 1c358901473b 03:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:19:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:19:58 OK: 264 MiB in 52 packages 03:19:59 Removing intermediate container 1c358901473b 03:19:59 ---> a64b4a9b8a41 03:19:59 Step 9/13 : WORKDIR /device-onvif-camera 03:20:00 ---> Running in 8d8ae4673c15 03:20:00 Removing intermediate container 8d8ae4673c15 03:20:00 ---> 43b9e54096f1 03:20:00 Step 10/13 : COPY go.mod vendor* ./ 03:20:00 ---> 01bac14139eb 03:20:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:00 ---> Running in 371d2a18ba87 03:21:08 Removing intermediate container 371d2a18ba87 03:21:08 ---> 06f962d9972f 03:21:08 Step 12/13 : COPY . . 03:21:08 ---> 77ef8f0fdbd5 03:21:08 Step 13/13 : RUN ${MAKE} 03:21:08 ---> Running in 08c474c8b017 03:21:08 noop 03:21:08 Removing intermediate container 08c474c8b017 03:21:08 ---> 216df9406608 03:21:08 Successfully built 216df9406608 03:21:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:08 + docker inspect -f . ci-base-image-x86_64 03:21:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:08 prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container 03:21:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:21:09 $ docker top 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:09 + go version 03:21:09 go version go1.21.9 linux/amd64 [Pipeline] } 03:21:09 $ docker stop --time=1 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 03:21:10 $ docker rm -f --volumes 3b2bd25aead9905d921b18109cdadcc16b6d87926cc8637fd741ec678264d7c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:11 + docker inspect -f . ci-base-image-x86_64 03:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:11 prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container 03:21:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:21:12 $ docker top 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:12 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] fileExists [Pipeline] sh 03:21:13 + make test 03:21:13 go test ./... -coverprofile=coverage.out ./... 03:21:14 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:21:26 # github.com/edgexfoundry/device-onvif-camera/internal/driver 03:21:26 internal/driver/driver.go:333:18: assignment mismatch: 1 variable but wsdiscovery.GetAvailableDevicesAtSpecificEthernetInterface returns 2 values 03:21:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4208 in /w/workspace/undry_device-onvif-camera_PR-439 [Pipeline] { [Pipeline] ws 03:21:27 Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout 03:21:30 The recommended git tool is: git 03:21:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:21:33 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 03:21:35 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.093s coverage: 86.5% of statements 03:21:35 FAIL 03:21:35 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 03:21:35 $ docker stop --time=1 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 03:21:35 using credential edgex-jenkins-ssh 03:21:35 Cloning the remote Git repository 03:21:35 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 03:21:35 > git init /w/workspace/device-onvif-camera/1 # timeout=10 03:21:35 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:21:35 > git --version # timeout=10 03:21:35 > git --version # 'git version 2.25.1' 03:21:35 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:38 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:21:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:21:39 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 03:21:39 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 03:21:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:21:39 $ docker rm -f --volumes 55cbd5e0d1a203fc0c14cf05fb0cada05fedcd29fa8cfe37d6ecd59c86e3a285 03:21:39 Merging remotes/origin/main commit 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d into PR head commit 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage 03:21:40 Merge succeeded, producing 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 03:21:40 Checking out Revision 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 (PR-439) [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { 03:21:40 Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 1.1.1 to 1.1.2" [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 03:21:41 > git --version # timeout=10 03:21:41 > git --version # 'git version 2.25.1' 03:21:41 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 03:21:39 > git config core.sparsecheckout # timeout=10 03:21:40 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 03:21:40 > git remote # timeout=10 03:21:40 > git config --get remote.origin.url # timeout=10 03:21:40 using GIT_SSH to set credentials SSH Credentials for GitHub 03:21:40 > git merge 9e152f0eea3cbe8e1fbe8298102668336ecdbf0d # timeout=10 03:21:40 > git rev-parse HEAD^{commit} # timeout=10 03:21:40 > git config core.sparsecheckout # timeout=10 03:21:40 > git checkout -f 45fa7d001bbd482d2f4a8f4e389687ac1c2308b4 # timeout=10 [Pipeline] sh 03:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:41 03:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:41 latest: Pulling from edgex-lftools-log-publisher 03:21:41 5eb5b503b376: Pulling fs layer 03:21:41 5c69ac0246d0: Pulling fs layer 03:21:41 ec43610c2a17: Pulling fs layer 03:21:41 3a2ae6a8a46f: Pulling fs layer 03:21:41 33b1e0a273af: Pulling fs layer 03:21:41 5d3b04190fa2: Pulling fs layer 03:21:41 2f39f015ded8: Pulling fs layer 03:21:41 33b1e0a273af: Waiting 03:21:41 5d3b04190fa2: Waiting 03:21:41 2f39f015ded8: Waiting 03:21:41 3a2ae6a8a46f: Waiting 03:21:41 5c69ac0246d0: Verifying Checksum 03:21:41 5c69ac0246d0: Download complete 03:21:41 3a2ae6a8a46f: Verifying Checksum 03:21:41 3a2ae6a8a46f: Download complete 03:21:41 33b1e0a273af: Verifying Checksum 03:21:41 33b1e0a273af: Download complete 03:21:42 5d3b04190fa2: Verifying Checksum 03:21:42 5d3b04190fa2: Download complete 03:21:42 ec43610c2a17: Verifying Checksum 03:21:42 ec43610c2a17: Download complete 03:21:42 5eb5b503b376: Download complete 03:21:42 2f39f015ded8: Download complete 03:21:43 5eb5b503b376: Pull complete 03:21:43 5c69ac0246d0: Pull complete 03:21:43 ec43610c2a17: Pull complete 03:21:43 3a2ae6a8a46f: Pull complete 03:21:43 33b1e0a273af: Pull complete 03:21:44 5d3b04190fa2: Pull complete 03:21:45 03:21:45 GitHub has been notified of this commit’s build result 03:21:45 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:21:46 % Total % Received % Xferd Average Speed Time Time Time Current 03:21:46 Dload Upload Total Spent Left Speed 03:21:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 94323 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh 03:21:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:21:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:21:46 + sudo tee /etc/docker/daemon.new 03:21:46 { 03:21:46 "registry-mirrors": [ 03:21:46 "https://nexus3.edgexfoundry.org:10001" 03:21:46 ], 03:21:46 "bip": "10.250.0.254/24", 03:21:46 "hosts": [ 03:21:46 "tcp://0.0.0.0:5555", 03:21:46 "unix:///var/run/docker.sock" 03:21:46 ], 03:21:46 "mtu": 1458, 03:21:46 "selinux-enabled": true, 03:21:46 "seccomp-profile": "/etc/docker/seccomp.json" 03:21:46 } [Pipeline] sh 03:21:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:21:47 + sudo service docker restart 03:21:48 2f39f015ded8: Pull complete 03:21:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:21:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:21:48 prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container 03:21:48 $ 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/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:21:51 $ docker top 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:51 ---> job-cost.sh 03:21:51 lf-activate-venv: SKIPPING 03:21:51 INFO: No Stack... 03:21:52 INFO: Retrieving Pricing Info for: v3-standard-8 03:21:52 INFO: Archiving Costs [Pipeline] sh 03:21:52 + cat /w/workspace/undry_device-onvif-camera_PR-439/archives/cost.csv 03:21:52 + cut -d, -f6 [Pipeline] lock 03:21:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] 03:21:52 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] did not exist. Created. 03:21:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:21:53 + echo total: 0.2199999988079071 [Pipeline] stash 03:21:53 Stashed 1 file(s) [Pipeline] } 03:21:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:21:53 $ docker stop --time=1 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 03:21:54 $ docker rm -f --volumes 10fcfb589f09ae9969955445bdfadb3b79f773bd00632d25ebccc29aab5cc2c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:21:55 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:05 provisioning config files... 03:22:05 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config14235383465465178230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:06 ---> ****-login.sh 03:22:06 nexus3.edgexfoundry.org:10001 03:22:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:07 Configure a credential helper to remove this warning. See 03:22:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:07 03:22:07 Login Succeeded 03:22:07 nexus3.edgexfoundry.org:10002 03:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:07 Configure a credential helper to remove this warning. See 03:22:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:07 03:22:07 Login Succeeded 03:22:07 nexus3.edgexfoundry.org:10003 03:22:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:07 Configure a credential helper to remove this warning. See 03:22:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:07 03:22:07 Login Succeeded 03:22:07 nexus3.edgexfoundry.org:10004 03:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:08 Configure a credential helper to remove this warning. See 03:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:08 03:22:08 Login Succeeded 03:22:08 ****.io 03:22:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:22:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:22:08 Configure a credential helper to remove this warning. See 03:22:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:22:08 03:22:08 Login Succeeded 03:22:08 ---> ****-login.sh ends [Pipeline] } 03:22:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:22:09 ========================================================= 03:22:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:22:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:22:10 Sending build context to Docker daemon 22.29MB 03:22:10 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 03:22:10 Step 2/13 : FROM ${BASE} AS builder 03:22:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:22:11 c6b39de5b339: Pulling fs layer 03:22:11 a69c41024577: Pulling fs layer 03:22:11 d6de4b400683: Pulling fs layer 03:22:11 35cb2a7552d0: Pulling fs layer 03:22:11 4f4fb700ef54: Pulling fs layer 03:22:11 464afbd9ba4c: Pulling fs layer 03:22:11 00f215d4a9da: Pulling fs layer 03:22:11 d496ad576159: Pulling fs layer 03:22:11 464afbd9ba4c: Waiting 03:22:11 35cb2a7552d0: Waiting 03:22:11 00f215d4a9da: Waiting 03:22:11 d496ad576159: Waiting 03:22:11 a69c41024577: Verifying Checksum 03:22:11 a69c41024577: Download complete 03:22:11 35cb2a7552d0: Verifying Checksum 03:22:11 35cb2a7552d0: Download complete 03:22:11 4f4fb700ef54: Verifying Checksum 03:22:11 4f4fb700ef54: Download complete 03:22:11 464afbd9ba4c: Download complete 03:22:11 c6b39de5b339: Verifying Checksum 03:22:11 c6b39de5b339: Download complete 03:22:11 d496ad576159: Verifying Checksum 03:22:11 d496ad576159: Download complete 03:22:12 c6b39de5b339: Pull complete 03:22:12 a69c41024577: Pull complete 03:22:13 d6de4b400683: Download complete 03:22:14 00f215d4a9da: Verifying Checksum 03:22:14 00f215d4a9da: Download complete 03:22:26 d6de4b400683: Pull complete 03:22:26 35cb2a7552d0: Pull complete 03:22:26 4f4fb700ef54: Pull complete 03:22:26 464afbd9ba4c: Pull complete 03:22:34 00f215d4a9da: Pull complete 03:22:36 d496ad576159: Pull complete 03:22:36 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:22:36 ---> f246e2811388 03:22:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 03:22:36 ---> Running in 0a58b2c7e89c 03:22:37 Removing intermediate container 0a58b2c7e89c 03:22:37 ---> 84aadc09f5bd 03:22:37 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:22:37 ---> Running in a8296fa1db28 03:22:37 Removing intermediate container a8296fa1db28 03:22:37 ---> 89e1ae7d9d2c 03:22:37 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 03:22:37 ---> Running in 0af61b4f6fd1 03:22:37 Removing intermediate container 0af61b4f6fd1 03:22:37 ---> 9596dc01db68 03:22:37 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 03:22:37 ---> Running in 590b991b6efb 03:22:38 Removing intermediate container 590b991b6efb 03:22:38 ---> 25bc92c1defc 03:22:38 Step 7/13 : LABEL Name=edgex-device-onvif-camera 03:22:38 ---> Running in cc92cce5459f 03:22:38 Removing intermediate container cc92cce5459f 03:22:38 ---> 31656893d20e 03:22:38 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:22:38 ---> Running in 25d50e3607cd 03:22:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:22:40 OK: 266 MiB in 52 packages 03:22:41 Removing intermediate container 25d50e3607cd 03:22:41 ---> cdec1888215c 03:22:41 Step 9/13 : WORKDIR /device-onvif-camera 03:22:41 ---> Running in 5ae95211013d 03:22:42 Removing intermediate container 5ae95211013d 03:22:42 ---> ea7ee90f0192 03:22:42 Step 10/13 : COPY go.mod vendor* ./ 03:22:43 ---> 42971f87beaa 03:22:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:43 ---> Running in 8f92b6741afe 03:24:34 Removing intermediate container 8f92b6741afe 03:24:34 ---> e6516fa6b956 03:24:34 Step 12/13 : COPY . . 03:24:34 ---> 5db8e08f9a22 03:24:34 Step 13/13 : RUN ${MAKE} 03:24:34 ---> Running in 106df13b85dd 03:24:34 noop 03:24:34 Removing intermediate container 106df13b85dd 03:24:34 ---> 957b79bed71e 03:24:34 Successfully built 957b79bed71e 03:24:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:35 + docker inspect -f . ci-base-image-arm64 03:24:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:35 prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container 03:24:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:24:36 $ docker top a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:37 + go version 03:24:37 go version go1.21.9 linux/arm64 [Pipeline] } 03:24:37 $ docker stop --time=1 a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 03:24:39 $ docker rm -f --volumes a111d651920a6880846f99d7c538d677332c3f5c4c2ebe1dc0460690c94d4f55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:40 + docker inspect -f . ci-base-image-arm64 03:24:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:40 prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container 03:24:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:24:41 $ docker top 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:42 + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh 03:24:42 + make test 03:24:42 go test ./... -coverprofile=coverage.out ./... 03:24:49 ? github.com/edgexfoundry/device-onvif-camera [no test files] 03:27:11 # github.com/edgexfoundry/device-onvif-camera/internal/driver 03:27:11 internal/driver/driver.go:333:18: assignment mismatch: 1 variable but wsdiscovery.GetAvailableDevicesAtSpecificEthernetInterface returns 2 values 03:28:33 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 03:28:33 FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] 03:28:55 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.648s coverage: 86.5% of statements 03:28:55 FAIL 03:28:55 make: *** [Makefile:60: unittest] Error 1 [Pipeline] } 03:28:55 $ docker stop --time=1 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb 03:28:57 $ docker rm -f --volumes 3a1136ede0c99b30e9d3416ea9189a3268ae5be92542bb22407949ec3e6dfdbb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:28:59 03:28:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:00 arm64: Pulling from edgex-lftools-log-publisher 03:29:00 8998bd30e6a1: Pulling fs layer 03:29:00 04944245beec: Pulling fs layer 03:29:00 699f458cf7ca: Pulling fs layer 03:29:00 765212b225bb: Pulling fs layer 03:29:00 f23df028b6ca: Pulling fs layer 03:29:00 d65c8cfc05b1: Pulling fs layer 03:29:00 2437ff75d9bd: Pulling fs layer 03:29:00 765212b225bb: Waiting 03:29:00 f23df028b6ca: Waiting 03:29:00 d65c8cfc05b1: Waiting 03:29:00 2437ff75d9bd: Waiting 03:29:00 04944245beec: Verifying Checksum 03:29:00 04944245beec: Download complete 03:29:00 765212b225bb: Verifying Checksum 03:29:00 765212b225bb: Download complete 03:29:00 f23df028b6ca: Verifying Checksum 03:29:00 f23df028b6ca: Download complete 03:29:00 d65c8cfc05b1: Verifying Checksum 03:29:00 d65c8cfc05b1: Download complete 03:29:00 699f458cf7ca: Verifying Checksum 03:29:00 699f458cf7ca: Download complete 03:29:01 8998bd30e6a1: Verifying Checksum 03:29:01 8998bd30e6a1: Download complete 03:29:03 2437ff75d9bd: Verifying Checksum 03:29:03 2437ff75d9bd: Download complete 03:29:05 8998bd30e6a1: Pull complete 03:29:05 04944245beec: Pull complete 03:29:07 699f458cf7ca: Pull complete 03:29:07 765212b225bb: Pull complete 03:29:08 f23df028b6ca: Pull complete 03:29:08 d65c8cfc05b1: Pull complete 03:29:26 2437ff75d9bd: Pull complete 03:29:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:27 prd-ubuntu20.04-docker-arm64-4c-16g-4208 does not seem to be running inside a container 03:29:27 $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:29:29 $ docker top 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:30 ---> job-cost.sh 03:29:30 lf-activate-venv: SKIPPING 03:29:30 INFO: No Stack... 03:29:30 INFO: Retrieving Pricing Info for: v3-standard-4 03:29:31 INFO: Archiving Costs [Pipeline] sh 03:29:32 + cat+ /w/workspace/device-onvif-camera/1/archives/cost.csv 03:29:32 cut -d, -f6 [Pipeline] lock 03:29:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] 03:29:32 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] did not exist. Created. 03:29:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:29:33 /w/workspace/device-onvif-camera/1@tmp/durable-77376ab2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:29:34 + echo total: 0.10999999940395355 [Pipeline] stash 03:29:34 Warning: overwriting stash ‘stack-cost’ 03:29:34 Stashed 1 file(s) [Pipeline] } 03:29:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:29:34 $ docker stop --time=1 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f 03:29:36 $ docker rm -f --volumes 41376019b897acc295d1adee4b57a2df4010c6c5c5407df265d962f26913dc6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:29:37 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:29:39 + [ -d /w/workspace/undry_device-onvif-camera_PR-439/archives ] 03:29:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-439/archives 03:29:39 total 16 03:29:39 drwxr-xr-x 3 root root 4096 Jun 24 03:21 . 03:29:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 03:21 .. 03:29:39 drwxr-xr-x 2 root root 4096 Jun 24 03:21 cost 03:29:39 -rw-r--r-- 1 root root 91 Jun 24 03:21 cost.csv 03:29:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-439/archives 03:29:39 + ls -al /w/workspace/undry_device-onvif-camera_PR-439/archives 03:29:39 total 16 03:29:39 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 03:21 . 03:29:39 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 03:21 .. 03:29:39 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 03:21 cost 03:29:39 -rw-r--r-- 1 jenkins jenkins 91 Jun 24 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:29:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:29:41 ---> package-listing.sh 03:29:41 ++ facter osfamily 03:29:41 ++ tr '[:upper:]' '[:lower:]' 03:29:41 + OS_FAMILY=debian 03:29:41 + workspace=/w/workspace/undry_device-onvif-camera_PR-439 03:29:41 + START_PACKAGES=/tmp/packages_start.txt 03:29:41 + END_PACKAGES=/tmp/packages_end.txt 03:29:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:29:41 + PACKAGES=/tmp/packages_start.txt 03:29:41 + '[' /w/workspace/undry_device-onvif-camera_PR-439 ']' 03:29:41 + PACKAGES=/tmp/packages_end.txt 03:29:41 + case "${OS_FAMILY}" in 03:29:41 + dpkg -l 03:29:41 + grep '^ii' 03:29:41 + '[' -f /tmp/packages_start.txt ']' 03:29:41 + '[' -f /tmp/packages_end.txt ']' 03:29:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:29:41 + '[' /w/workspace/undry_device-onvif-camera_PR-439 ']' 03:29:41 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-439/archives/ 03:29:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-439/archives/ [Pipeline] echo 03:29:41 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/undry_device-onvif-camera_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:29:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:29:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:42 prd-ubuntu20.04-docker-8c-8g-4207 does not seem to be running inside a container 03:29:42 $ 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/undry_device-onvif-camera_PR-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-439 -v /w/workspace/undry_device-onvif-camera_PR-439:/w/workspace/undry_device-onvif-camera_PR-439:rw,z -v /w/workspace/undry_device-onvif-camera_PR-439@tmp:/w/workspace/undry_device-onvif-camera_PR-439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:29:42 $ docker top 7eadcf4154e6526e78828d4b71cdeb5ba6695695b89898f8eea0ffda031acc5e -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:43 + touch /tmp/pre-build-complete [Pipeline] sh 03:29:43 + mkdir -p /var/log/sysstat [Pipeline] sh 03:29:43 + ls /var/log/sa-host 03:29:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:29:44 provisioning config files... 03:29:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-439@tmp/config2247317111923269081tmp [Pipeline] { [Pipeline] echo 03:29:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:29:44 ---> create-netrc.sh [Pipeline] } 03:29:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:29:44 ---> python-tools-install.sh [Pipeline] echo 03:29:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:29:45 ---> sudo-logs.sh 03:29:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:29:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:29:45 ---> job-cost.sh 03:29:45 lf-activate-venv: SKIPPING 03:29:45 DEBUG: total: 0.2199999988079071 03:29:45 INFO: Retrieving Stack Cost... 03:29:46 INFO: Retrieving Pricing Info for: v3-standard-8 03:29:46 INFO: Archiving Costs [Pipeline] echo 03:29:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:29:46 ---> logs-deploy.sh 03:29:46 lf-activate-venv: SKIPPING 03:29:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-439/1 03:29:46 INFO: archiving workspace using pattern(s): 03:29:47 Archives upload complete. 03:29:47 INFO: archiving logs to Nexus