Pull request #404 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b+92c3ba4568a6222498d3402d3e8034c184771ddb (789b53b070d6cc7b4229f99e9416d9ee139a7f07) 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-ssh13762782133603857632.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh14595744731098842542.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-404/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-onvif-camera/branches/PR-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10043121708328328905.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh18198931563163498247.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-onvif-camera/branches/PR-404/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-onvif-camera/branches/PR-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13211159391551266577.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-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 Running on prd-ubuntu20.04-docker-8c-8g-17074 in /w/workspace/undry_device-onvif-camera_PR-404 [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-404 # 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92c3ba4568a6222498d3402d3e8034c184771ddb into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b Merge succeeded, producing 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b Checking out Revision 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b (PR-404) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:59:56 ========================================================= 18:59:56 EdgeX Global Pipelines Version Info 18:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # 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 92c3ba4568a6222498d3402d3e8034c184771ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 > git rev-list --no-walk 6ae38f3604b3ecf3eacaa5bae46879ea78b94ca2 # timeout=10 18:59:57 ------------------- 18:59:57 stable info: 18:59:57 ------------------- 18:59:57 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:59:57 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:59:57 Message: update stable to v1.0.257 18:59:57 ------------------- 18:59:57 experimental info: 18:59:57 ------------------- 18:59:57 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:57 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:59:57 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:59:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a3ee31 [Pipeline] echo 18:59:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:58 provisioning config files... 19:00:00 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config6917011407182547037tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:00 ---> docker-login.sh 19:00:00 nexus3.edgexfoundry.org:10001 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 nexus3.edgexfoundry.org:10002 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 nexus3.edgexfoundry.org:10003 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 nexus3.edgexfoundry.org:10004 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:01 Configure a credential helper to remove this warning. See 19:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:01 19:00:01 Login Succeeded 19:00:01 docker.io 19:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:02 Configure a credential helper to remove this warning. See 19:00:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:02 19:00:02 Login Succeeded 19:00:02 ---> docker-login.sh ends [Pipeline] } 19:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:00:02 + git rev-list -1 --merges 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b~1..0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [Pipeline] echo 19:00:03 -----------> git rev-list -1 --merges 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b~1..0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [false] [Pipeline] sh 19:00:03 + git log --format=format:%s -1 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [Pipeline] echo 19:00:03 ========================================================= 19:00:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:00:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:00:03 + git log --format=format:%s -1 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [Pipeline] echo 19:00:03 [semverPrep] GIT_COMMIT: 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3 [Pipeline] echo 19:00:03 [semverPrep] This is not a build commit. [Pipeline] sh 19:00:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:00:04 + grep -v github /etc/ssh/ssh_known_hosts 19:00:04 + [ -e /tmp/ssh_known_hosts ] 19:00:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:00:04 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 19:00:04 tee -a /etc/ssh/ssh_known_hosts 19:00:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:04 19:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:04 0.1.4: Pulling from edgex-devops/py-git-semver 19:00:04 b85a868b505f: Pulling fs layer 19:00:04 e2be974225ed: Pulling fs layer 19:00:04 339a4e72a1f5: Pulling fs layer 19:00:04 988bab9f4d93: Pulling fs layer 19:00:04 1469e6f7b9e6: Pulling fs layer 19:00:04 eaf3925da568: Pulling fs layer 19:00:04 bab4dde63d76: Pulling fs layer 19:00:04 bde34c3a00c8: Pulling fs layer 19:00:04 b352a97aabf1: Pulling fs layer 19:00:04 4872d77fe225: Pulling fs layer 19:00:04 5851b861e8e6: Pulling fs layer 19:00:04 bde34c3a00c8: Waiting 19:00:04 988bab9f4d93: Waiting 19:00:04 b352a97aabf1: Waiting 19:00:04 1469e6f7b9e6: Waiting 19:00:04 4872d77fe225: Waiting 19:00:04 5851b861e8e6: Waiting 19:00:04 eaf3925da568: Waiting 19:00:04 bab4dde63d76: Waiting 19:00:04 e2be974225ed: Download complete 19:00:04 988bab9f4d93: Download complete 19:00:04 1469e6f7b9e6: Verifying Checksum 19:00:04 1469e6f7b9e6: Download complete 19:00:04 eaf3925da568: Verifying Checksum 19:00:04 eaf3925da568: Download complete 19:00:04 339a4e72a1f5: Verifying Checksum 19:00:04 339a4e72a1f5: Download complete 19:00:04 bde34c3a00c8: Verifying Checksum 19:00:04 bde34c3a00c8: Download complete 19:00:04 b352a97aabf1: Download complete 19:00:04 4872d77fe225: Verifying Checksum 19:00:04 4872d77fe225: Download complete 19:00:04 5851b861e8e6: Verifying Checksum 19:00:04 5851b861e8e6: Download complete 19:00:04 b85a868b505f: Download complete 19:00:05 bab4dde63d76: Verifying Checksum 19:00:05 bab4dde63d76: Download complete 19:00:06 b85a868b505f: Pull complete 19:00:06 e2be974225ed: Pull complete 19:00:06 339a4e72a1f5: Pull complete 19:00:06 988bab9f4d93: Pull complete 19:00:06 1469e6f7b9e6: Pull complete 19:00:07 eaf3925da568: Pull complete 19:00:09 bab4dde63d76: Pull complete 19:00:09 bde34c3a00c8: Pull complete 19:00:09 b352a97aabf1: Pull complete 19:00:10 4872d77fe225: Pull complete 19:00:10 5851b861e8e6: Pull complete 19:00:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:10 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 19:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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-devops/py-git-semver:0.1.4 cat 19:00:13 $ docker top 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 -eo pid,comm 19:00:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:00:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:13 [ssh-agent] Looking for ssh-agent implementation... 19:00:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:13 $ docker exec 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 ssh-agent 19:00:13 SSH_AUTH_SOCK=/tmp/ssh-EJonV2ulDDUL/agent.32 19:00:13 SSH_AGENT_PID=38 19:00:13 Running ssh-add (command line suppressed) 19:00:13 Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_10423070863889674996.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_10423070863889674996.key) 19:00:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:14 + git tag --points-at HEAD [Pipeline] } 19:00:14 $ docker exec --env ******** --env ******** 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 ssh-agent -k 19:00:14 unset SSH_AUTH_SOCK; 19:00:14 unset SSH_AGENT_PID; 19:00:14 echo Agent pid 38 killed; 19:00:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:00:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:14 [ssh-agent] Looking for ssh-agent implementation... 19:00:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:14 $ docker exec 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 ssh-agent 19:00:14 SSH_AUTH_SOCK=/tmp/ssh-eQACfh0jRnvP/agent.70 19:00:14 SSH_AGENT_PID=77 19:00:14 Running ssh-add (command line suppressed) 19:00:14 Identity added: /w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_17575456243450838045.key (/w/workspace/undry_device-onvif-camera_PR-404@tmp/private_key_17575456243450838045.key) 19:00:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:15 + git semver init 19:00:15 2023-11-08 19:00:15,279 [run_init] DEBUG init version:0.0.0 force:False 19:00:15 2023-11-08 19:00:15,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-404/.semver 19:00:15 2023-11-08 19:00:15,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-404/.semver 19:00:15 2023-11-08 19:00:15,281 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-404/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-404, universal_newlines=False, shell=None, istream=None) 19:00:16 2023-11-08 19:00:16,364 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-404/.git/info/exclude 19:00:16 2023-11-08 19:00:16,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 with force:False 19:00:16 2023-11-08 19:00:16,365 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 19:00:16 2023-11-08 19:00:16,369 [execute] INFO git cat-file --batch-check 19:00:16 2023-11-08 19:00:16,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) 19:00:16 2023-11-08 19:00:16,376 [execute] INFO git cat-file --batch 19:00:16 2023-11-08 19:00:16,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-404/.semver, universal_newlines=False, shell=None, istream=) 19:00:16 2023-11-08 19:00:16,382 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-404/.semver/PR-404 19:00:16 0.0.0 [Pipeline] } 19:00:16 $ docker exec --env ******** --env ******** 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 ssh-agent -k 19:00:16 unset SSH_AUTH_SOCK; 19:00:16 unset SSH_AGENT_PID; 19:00:16 echo Agent pid 77 killed; 19:00:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:17 + git semver [Pipeline] } 19:00:17 $ docker stop --time=1 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 19:00:18 $ docker rm -f --volumes 3e8e13d7c5d282e0454acd1ac7a5836c02a522abf5154b11416791c80a47f454 [Pipeline] // withDockerContainer [Pipeline] sh 19:00:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:00:19 Stashed 1 file(s) [Pipeline] echo 19:00:19 [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 19:00:19 provisioning config files... 19:00:19 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config10531396330849070064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:19 ---> docker-login.sh 19:00:19 nexus3.edgexfoundry.org:10001 19:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:19 Configure a credential helper to remove this warning. See 19:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:19 19:00:19 Login Succeeded 19:00:19 nexus3.edgexfoundry.org:10002 19:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:19 Configure a credential helper to remove this warning. See 19:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:19 19:00:19 Login Succeeded 19:00:19 nexus3.edgexfoundry.org:10003 19:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:20 Configure a credential helper to remove this warning. See 19:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:20 19:00:20 Login Succeeded 19:00:20 nexus3.edgexfoundry.org:10004 19:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:20 Configure a credential helper to remove this warning. See 19:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:20 19:00:20 Login Succeeded 19:00:20 docker.io 19:00:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:20 Configure a credential helper to remove this warning. See 19:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:20 19:00:20 Login Succeeded 19:00:20 ---> docker-login.sh ends [Pipeline] } 19:00:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:00:20 ========================================================= 19:00:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 19:00:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:21 + 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 . 19:00:21 Sending build context to Docker daemon 21.69MB 19:00:21 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 19:00:21 Step 2/13 : FROM ${BASE} AS builder 19:00:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 19:00:21 7264a8db6415: Pulling fs layer 19:00:21 c4d48a809fc2: Pulling fs layer 19:00:21 4f1c88b9dad5: Pulling fs layer 19:00:21 ad3a456e5733: Pulling fs layer 19:00:21 33e27b845d1e: Pulling fs layer 19:00:21 ad3a456e5733: Waiting 19:00:21 c68163c4e522: Pulling fs layer 19:00:21 50da416c3ac9: Pulling fs layer 19:00:21 23d2d4c4bb30: Pulling fs layer 19:00:21 33e27b845d1e: Waiting 19:00:21 c68163c4e522: Waiting 19:00:21 50da416c3ac9: Waiting 19:00:21 23d2d4c4bb30: Waiting 19:00:21 c4d48a809fc2: Verifying Checksum 19:00:21 c4d48a809fc2: Download complete 19:00:21 ad3a456e5733: Download complete 19:00:21 33e27b845d1e: Download complete 19:00:21 7264a8db6415: Verifying Checksum 19:00:21 7264a8db6415: Download complete 19:00:21 c68163c4e522: Verifying Checksum 19:00:21 c68163c4e522: Download complete 19:00:21 7264a8db6415: Pull complete 19:00:21 23d2d4c4bb30: Verifying Checksum 19:00:21 23d2d4c4bb30: Download complete 19:00:21 c4d48a809fc2: Pull complete 19:00:21 4f1c88b9dad5: Verifying Checksum 19:00:21 4f1c88b9dad5: Download complete 19:00:22 50da416c3ac9: Verifying Checksum 19:00:22 50da416c3ac9: Download complete 19:00:25 4f1c88b9dad5: Pull complete 19:00:25 ad3a456e5733: Pull complete 19:00:25 33e27b845d1e: Pull complete 19:00:25 c68163c4e522: Pull complete 19:00:27 50da416c3ac9: Pull complete 19:00:27 23d2d4c4bb30: Pull complete 19:00:27 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 19:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 19:00:27 ---> 0786185ac409 19:00:27 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:00:33 ---> Running in ae0d1cc82a40 19:00:33 Removing intermediate container ae0d1cc82a40 19:00:33 ---> 53bb32a3fc04 19:00:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:33 ---> Running in 4a76fe3de97a 19:00:33 Removing intermediate container 4a76fe3de97a 19:00:33 ---> cfbda36dc6ac 19:00:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:00:33 ---> Running in 1d84c14b2bb5 19:00:33 Removing intermediate container 1d84c14b2bb5 19:00:33 ---> 89cc782e69d8 19:00:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:00:33 ---> Running in a32a139f1983 19:00:33 Removing intermediate container a32a139f1983 19:00:33 ---> 6fc53e6d6e5d 19:00:33 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:00:33 ---> Running in 0afc7cf7524c 19:00:33 Removing intermediate container 0afc7cf7524c 19:00:33 ---> c8ba71c854e6 19:00:33 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:33 ---> Running in 68c3fe1f1744 19:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:00:33 OK: 264 MiB in 52 packages 19:00:33 Removing intermediate container 68c3fe1f1744 19:00:33 ---> cf09ffdd6139 19:00:33 Step 9/13 : WORKDIR /device-onvif-camera 19:00:33 ---> Running in 9753a1d33617 19:00:34 Removing intermediate container 9753a1d33617 19:00:34 ---> 1c5376ef88d5 19:00:34 Step 10/13 : COPY go.mod vendor* ./ 19:00:34 ---> 54e22b2bfaee 19:00:34 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:34 ---> Running in e3827a8808fa 19:00:34 Still waiting to schedule task 19:00:34 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:01:24 Removing intermediate container e3827a8808fa 19:01:24 ---> 61820dbca474 19:01:24 Step 12/13 : COPY . . 19:01:24 ---> 7251e22706db 19:01:24 Step 13/13 : RUN ${MAKE} 19:01:24 ---> Running in 9b0798dda494 19:01:24 noop 19:01:24 Removing intermediate container 9b0798dda494 19:01:24 ---> ce8ce290cd3d 19:01:24 Successfully built ce8ce290cd3d 19:01:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:25 + docker inspect -f . ci-base-image-x86_64 19:01:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:25 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 19:01:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:01:25 $ docker top 32bddb16d4a43b00a8a8d13a682e3ce08306649c3fb8a5f064f789b08c78d215 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:26 + go version 19:01:26 go version go1.21.0 linux/amd64 [Pipeline] } 19:01:26 $ docker stop --time=1 32bddb16d4a43b00a8a8d13a682e3ce08306649c3fb8a5f064f789b08c78d215 19:01:27 $ docker rm -f --volumes 32bddb16d4a43b00a8a8d13a682e3ce08306649c3fb8a5f064f789b08c78d215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:27 + docker inspect -f . ci-base-image-x86_64 19:01:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:27 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 19:01:27 $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:01:28 $ docker top 19dc21a50c61445dfa04e9ae5ec668101ee109fc4779e8a01a109c2c16e56d63 -eo pid,comm [Pipeline] { [Pipeline] sh 19:01:28 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] fileExists [Pipeline] sh 19:01:28 + make test 19:01:28 go test ./... -coverprofile=coverage.out ./... 19:01:30 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:01:40 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:01:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:01:43 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.5% of statements 19:01:43 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.168s coverage: 86.5% of statements 19:01:49 go vet ./... 19:01:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:53 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:01:53 $ docker stop --time=1 19dc21a50c61445dfa04e9ae5ec668101ee109fc4779e8a01a109c2c16e56d63 19:01:58 $ docker rm -f --volumes 19dc21a50c61445dfa04e9ae5ec668101ee109fc4779e8a01a109c2c16e56d63 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:01:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:59 + ls -al . 19:01:59 total 236 19:01:59 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:01 . 19:01:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:59 .. 19:01:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:01 .git 19:01:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:59 .github 19:01:59 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 18:59 .gitignore 19:01:59 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 18:59 .golangci.yml 19:01:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:00 .semver 19:01:59 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 8 18:59 Attribution.txt 19:01:59 -rw-rw-r-- 1 jenkins jenkins 15932 Nov 8 18:59 CHANGELOG.md 19:01:59 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 8 18:59 Dockerfile 19:01:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:59 GOVERNANCE.md 19:01:59 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 18:59 Jenkinsfile 19:01:59 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 18:59 LICENSE 19:01:59 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 8 18:59 Makefile 19:01:59 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 18:59 OWNERS.md 19:01:59 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 18:59 README.md 19:01:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:00 VERSION 19:01:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:59 bin 19:01:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:59 cmd 19:01:59 -rw-r--r-- 1 jenkins jenkins 78456 Nov 8 19:01 coverage.out 19:01:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:59 doc 19:01:59 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 8 18:59 go.mod 19:01:59 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 8 18:59 go.sum 19:01:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:59 internal 19:01:59 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:59 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b --label arch=amd64 --label version=0.0.0 . 19:01:59 Sending build context to Docker daemon 21.77MB 19:01:59 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:01:59 Step 2/26 : FROM ${BASE} AS builder 19:01:59 ---> ce8ce290cd3d 19:01:59 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:02:00 ---> Running in a46c79affa07 19:02:00 Removing intermediate container a46c79affa07 19:02:00 ---> 55c9f6379e7d 19:02:00 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:02:00 ---> Running in ecd143c04582 19:02:00 Removing intermediate container ecd143c04582 19:02:00 ---> 3c9cd1808f2c 19:02:00 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:02:00 ---> Running in b1b46767398f 19:02:01 Removing intermediate container b1b46767398f 19:02:01 ---> a0b25030d49a 19:02:01 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:02:01 ---> Running in 079ed56ff66f 19:02:01 Removing intermediate container 079ed56ff66f 19:02:01 ---> 04682357217a 19:02:01 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:02:01 ---> Running in 01189a5d4948 19:02:01 Removing intermediate container 01189a5d4948 19:02:01 ---> fb9e3985b9f4 19:02:01 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:02:01 ---> Running in a5483cc354c7 19:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:02:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:02:02 OK: 264 MiB in 52 packages 19:02:03 Removing intermediate container a5483cc354c7 19:02:03 ---> fc0d40b6a2df 19:02:03 Step 9/26 : WORKDIR /device-onvif-camera 19:02:03 ---> Running in 0914c1629ac2 19:02:03 Removing intermediate container 0914c1629ac2 19:02:03 ---> 3e85a01c581a 19:02:03 Step 10/26 : COPY go.mod vendor* ./ 19:02:03 ---> 095f15a22306 19:02:03 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:02:03 ---> Running in 07464c6ab468 19:02:04 Removing intermediate container 07464c6ab468 19:02:04 ---> 9520481589e9 19:02:04 Step 12/26 : COPY . . 19:02:05 ---> 579d91e73181 19:02:05 Step 13/26 : RUN ${MAKE} 19:02:05 ---> Running in 9ac8da4901d4 19:02:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:02:27 Removing intermediate container 9ac8da4901d4 19:02:27 ---> fcd70c4391aa 19:02:27 Step 14/26 : FROM alpine:3.18 19:02:28 3.18: Pulling from library/alpine 19:02:28 96526aa774ef: Pulling fs layer 19:02:29 96526aa774ef: Download complete 19:02:29 96526aa774ef: Pull complete 19:02:29 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:02:29 Status: Downloaded newer image for alpine:3.18 19:02:29 ---> 8ca4688f4f35 19:02:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 19:02:29 ---> Running in 4bdac3115860 19:02:29 Removing intermediate container 4bdac3115860 19:02:29 ---> 36cccfceb3f1 19:02:29 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:02:30 ---> Running in 492cb2dc900b 19:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 19:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 19:02:30 (1/1) Installing dumb-init (1.2.5-r2) 19:02:30 Executing busybox-1.36.1-r2.trigger 19:02:30 OK: 7 MiB in 16 packages 19:02:31 Removing intermediate container 492cb2dc900b 19:02:31 ---> 316160bf726a 19:02:31 Step 17/26 : WORKDIR / 19:02:31 ---> Running in 40a3616970db 19:02:31 Removing intermediate container 40a3616970db 19:02:31 ---> a01936b2e357 19:02:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:02:33 ---> 5ef71ff21fa4 19:02:33 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:02:34 ---> 93eef6aa34b3 19:02:34 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:02:34 ---> 3fd2dfc240b2 19:02:34 Step 21/26 : EXPOSE 59984 19:02:34 ---> Running in f6e4934b7e7f 19:02:35 Removing intermediate container f6e4934b7e7f 19:02:35 ---> 707566582d40 19:02:35 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:02:35 ---> Running in 1e6887015944 19:02:35 Removing intermediate container 1e6887015944 19:02:35 ---> fae655f57a0e 19:02:35 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:02:35 ---> Running in cbfa2f90eae1 19:02:36 Removing intermediate container cbfa2f90eae1 19:02:36 ---> fd2c93668cd7 19:02:36 Step 24/26 : LABEL arch=amd64 19:02:36 ---> Running in 74b42d1b7ec3 19:02:36 Removing intermediate container 74b42d1b7ec3 19:02:36 ---> ea56c849bfb8 19:02:36 Step 25/26 : LABEL git_sha=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 19:02:36 ---> Running in 61f5982ae6c2 19:02:36 Removing intermediate container 61f5982ae6c2 19:02:36 ---> 11a86fc62e25 19:02:36 Step 26/26 : LABEL version=0.0.0 19:02:36 ---> Running in 8b4bf44a8f05 19:02:36 Removing intermediate container 8b4bf44a8f05 19:02:36 ---> ea8ee62e02e5 19:02:36 [Warning] One or more build-args [ARCH] were not consumed 19:02:36 Successfully built ea8ee62e02e5 19:02:36 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:37 19:02:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:37 latest: Pulling from edgex-lftools-log-publisher 19:02:37 5eb5b503b376: Pulling fs layer 19:02:37 5c69ac0246d0: Pulling fs layer 19:02:37 ec43610c2a17: Pulling fs layer 19:02:37 3a2ae6a8a46f: Pulling fs layer 19:02:37 33b1e0a273af: Pulling fs layer 19:02:37 5d3b04190fa2: Pulling fs layer 19:02:37 2f39f015ded8: Pulling fs layer 19:02:37 33b1e0a273af: Waiting 19:02:37 2f39f015ded8: Waiting 19:02:37 5d3b04190fa2: Waiting 19:02:37 3a2ae6a8a46f: Waiting 19:02:37 5c69ac0246d0: Download complete 19:02:37 3a2ae6a8a46f: Verifying Checksum 19:02:37 3a2ae6a8a46f: Download complete 19:02:37 33b1e0a273af: Verifying Checksum 19:02:37 33b1e0a273af: Download complete 19:02:38 ec43610c2a17: Verifying Checksum 19:02:38 ec43610c2a17: Download complete 19:02:38 5d3b04190fa2: Verifying Checksum 19:02:38 5d3b04190fa2: Download complete 19:02:38 5eb5b503b376: Verifying Checksum 19:02:38 5eb5b503b376: Download complete 19:02:38 2f39f015ded8: Download complete 19:02:39 5eb5b503b376: Pull complete 19:02:39 5c69ac0246d0: Pull complete 19:02:39 ec43610c2a17: Pull complete 19:02:39 3a2ae6a8a46f: Pull complete 19:02:40 33b1e0a273af: Pull complete 19:02:40 5d3b04190fa2: Pull complete 19:02:44 2f39f015ded8: Pull complete 19:02:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:02:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:02:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:44 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 19:02:44 $ 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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:02:52 $ docker top 663456200e3a0514b49f76cf4a32bfff21dddd8774f52e83a2931d6f30c7111b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:52 ---> job-cost.sh 19:02:52 lf-activate-venv: SKIPPING 19:02:52 INFO: No Stack... 19:02:53 INFO: Retrieving Pricing Info for: v3-standard-8 19:02:53 INFO: Archiving Costs [Pipeline] sh 19:02:53 + cat /w/workspace/undry_device-onvif-camera_PR-404/archives/cost.csv 19:02:53 + cut -d, -f6 [Pipeline] lock 19:02:53 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] 19:02:53 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] did not exist. Created. 19:02:53 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:02:54 + echo total: 0.2199999988079071 [Pipeline] stash 19:02:54 Stashed 1 file(s) [Pipeline] } 19:02:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:02:54 $ docker stop --time=1 663456200e3a0514b49f76cf4a32bfff21dddd8774f52e83a2931d6f30c7111b 19:02:55 $ docker rm -f --volumes 663456200e3a0514b49f76cf4a32bfff21dddd8774f52e83a2931d6f30c7111b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:03:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17079 in /w/workspace/undry_device-onvif-camera_PR-404 [Pipeline] { [Pipeline] ws 19:03:49 Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout 19:03:49 The recommended git tool is: git 19:03:55 using credential edgex-jenkins-ssh 19:03:55 Cloning the remote Git repository 19:03:55 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 19:03:55 > git init /w/workspace/device-onvif-camera/3 # timeout=10 19:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:03:55 > git --version # timeout=10 19:03:55 > git --version # 'git version 2.25.1' 19:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:03:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:59 Merging remotes/origin/main commit 92c3ba4568a6222498d3402d3e8034c184771ddb into PR head commit 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 19:03:59 Merge succeeded, producing 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 19:03:59 Checking out Revision 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b (PR-404) 19:03:58 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 19:03:58 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 19:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:03:59 > git config core.sparsecheckout # timeout=10 19:03:59 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 19:03:59 > git remote # timeout=10 19:03:59 > git config --get remote.origin.url # timeout=10 19:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:59 > git merge 92c3ba4568a6222498d3402d3e8034c184771ddb # timeout=10 19:03:59 > git rev-parse HEAD^{commit} # timeout=10 19:03:59 > git config core.sparsecheckout # timeout=10 19:03:59 > git checkout -f 0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b # timeout=10 19:04:00 Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:04:01 % Total % Received % Xferd Average Speed Time Time Time Current 19:04:01 Dload Upload Total Spent Left Speed 19:04:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh 19:04:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:04:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:04:02 + sudo tee /etc/docker/daemon.new 19:04:02 { 19:04:02 "registry-mirrors": [ 19:04:02 "https://nexus3.edgexfoundry.org:10001" 19:04:02 ], 19:04:02 "bip": "10.250.0.254/24", 19:04:02 "hosts": [ 19:04:02 "tcp://0.0.0.0:5555", 19:04:02 "unix:///var/run/docker.sock" 19:04:02 ], 19:04:02 "mtu": 1458, 19:04:02 "selinux-enabled": true, 19:04:02 "seccomp-profile": "/etc/docker/seccomp.json" 19:04:02 } [Pipeline] sh 19:04:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:04:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:21 provisioning config files... 19:04:21 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config14312474465758351738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:21 ---> docker-login.sh 19:04:21 nexus3.edgexfoundry.org:10001 19:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:22 Configure a credential helper to remove this warning. See 19:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:22 19:04:22 Login Succeeded 19:04:22 nexus3.edgexfoundry.org:10002 19:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:22 Configure a credential helper to remove this warning. See 19:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:22 19:04:22 Login Succeeded 19:04:22 nexus3.edgexfoundry.org:10003 19:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:23 Configure a credential helper to remove this warning. See 19:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:23 19:04:23 Login Succeeded 19:04:23 nexus3.edgexfoundry.org:10004 19:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:23 Configure a credential helper to remove this warning. See 19:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:23 19:04:23 Login Succeeded 19:04:23 docker.io 19:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:24 Configure a credential helper to remove this warning. See 19:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:24 19:04:24 Login Succeeded 19:04:24 ---> docker-login.sh ends [Pipeline] } 19:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:04:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 19:04:24 ========================================================= 19:04:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 19:04:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:25 + 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 . 19:04:25 Sending build context to Docker daemon 14.2MB 19:04:25 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 19:04:25 Step 2/13 : FROM ${BASE} AS builder 19:04:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:04:25 9fda8d8052c6: Pulling fs layer 19:04:25 5d54e960e981: Pulling fs layer 19:04:25 c4a7e357bf2a: Pulling fs layer 19:04:25 f0e02332f6b5: Pulling fs layer 19:04:25 cefa15bbcfad: Pulling fs layer 19:04:25 17808c966233: Pulling fs layer 19:04:25 f4c1fc716caa: Pulling fs layer 19:04:25 f0e02332f6b5: Waiting 19:04:25 cefa15bbcfad: Waiting 19:04:25 17808c966233: Waiting 19:04:25 f4c1fc716caa: Waiting 19:04:25 5d54e960e981: Verifying Checksum 19:04:25 5d54e960e981: Download complete 19:04:26 f0e02332f6b5: Verifying Checksum 19:04:26 f0e02332f6b5: Download complete 19:04:26 cefa15bbcfad: Verifying Checksum 19:04:26 cefa15bbcfad: Download complete 19:04:26 9fda8d8052c6: Verifying Checksum 19:04:26 9fda8d8052c6: Download complete 19:04:26 f4c1fc716caa: Verifying Checksum 19:04:26 f4c1fc716caa: Download complete 19:04:27 c4a7e357bf2a: Verifying Checksum 19:04:27 c4a7e357bf2a: Download complete 19:04:28 17808c966233: Verifying Checksum 19:04:28 17808c966233: Download complete 19:04:30 9fda8d8052c6: Pull complete 19:04:30 5d54e960e981: Pull complete 19:04:43 c4a7e357bf2a: Pull complete 19:04:43 f0e02332f6b5: Pull complete 19:04:43 cefa15bbcfad: Pull complete 19:04:51 17808c966233: Pull complete 19:04:53 f4c1fc716caa: Pull complete 19:04:53 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 19:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 19:04:53 ---> ea914061e18c 19:04:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:04:55 ---> Running in be1ff7a7124b 19:04:55 Removing intermediate container be1ff7a7124b 19:04:55 ---> 19c9118fd9eb 19:04:55 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:55 ---> Running in ab6f0be8242c 19:04:56 Removing intermediate container ab6f0be8242c 19:04:56 ---> 1a11052cbd19 19:04:56 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 19:04:56 ---> Running in d18e8de7311c 19:04:56 Removing intermediate container d18e8de7311c 19:04:56 ---> 3f5bfe2a70fb 19:04:56 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:04:56 ---> Running in ffe8274fecce 19:04:56 Removing intermediate container ffe8274fecce 19:04:56 ---> 7e95396086a5 19:04:56 Step 7/13 : LABEL Name=edgex-device-onvif-camera 19:04:56 ---> Running in 2b9ffc022bca 19:04:57 Removing intermediate container 2b9ffc022bca 19:04:57 ---> 20dbf332fb53 19:04:57 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:57 ---> Running in a9d6aa9128e8 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:04:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:05:00 OK: 266 MiB in 52 packages 19:05:00 Removing intermediate container a9d6aa9128e8 19:05:00 ---> 633ed363053b 19:05:00 Step 9/13 : WORKDIR /device-onvif-camera 19:05:01 ---> Running in a1a40f6fbacc 19:05:01 Removing intermediate container a1a40f6fbacc 19:05:01 ---> 6179c408a214 19:05:01 Step 10/13 : COPY go.mod vendor* ./ 19:05:01 ---> 1c9f1a1b838e 19:05:01 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:05:01 ---> Running in 4b32faf2632e 19:06:23 Removing intermediate container 4b32faf2632e 19:06:23 ---> 58c217b27934 19:06:23 Step 12/13 : COPY . . 19:06:23 ---> 806a74b38137 19:06:23 Step 13/13 : RUN ${MAKE} 19:06:23 ---> Running in 2f233a49e421 19:06:23 noop 19:06:24 Removing intermediate container 2f233a49e421 19:06:24 ---> 066cb000e196 19:06:24 Successfully built 066cb000e196 19:06:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:24 + docker inspect -f . ci-base-image-arm64 19:06:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:25 prd-ubuntu20.04-docker-arm64-4c-16g-17079 does not seem to be running inside a container 19:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:26 $ docker top 98e672d4b22e0d6fb5bc2a3be31f2b2ce175bf5a9ad828d25bca435cd946d13e -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:27 + go version 19:06:27 go version go1.21.0 linux/arm64 [Pipeline] } 19:06:27 $ docker stop --time=1 98e672d4b22e0d6fb5bc2a3be31f2b2ce175bf5a9ad828d25bca435cd946d13e 19:06:28 $ docker rm -f --volumes 98e672d4b22e0d6fb5bc2a3be31f2b2ce175bf5a9ad828d25bca435cd946d13e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:29 + docker inspect -f . ci-base-image-arm64 19:06:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:29 prd-ubuntu20.04-docker-arm64-4c-16g-17079 does not seem to be running inside a container 19:06:29 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:31 $ docker top d27b9974d3dd647c8e8ca8e8de2f06545b10dafd816834318c432b5368e200c3 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:31 + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh 19:06:32 + make test 19:06:32 go test ./... -coverprofile=coverage.out ./... 19:06:38 ? github.com/edgexfoundry/device-onvif-camera [no test files] 19:08:30 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 19:08:30 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 19:08:30 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.257s coverage: 31.5% of statements 19:08:42 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.118s coverage: 86.5% of statements 19:08:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:08:46 go vet ./... 19:09:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:09:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:09:12 ./bin/test-attribution-txt.sh [Pipeline] echo 19:09:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 19:09:12 $ docker stop --time=1 d27b9974d3dd647c8e8ca8e8de2f06545b10dafd816834318c432b5368e200c3 19:09:16 $ docker rm -f --volumes d27b9974d3dd647c8e8ca8e8de2f06545b10dafd816834318c432b5368e200c3 [Pipeline] // withDockerContainer [Pipeline] sh 19:09:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:09:17 Warning: overwriting stash ‘coverage-report’ 19:09:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:09:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:09:18 + ls -al . 19:09:18 total 232 19:09:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:06 . 19:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:03 .. 19:09:18 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:03 .git 19:09:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:03 .github 19:09:18 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 19:03 .gitignore 19:09:18 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 19:03 .golangci.yml 19:09:18 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 8 19:03 Attribution.txt 19:09:18 -rw-rw-r-- 1 jenkins jenkins 15932 Nov 8 19:03 CHANGELOG.md 19:09:18 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 8 19:03 Dockerfile 19:09:18 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:03 GOVERNANCE.md 19:09:18 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 19:03 Jenkinsfile 19:09:18 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 19:03 LICENSE 19:09:18 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 8 19:03 Makefile 19:09:18 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 19:03 OWNERS.md 19:09:18 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 19:03 README.md 19:09:18 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:00 VERSION 19:09:18 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:03 bin 19:09:18 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:03 cmd 19:09:18 -rw-r--r-- 1 jenkins jenkins 78456 Nov 8 19:08 coverage.out 19:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:03 doc 19:09:18 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 8 19:03 go.mod 19:09:18 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 8 19:03 go.sum 19:09:18 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:03 internal 19:09:18 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:19 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b --label arch=arm64 --label version=0.0.0 . 19:09:19 Sending build context to Docker daemon 14.28MB 19:09:19 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 19:09:19 Step 2/26 : FROM ${BASE} AS builder 19:09:19 ---> 066cb000e196 19:09:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 19:09:19 ---> Running in f04e50edef36 19:09:20 Removing intermediate container f04e50edef36 19:09:20 ---> fca9228aadaa 19:09:20 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:09:20 ---> Running in 2ef7d2c7c3d7 19:09:20 Removing intermediate container 2ef7d2c7c3d7 19:09:20 ---> de3f25eec76b 19:09:20 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 19:09:20 ---> Running in 808838788ee8 19:09:20 Removing intermediate container 808838788ee8 19:09:20 ---> 554abf4a8687 19:09:20 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 19:09:21 ---> Running in 4ce1a1e09d3d 19:09:21 Removing intermediate container 4ce1a1e09d3d 19:09:21 ---> 851d36273bfe 19:09:21 Step 7/26 : LABEL Name=edgex-device-onvif-camera 19:09:21 ---> Running in 827b6452e13f 19:09:21 Removing intermediate container 827b6452e13f 19:09:21 ---> 054afd9c77e2 19:09:21 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:09:21 ---> Running in 3d6fd410f3f1 19:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:09:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:09:24 OK: 266 MiB in 52 packages 19:09:25 Removing intermediate container 3d6fd410f3f1 19:09:25 ---> 2dfd54d21892 19:09:25 Step 9/26 : WORKDIR /device-onvif-camera 19:09:25 ---> Running in 4237ff1311aa 19:09:25 Removing intermediate container 4237ff1311aa 19:09:25 ---> 7b4c9feeb271 19:09:25 Step 10/26 : COPY go.mod vendor* ./ 19:09:28 ---> 1f7a1fb39954 19:09:28 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:09:28 ---> Running in e72e6b09f999 19:09:31 Removing intermediate container e72e6b09f999 19:09:31 ---> 27123662498c 19:09:31 Step 12/26 : COPY . . 19:09:32 ---> e2f662c0faca 19:09:32 Step 13/26 : RUN ${MAKE} 19:09:32 ---> Running in bfdcc1287ead 19:09:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 19:11:25 Removing intermediate container bfdcc1287ead 19:11:25 ---> c188d8213103 19:11:25 Step 14/26 : FROM alpine:3.18 19:11:25 3.18: Pulling from library/alpine 19:11:25 579b34f0a95b: Pulling fs layer 19:11:25 579b34f0a95b: Verifying Checksum 19:11:25 579b34f0a95b: Download complete 19:11:26 579b34f0a95b: Pull complete 19:11:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:11:26 Status: Downloaded newer image for alpine:3.18 19:11:26 ---> 3cc203321400 19:11:26 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 19:11:26 ---> Running in 034ac1e15e8a 19:11:27 Removing intermediate container 034ac1e15e8a 19:11:27 ---> e821329524db 19:11:27 Step 16/26 : RUN apk add --update --no-cache dumb-init 19:11:27 ---> Running in 30295383d28a 19:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:11:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:11:29 (1/1) Installing dumb-init (1.2.5-r2) 19:11:29 Executing busybox-1.36.1-r2.trigger 19:11:29 OK: 8 MiB in 16 packages 19:11:30 Removing intermediate container 30295383d28a 19:11:30 ---> 9498a922de1d 19:11:30 Step 17/26 : WORKDIR / 19:11:30 ---> Running in dc0c418a8c90 19:11:31 Removing intermediate container dc0c418a8c90 19:11:31 ---> ef9a90a20f6d 19:11:31 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 19:11:36 ---> 77477f9e7c75 19:11:36 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 19:11:36 ---> 6dc097822fe3 19:11:36 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 19:11:36 ---> 46b7d7db5d7f 19:11:36 Step 21/26 : EXPOSE 59984 19:11:36 ---> Running in 506f3689befc 19:11:37 Removing intermediate container 506f3689befc 19:11:37 ---> 83dbd46785cf 19:11:37 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 19:11:37 ---> Running in de50933922a6 19:11:37 Removing intermediate container de50933922a6 19:11:37 ---> 94960a27c617 19:11:37 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 19:11:37 ---> Running in f3b07dcdd25d 19:11:37 Removing intermediate container f3b07dcdd25d 19:11:37 ---> 00fd539bf4d8 19:11:37 Step 24/26 : LABEL arch=arm64 19:11:37 ---> Running in 1afc98594c8d 19:11:38 Removing intermediate container 1afc98594c8d 19:11:38 ---> 8fbb2ffc2bda 19:11:38 Step 25/26 : LABEL git_sha=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b 19:11:38 ---> Running in 9699067c5262 19:11:38 Removing intermediate container 9699067c5262 19:11:38 ---> 43a2d05689cd 19:11:38 Step 26/26 : LABEL version=0.0.0 19:11:38 ---> Running in fcbe026e19dc 19:11:38 Removing intermediate container fcbe026e19dc 19:11:38 ---> 7ca16582a236 19:11:38 [Warning] One or more build-args [ARCH] were not consumed 19:11:38 Successfully built 7ca16582a236 19:11:38 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:39 19:11:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:11:39 arm64: Pulling from edgex-lftools-log-publisher 19:11:39 8998bd30e6a1: Pulling fs layer 19:11:39 04944245beec: Pulling fs layer 19:11:39 699f458cf7ca: Pulling fs layer 19:11:39 765212b225bb: Pulling fs layer 19:11:39 f23df028b6ca: Pulling fs layer 19:11:39 d65c8cfc05b1: Pulling fs layer 19:11:39 2437ff75d9bd: Pulling fs layer 19:11:39 f23df028b6ca: Waiting 19:11:39 765212b225bb: Waiting 19:11:39 d65c8cfc05b1: Waiting 19:11:39 04944245beec: Verifying Checksum 19:11:39 04944245beec: Download complete 19:11:39 765212b225bb: Verifying Checksum 19:11:39 765212b225bb: Download complete 19:11:39 f23df028b6ca: Verifying Checksum 19:11:39 f23df028b6ca: Download complete 19:11:39 d65c8cfc05b1: Verifying Checksum 19:11:39 d65c8cfc05b1: Download complete 19:11:40 699f458cf7ca: Verifying Checksum 19:11:40 699f458cf7ca: Download complete 19:11:40 8998bd30e6a1: Verifying Checksum 19:11:40 8998bd30e6a1: Download complete 19:11:43 2437ff75d9bd: Verifying Checksum 19:11:43 2437ff75d9bd: Download complete 19:11:45 8998bd30e6a1: Pull complete 19:11:45 04944245beec: Pull complete 19:11:48 699f458cf7ca: Pull complete 19:11:49 765212b225bb: Pull complete 19:11:50 f23df028b6ca: Pull complete 19:11:50 d65c8cfc05b1: Pull complete 19:12:05 2437ff75d9bd: Pull complete 19:12:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:12:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:12:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:05 prd-ubuntu20.04-docker-arm64-4c-16g-17079 does not seem to be running inside a container 19:12:05 $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:12:08 $ docker top 7a97437834e02dae79d76f337a1f2226682c39509dfa6de439e3fc9d662da38e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:12:09 ---> job-cost.sh 19:12:09 lf-activate-venv: SKIPPING 19:12:09 INFO: No Stack... 19:12:09 INFO: Retrieving Pricing Info for: v3-standard-4 19:12:10 INFO: Archiving Costs [Pipeline] sh 19:12:10 + cat /w/workspace/device-onvif-camera/3/archives/cost.csv 19:12:10 + cut -d, -f6 [Pipeline] lock 19:12:10 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] 19:12:10 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] did not exist. Created. 19:12:10 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:12:11 /w/workspace/device-onvif-camera/3@tmp/durable-a1d3df6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:12:11 + echo total: 0.10999999940395355 [Pipeline] stash 19:12:12 Warning: overwriting stash ‘stack-cost’ 19:12:12 Stashed 1 file(s) [Pipeline] } 19:12:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-404-3-stack-cost] [Pipeline] // lock [Pipeline] } 19:12:12 $ docker stop --time=1 7a97437834e02dae79d76f337a1f2226682c39509dfa6de439e3fc9d662da38e 19:12:13 $ docker rm -f --volumes 7a97437834e02dae79d76f337a1f2226682c39509dfa6de439e3fc9d662da38e [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 19:12:13 provisioning config files... 19:12:13 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config12794096108380180267tmp [Pipeline] { [Pipeline] sh 19:12:14 + set +x 19:12:14 + curl -s https://codecov.io/bash 19:12:14 + bash -s -- 19:12:14 19:12:14 _____ _ 19:12:14 / ____| | | 19:12:14 | | ___ __| | ___ ___ _____ __ 19:12:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:12:14 | |___| (_) | (_| | __/ (_| (_) \ V / 19:12:14 \_____\___/ \__,_|\___|\___\___/ \_/ 19:12:14 Bash-1.0.6 19:12:14 19:12:14 19:12:14 ==> git version 2.25.1 found 19:12:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:12:14 Release-Date: 2020-01-08 19:12:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:12:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:12:14 ==> Jenkins CI detected. 19:12:14 current dir:  /w/workspace/undry_device-onvif-camera_PR-404 19:12:14 project root: . 19:12:14 --> token set from env 19:12:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:12:14 ==> Running gcov in . (disable via -X gcov) 19:12:14 ==> Python coveragepy not found 19:12:14 ==> Searching for coverage reports in: 19:12:14 + . 19:12:14 -> Found 1 reports 19:12:14 ==> Detecting git/mercurial file structure 19:12:14 ==> Reading reports 19:12:14 + ./coverage.out bytes=78456 19:12:14 ==> Appending adjustments 19:12:14 https://docs.codecov.io/docs/fixing-reports 19:12:14 + Found adjustments 19:12:14 ==> Gzipping contents 19:12:14 12K /tmp/codecov.2FTGJf.gz 19:12:14 ==> Uploading reports 19:12:14 url: https://codecov.io 19:12:14 query: branch=PR-404&commit=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= 19:12:14 -> Pinging Codecov 19:12:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-404&commit=0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-404%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=404&job=&cmd_args= 19:12:14 -> Uploading to 19:12:14 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/F29A59C45E3A92E06B3E522C9905F8EF/0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b/6febab8d-0769-478e-99ba-da64a1adb7ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T191214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5612f9b661f6224d4149764c3ecc3c43fa69aaa9554a64b03e5f39b9b03611c7 19:12:14 % Total % Received % Xferd Average Speed Time Time Time Current 19:12:14 Dload Upload Total Spent Left Speed 19:12:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 40069 --:--:-- --:--:-- --:--:-- 40069 19:12:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0a3ee310c21b33fa9f9a0ef1e3a76dddc9efc03b [Pipeline] } 19:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:12:15 + [ -d /w/workspace/undry_device-onvif-camera_PR-404/archives ] 19:12:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives 19:12:15 total 16 19:12:15 drwxr-xr-x 3 root root 4096 Nov 8 19:02 . 19:12:15 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:02 .. 19:12:15 drwxr-xr-x 2 root root 4096 Nov 8 19:02 cost 19:12:15 -rw-r--r-- 1 root root 91 Nov 8 19:02 cost.csv 19:12:15 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-404/archives 19:12:15 + ls -al /w/workspace/undry_device-onvif-camera_PR-404/archives 19:12:15 total 16 19:12:15 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:02 . 19:12:15 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:02 .. 19:12:15 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:02 cost 19:12:15 -rw-r--r-- 1 jenkins jenkins 91 Nov 8 19:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:12:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:12:16 ---> package-listing.sh 19:12:16 ++ facter osfamily 19:12:16 ++ tr '[:upper:]' '[:lower:]' 19:12:17 + OS_FAMILY=debian 19:12:17 + workspace=/w/workspace/undry_device-onvif-camera_PR-404 19:12:17 + START_PACKAGES=/tmp/packages_start.txt 19:12:17 + END_PACKAGES=/tmp/packages_end.txt 19:12:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:12:17 + PACKAGES=/tmp/packages_start.txt 19:12:17 + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' 19:12:17 + PACKAGES=/tmp/packages_end.txt 19:12:17 + case "${OS_FAMILY}" in 19:12:17 + dpkg -l 19:12:17 + grep '^ii' 19:12:17 + '[' -f /tmp/packages_start.txt ']' 19:12:17 + '[' -f /tmp/packages_end.txt ']' 19:12:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:12:17 + '[' /w/workspace/undry_device-onvif-camera_PR-404 ']' 19:12:17 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-404/archives/ 19:12:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-404/archives/ [Pipeline] echo 19:12:17 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:12:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:12:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:18 prd-ubuntu20.04-docker-8c-8g-17074 does not seem to be running inside a container 19:12:18 $ 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-404/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-404 -v /w/workspace/undry_device-onvif-camera_PR-404:/w/workspace/undry_device-onvif-camera_PR-404:rw,z -v /w/workspace/undry_device-onvif-camera_PR-404@tmp:/w/workspace/undry_device-onvif-camera_PR-404@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:12:18 $ docker top 5f7af316da342f5f7edb49581af4f68845e4b73807f3ba391e0d47c88e825421 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:18 + touch /tmp/pre-build-complete [Pipeline] sh 19:12:19 + mkdir -p /var/log/sysstat [Pipeline] sh 19:12:19 + ls /var/log/sa-host 19:12:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:12:19 provisioning config files... 19:12:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-404@tmp/config3847082874902724222tmp [Pipeline] { [Pipeline] echo 19:12:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:12:19 ---> create-netrc.sh [Pipeline] } 19:12:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:12:20 ---> python-tools-install.sh [Pipeline] echo 19:12:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:12:20 ---> sudo-logs.sh 19:12:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:12:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:12:20 ---> job-cost.sh 19:12:20 lf-activate-venv: SKIPPING 19:12:20 DEBUG: total: 0.2199999988079071 19:12:20 INFO: Retrieving Stack Cost... 19:12:20 INFO: Retrieving Pricing Info for: v3-standard-8 19:12:21 INFO: Archiving Costs [Pipeline] echo 19:12:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:12:21 ---> logs-deploy.sh 19:12:21 lf-activate-venv: SKIPPING 19:12:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-404/3 19:12:21 INFO: archiving workspace using pattern(s): 19:12:22 Archives upload complete. 19:12:22 INFO: archiving logs to Nexus