Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 120f327b48bbce44d86db2317785d398797a0598+92c3ba4568a6222498d3402d3e8034c184771ddb (3eb7826cfda18c762299a390cdd0c5aece4dc81a) 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-ssh13927410747199433163.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-ssh11155210643377480664.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-406/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-406/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13685921642069196838.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-ssh7546615564760007341.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-406/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-406/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6706299419705512460.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17093 in /w/workspace/undry_device-onvif-camera_PR-406 [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-406 # 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 Merging remotes/origin/main commit 92c3ba4568a6222498d3402d3e8034c184771ddb into PR head commit 120f327b48bbce44d86db2317785d398797a0598 Merge succeeded, producing a32f5962a68b2a1cbaafc78e4543593a90d9de71 Checking out Revision a32f5962a68b2a1cbaafc78e4543593a90d9de71 (PR-406) > 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/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 120f327b48bbce44d86db2317785d398797a0598 # 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 a32f5962a68b2a1cbaafc78e4543593a90d9de71 # timeout=10 Commit message: "Merge commit '92c3ba4568a6222498d3402d3e8034c184771ddb' into HEAD" > git rev-list --no-walk 120f327b48bbce44d86db2317785d398797a0598 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:10:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:10:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:10:28 ========================================================= 22:10:28 EdgeX Global Pipelines Version Info 22:10:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:10:29 ------------------- 22:10:29 stable info: 22:10:29 ------------------- 22:10:29 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 22:10:29 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 22:10:29 Message: update stable to v1.0.257 22:10:30 ------------------- 22:10:30 experimental info: 22:10:30 ------------------- 22:10:30 Commited By: **** collab-it+edgex@linuxfoundation.org 22:10:30 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 22:10:30 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a32f5962a68b2a1cbaafc78e4543593a90d9de71 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a32f596 [Pipeline] echo 22:10:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:10:30 provisioning config files... 22:10:30 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-406@tmp/config5863750023988199801tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:31 ---> docker-login.sh 22:10:31 nexus3.edgexfoundry.org:10001 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10002 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10003 22:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:31 Configure a credential helper to remove this warning. See 22:10:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:31 22:10:31 Login Succeeded 22:10:31 nexus3.edgexfoundry.org:10004 22:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:32 Configure a credential helper to remove this warning. See 22:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:32 22:10:32 Login Succeeded 22:10:32 docker.io 22:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:32 Configure a credential helper to remove this warning. See 22:10:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:32 22:10:32 Login Succeeded 22:10:32 ---> docker-login.sh ends [Pipeline] } 22:10:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:10:32 + git rev-list -1 --merges a32f5962a68b2a1cbaafc78e4543593a90d9de71~1..a32f5962a68b2a1cbaafc78e4543593a90d9de71 [Pipeline] echo 22:10:32 -----------> git rev-list -1 --merges a32f5962a68b2a1cbaafc78e4543593a90d9de71~1..a32f5962a68b2a1cbaafc78e4543593a90d9de71 a32f5962a68b2a1cbaafc78e4543593a90d9de71 22:10:32 a32f5962a68b2a1cbaafc78e4543593a90d9de71 [false] [Pipeline] sh 22:10:33 + git log --format=format:%s -1 a32f5962a68b2a1cbaafc78e4543593a90d9de71 [Pipeline] echo 22:10:33 ========================================================= 22:10:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:10:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:10:33 + git log --format=format:%s -1 a32f5962a68b2a1cbaafc78e4543593a90d9de71 [Pipeline] echo 22:10:33 [semverPrep] GIT_COMMIT: a32f5962a68b2a1cbaafc78e4543593a90d9de71, Commit Message: Merge commit '92c3ba4568a6222498d3402d3e8034c184771ddb' into HEAD [Pipeline] echo 22:10:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:10:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:10:33 + grep -v github /etc/ssh/ssh_known_hosts 22:10:33 + [ -e /tmp/ssh_known_hosts ] 22:10:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:10:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:10:33 + sudo tee -a /etc/ssh/ssh_known_hosts 22:10:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:34 22:10:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:34 0.1.4: Pulling from edgex-devops/py-git-semver 22:10:34 b85a868b505f: Pulling fs layer 22:10:34 e2be974225ed: Pulling fs layer 22:10:34 339a4e72a1f5: Pulling fs layer 22:10:34 988bab9f4d93: Pulling fs layer 22:10:34 1469e6f7b9e6: Pulling fs layer 22:10:34 eaf3925da568: Pulling fs layer 22:10:34 bab4dde63d76: Pulling fs layer 22:10:34 bde34c3a00c8: Pulling fs layer 22:10:34 b352a97aabf1: Pulling fs layer 22:10:34 4872d77fe225: Pulling fs layer 22:10:34 5851b861e8e6: Pulling fs layer 22:10:34 988bab9f4d93: Waiting 22:10:34 1469e6f7b9e6: Waiting 22:10:34 eaf3925da568: Waiting 22:10:34 bab4dde63d76: Waiting 22:10:34 bde34c3a00c8: Waiting 22:10:34 b352a97aabf1: Waiting 22:10:34 4872d77fe225: Waiting 22:10:34 5851b861e8e6: Waiting 22:10:34 e2be974225ed: Verifying Checksum 22:10:34 e2be974225ed: Download complete 22:10:34 988bab9f4d93: Verifying Checksum 22:10:34 988bab9f4d93: Download complete 22:10:34 1469e6f7b9e6: Verifying Checksum 22:10:34 1469e6f7b9e6: Download complete 22:10:34 eaf3925da568: Verifying Checksum 22:10:34 eaf3925da568: Download complete 22:10:34 339a4e72a1f5: Verifying Checksum 22:10:34 339a4e72a1f5: Download complete 22:10:34 bde34c3a00c8: Download complete 22:10:34 b352a97aabf1: Verifying Checksum 22:10:34 b352a97aabf1: Download complete 22:10:34 4872d77fe225: Verifying Checksum 22:10:34 4872d77fe225: Download complete 22:10:34 5851b861e8e6: Verifying Checksum 22:10:34 5851b861e8e6: Download complete 22:10:34 b85a868b505f: Verifying Checksum 22:10:34 b85a868b505f: Download complete 22:10:35 bab4dde63d76: Verifying Checksum 22:10:35 bab4dde63d76: Download complete 22:10:36 b85a868b505f: Pull complete 22:10:36 e2be974225ed: Pull complete 22:10:36 339a4e72a1f5: Pull complete 22:10:36 988bab9f4d93: Pull complete 22:10:37 1469e6f7b9e6: Pull complete 22:10:37 eaf3925da568: Pull complete 22:10:38 bab4dde63d76: Pull complete 22:10:38 bde34c3a00c8: Pull complete 22:10:38 b352a97aabf1: Pull complete 22:10:38 4872d77fe225: Pull complete 22:10:38 5851b861e8e6: Pull complete 22:10:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:10:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:10:39 prd-ubuntu20.04-docker-8c-8g-17093 does not seem to be running inside a container 22:10:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-406 -v /w/workspace/undry_device-onvif-camera_PR-406:/w/workspace/undry_device-onvif-camera_PR-406:rw,z -v /w/workspace/undry_device-onvif-camera_PR-406@tmp:/w/workspace/undry_device-onvif-camera_PR-406@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-devops/py-git-semver:0.1.4 cat 22:10:43 $ docker top cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f -eo pid,comm 22:10:43 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). 22:10:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:10:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:43 [ssh-agent] Looking for ssh-agent implementation... 22:10:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:43 $ docker exec cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f ssh-agent 22:10:43 SSH_AUTH_SOCK=/tmp/ssh-ZNEuBVDLzSF0/agent.32 22:10:43 SSH_AGENT_PID=38 22:10:43 Running ssh-add (command line suppressed) 22:10:43 Identity added: /w/workspace/undry_device-onvif-camera_PR-406@tmp/private_key_7328564441710800619.key (/w/workspace/undry_device-onvif-camera_PR-406@tmp/private_key_7328564441710800619.key) 22:10:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:44 + git tag --points-at HEAD [Pipeline] } 22:10:44 $ docker exec --env ******** --env ******** cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f ssh-agent -k 22:10:44 unset SSH_AUTH_SOCK; 22:10:44 unset SSH_AGENT_PID; 22:10:44 echo Agent pid 38 killed; 22:10:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:10:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:10:44 [ssh-agent] Looking for ssh-agent implementation... 22:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:10:44 $ docker exec cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f ssh-agent 22:10:44 SSH_AUTH_SOCK=/tmp/ssh-SRdnlprReUYn/agent.70 22:10:44 SSH_AGENT_PID=76 22:10:44 Running ssh-add (command line suppressed) 22:10:44 Identity added: /w/workspace/undry_device-onvif-camera_PR-406@tmp/private_key_11064776251451431425.key (/w/workspace/undry_device-onvif-camera_PR-406@tmp/private_key_11064776251451431425.key) 22:10:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:10:44 + git semver init 22:10:45 2023-11-08 22:10:45,122 [run_init] DEBUG init version:0.0.0 force:False 22:10:45 2023-11-08 22:10:45,123 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-406/.semver 22:10:45 2023-11-08 22:10:45,123 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-406/.semver 22:10:45 2023-11-08 22:10:45,124 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-406/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-406, universal_newlines=False, shell=None, istream=None) 22:10:46 2023-11-08 22:10:46,192 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-406/.git/info/exclude 22:10:46 2023-11-08 22:10:46,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-406/.semver/PR-406 with force:False 22:10:46 2023-11-08 22:10:46,193 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-406/.semver/PR-406 22:10:46 2023-11-08 22:10:46,196 [execute] INFO git cat-file --batch-check 22:10:46 2023-11-08 22:10:46,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-406/.semver, universal_newlines=False, shell=None, istream=) 22:10:46 2023-11-08 22:10:46,202 [execute] INFO git cat-file --batch 22:10:46 2023-11-08 22:10:46,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-406/.semver, universal_newlines=False, shell=None, istream=) 22:10:46 2023-11-08 22:10:46,207 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-406/.semver/PR-406 22:10:46 0.0.0 [Pipeline] } 22:10:46 $ docker exec --env ******** --env ******** cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f ssh-agent -k 22:10:46 unset SSH_AUTH_SOCK; 22:10:46 unset SSH_AGENT_PID; 22:10:46 echo Agent pid 76 killed; 22:10:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:10:47 + git semver [Pipeline] } 22:10:47 $ docker stop --time=1 cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f 22:10:48 $ docker rm -f --volumes cf23b38eb3cd1672efba5bf005a31cadadfc522b10a54593607a1a03db5cca1f [Pipeline] // withDockerContainer [Pipeline] sh 22:10:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:10:49 Stashed 1 file(s) [Pipeline] echo 22:10:49 [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 22:10:49 provisioning config files... 22:10:49 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-406@tmp/config11539888999962746352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:49 ---> docker-login.sh 22:10:49 nexus3.edgexfoundry.org:10001 22:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:49 Configure a credential helper to remove this warning. See 22:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:49 22:10:49 Login Succeeded 22:10:49 nexus3.edgexfoundry.org:10002 22:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:49 Configure a credential helper to remove this warning. See 22:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:49 22:10:49 Login Succeeded 22:10:49 nexus3.edgexfoundry.org:10003 22:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:49 Configure a credential helper to remove this warning. See 22:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:49 22:10:49 Login Succeeded 22:10:49 nexus3.edgexfoundry.org:10004 22:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:49 Configure a credential helper to remove this warning. See 22:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:49 22:10:49 Login Succeeded 22:10:49 docker.io 22:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:10:50 Configure a credential helper to remove this warning. See 22:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:10:50 22:10:50 Login Succeeded 22:10:50 ---> docker-login.sh ends [Pipeline] } 22:10:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:10:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:10:50 ========================================================= 22:10:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 22:10:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:10:50 + 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 . 22:10:50 Sending build context to Docker daemon 21.7MB 22:10:50 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:10:50 Step 2/13 : FROM ${BASE} AS builder 22:10:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 22:10:50 7264a8db6415: Pulling fs layer 22:10:50 c4d48a809fc2: Pulling fs layer 22:10:50 4f1c88b9dad5: Pulling fs layer 22:10:50 ad3a456e5733: Pulling fs layer 22:10:50 33e27b845d1e: Pulling fs layer 22:10:50 c68163c4e522: Pulling fs layer 22:10:50 50da416c3ac9: Pulling fs layer 22:10:50 23d2d4c4bb30: Pulling fs layer 22:10:50 ad3a456e5733: Waiting 22:10:50 50da416c3ac9: Waiting 22:10:50 23d2d4c4bb30: Waiting 22:10:50 c68163c4e522: Waiting 22:10:50 33e27b845d1e: Waiting 22:10:50 c4d48a809fc2: Verifying Checksum 22:10:50 c4d48a809fc2: Download complete 22:10:50 ad3a456e5733: Verifying Checksum 22:10:50 ad3a456e5733: Download complete 22:10:50 33e27b845d1e: Download complete 22:10:50 7264a8db6415: Verifying Checksum 22:10:50 7264a8db6415: Download complete 22:10:50 c68163c4e522: Verifying Checksum 22:10:50 c68163c4e522: Download complete 22:10:50 7264a8db6415: Pull complete 22:10:51 c4d48a809fc2: Pull complete 22:10:51 23d2d4c4bb30: Verifying Checksum 22:10:51 23d2d4c4bb30: Download complete 22:10:51 4f1c88b9dad5: Verifying Checksum 22:10:51 4f1c88b9dad5: Download complete 22:10:51 50da416c3ac9: Verifying Checksum 22:10:51 50da416c3ac9: Download complete 22:10:54 4f1c88b9dad5: Pull complete 22:10:54 ad3a456e5733: Pull complete 22:10:55 33e27b845d1e: Pull complete 22:10:55 c68163c4e522: Pull complete 22:10:58 50da416c3ac9: Pull complete 22:10:58 23d2d4c4bb30: Pull complete 22:10:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 22:10:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 22:10:58 ---> 0786185ac409 22:10:58 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:11:04 Still waiting to schedule task 22:11:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:11:05 ---> Running in 58b9a6aa65e2 22:11:05 Removing intermediate container 58b9a6aa65e2 22:11:05 ---> 1bb92fb535fb 22:11:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:11:05 ---> Running in 026de795d7ca 22:11:05 Removing intermediate container 026de795d7ca 22:11:05 ---> 2d39427247cd 22:11:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:11:05 ---> Running in 35c1b3faef78 22:11:05 Removing intermediate container 35c1b3faef78 22:11:05 ---> e0667b5ed9bb 22:11:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:11:05 ---> Running in cc7fb5b2991f 22:11:05 Removing intermediate container cc7fb5b2991f 22:11:05 ---> efddd328f4bd 22:11:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:11:05 ---> Running in a0f35fade716 22:11:05 Removing intermediate container a0f35fade716 22:11:05 ---> 2a1f3317e205 22:11:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:11:05 ---> Running in 81c3cf356a0a 22:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:11:06 OK: 264 MiB in 52 packages 22:11:06 Removing intermediate container 81c3cf356a0a 22:11:06 ---> 01778e387e6a 22:11:06 Step 9/13 : WORKDIR /device-onvif-camera 22:11:06 ---> Running in 9eee71776af2 22:11:06 Removing intermediate container 9eee71776af2 22:11:06 ---> d78d5492196b 22:11:06 Step 10/13 : COPY go.mod vendor* ./ 22:11:06 ---> c422fd7eb630 22:11:06 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:11:06 ---> Running in 04abb1592aa6 22:11:53 Removing intermediate container 04abb1592aa6 22:11:53 ---> 3e32122a041f 22:11:53 Step 12/13 : COPY . . 22:11:53 ---> 58a0ee3608af 22:11:53 Step 13/13 : RUN ${MAKE} 22:11:53 ---> Running in 261faa121627 22:11:53 noop 22:11:53 Removing intermediate container 261faa121627 22:11:53 ---> 7b5429118e6c 22:11:53 Successfully built 7b5429118e6c 22:11:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:53 + docker inspect -f . ci-base-image-x86_64 22:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:53 prd-ubuntu20.04-docker-8c-8g-17093 does not seem to be running inside a container 22:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-406 -v /w/workspace/undry_device-onvif-camera_PR-406:/w/workspace/undry_device-onvif-camera_PR-406:rw,z -v /w/workspace/undry_device-onvif-camera_PR-406@tmp:/w/workspace/undry_device-onvif-camera_PR-406@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:54 $ docker top 8e25b6b77a2239faf8046f077744c164ebcacc91c4f3b870fc17205ee72de094 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:54 + go version 22:11:54 go version go1.21.0 linux/amd64 [Pipeline] } 22:11:54 $ docker stop --time=1 8e25b6b77a2239faf8046f077744c164ebcacc91c4f3b870fc17205ee72de094 22:11:55 $ docker rm -f --volumes 8e25b6b77a2239faf8046f077744c164ebcacc91c4f3b870fc17205ee72de094 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:56 + docker inspect -f . ci-base-image-x86_64 22:11:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:56 prd-ubuntu20.04-docker-8c-8g-17093 does not seem to be running inside a container 22:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-406 -v /w/workspace/undry_device-onvif-camera_PR-406:/w/workspace/undry_device-onvif-camera_PR-406:rw,z -v /w/workspace/undry_device-onvif-camera_PR-406@tmp:/w/workspace/undry_device-onvif-camera_PR-406@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:11:56 $ docker top 43501bdb15c157a05ab1ca4d2efddc22e73bafb1255f1242c04bd59e1ed54487 -eo pid,comm [Pipeline] { [Pipeline] sh 22:11:57 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-406 [Pipeline] fileExists [Pipeline] sh 22:11:57 + make test 22:11:57 go test ./... -coverprofile=coverage.out ./... 22:11:58 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:12:10 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:12:10 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:12:11 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 31.5% of statements 22:12:11 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.298s coverage: 86.5% of statements 22:12:19 go vet ./... 22:12:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:12:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:12:22 ./bin/test-attribution-txt.sh [Pipeline] echo 22:12:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:12:22 $ docker stop --time=1 43501bdb15c157a05ab1ca4d2efddc22e73bafb1255f1242c04bd59e1ed54487 22:12:25 $ docker rm -f --volumes 43501bdb15c157a05ab1ca4d2efddc22e73bafb1255f1242c04bd59e1ed54487 [Pipeline] // withDockerContainer [Pipeline] sh 22:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:12:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:12:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:12:26 + ls -al . 22:12:26 total 240 22:12:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 22:11 . 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:10 .. 22:12:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:12 .git 22:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:10 .github 22:12:26 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 22:10 .gitignore 22:12:26 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 22:10 .golangci.yml 22:12:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:10 .semver 22:12:26 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 8 22:10 Attribution.txt 22:12:26 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 22:10 CHANGELOG.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 8 22:10 Dockerfile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:10 GOVERNANCE.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 22:10 Jenkinsfile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 22:10 LICENSE 22:12:26 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 8 22:10 Makefile 22:12:26 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 22:10 OWNERS.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 22:10 README.md 22:12:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:10 VERSION 22:12:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:10 bin 22:12:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:10 cmd 22:12:26 -rw-r--r-- 1 jenkins jenkins 78456 Nov 8 22:12 coverage.out 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:10 doc 22:12:26 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 8 22:10 go.mod 22:12:26 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 8 22:10 go.sum 22:12:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:10 internal 22:12:26 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:27 + 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=a32f5962a68b2a1cbaafc78e4543593a90d9de71 --label arch=amd64 --label version=0.0.0 . 22:12:27 Sending build context to Docker daemon 21.78MB 22:12:27 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:12:27 Step 2/26 : FROM ${BASE} AS builder 22:12:27 ---> 7b5429118e6c 22:12:27 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:12:27 ---> Running in 58279c6c56e9 22:12:27 Removing intermediate container 58279c6c56e9 22:12:27 ---> 24afa078e2a2 22:12:27 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:27 ---> Running in 6e87a992087d 22:12:28 Removing intermediate container 6e87a992087d 22:12:28 ---> 734b1f6ecb5c 22:12:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:12:28 ---> Running in 1939767b77eb 22:12:28 Removing intermediate container 1939767b77eb 22:12:28 ---> ab241a4d69e3 22:12:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:12:28 ---> Running in 033f992eac05 22:12:28 Removing intermediate container 033f992eac05 22:12:28 ---> 8bac438155c6 22:12:28 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:12:28 ---> Running in 495288b81ffa 22:12:28 Removing intermediate container 495288b81ffa 22:12:28 ---> bd1b6661cb93 22:12:28 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:28 ---> Running in 4fd0b7471b5b 22:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:29 OK: 264 MiB in 52 packages 22:12:29 Removing intermediate container 4fd0b7471b5b 22:12:29 ---> f0b5487b8f84 22:12:29 Step 9/26 : WORKDIR /device-onvif-camera 22:12:29 ---> Running in 58e340ab3050 22:12:29 Removing intermediate container 58e340ab3050 22:12:29 ---> ee5213d5ce83 22:12:29 Step 10/26 : COPY go.mod vendor* ./ 22:12:29 ---> ad9245e589ac 22:12:29 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:29 ---> Running in c846f635c82c 22:12:30 Removing intermediate container c846f635c82c 22:12:30 ---> ff1b0bc547d0 22:12:30 Step 12/26 : COPY . . 22:12:31 ---> 9db2ea4236ad 22:12:31 Step 13/26 : RUN ${MAKE} 22:12:31 ---> Running in e39a84bd3da7 22:12:31 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 22:12:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17094 in /w/workspace/undry_device-onvif-camera_PR-406 [Pipeline] { [Pipeline] ws 22:12:40 Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout 22:12:40 The recommended git tool is: git 22:12:45 using credential edgex-jenkins-ssh 22:12:45 Cloning the remote Git repository 22:12:45 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:12:46 > git init /w/workspace/device-onvif-camera/2 # timeout=10 22:12:46 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:46 > git --version # timeout=10 22:12:46 > git --version # 'git version 2.25.1' 22:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:47 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:12:49 Merging remotes/origin/main commit 92c3ba4568a6222498d3402d3e8034c184771ddb into PR head commit 120f327b48bbce44d86db2317785d398797a0598 22:12:48 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:12:48 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:12:48 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:12:49 > git config core.sparsecheckout # timeout=10 22:12:49 > git checkout -f 120f327b48bbce44d86db2317785d398797a0598 # timeout=10 22:12:49 > git remote # timeout=10 22:12:49 > git config --get remote.origin.url # timeout=10 22:12:49 using GIT_SSH to set credentials SSH Credentials for GitHub 22:12:49 > git merge 92c3ba4568a6222498d3402d3e8034c184771ddb # timeout=10 22:12:49 Merge succeeded, producing 3bb62071030447d79e38833df382ef28a2b68a5c 22:12:49 Checking out Revision 3bb62071030447d79e38833df382ef28a2b68a5c (PR-406) 22:12:49 > git rev-parse HEAD^{commit} # timeout=10 22:12:49 > git config core.sparsecheckout # timeout=10 22:12:49 > git checkout -f 3bb62071030447d79e38833df382ef28a2b68a5c # timeout=10 22:12:53 Removing intermediate container e39a84bd3da7 22:12:53 ---> 97eedca59c6d 22:12:53 Step 14/26 : FROM alpine:3.18 22:12:53 3.18: Pulling from library/alpine 22:12:53 96526aa774ef: Pulling fs layer 22:12:53 Commit message: "Merge commit '92c3ba4568a6222498d3402d3e8034c184771ddb' into HEAD" 22:12:53 96526aa774ef: Verifying Checksum 22:12:53 96526aa774ef: Download complete 22:12:53 96526aa774ef: Pull complete 22:12:53 > git rev-list --no-walk 120f327b48bbce44d86db2317785d398797a0598 # timeout=10 22:12:53 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:12:53 Status: Downloaded newer image for alpine:3.18 22:12:53 ---> 8ca4688f4f35 22:12:53 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:12:53 ---> Running in 9b11c7c298c5 [Pipeline] withEnv [Pipeline] { 22:12:54 Removing intermediate container 9b11c7c298c5 22:12:54 ---> 6267f8b0f333 22:12:54 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:12:54 ---> Running in e3c270289cf3 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 22:12:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:12:54 % Total % Received % Xferd Average Speed Time Time Time Current 22:12:54 Dload Upload Total Spent Left Speed 22:12:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 93940 0 --:--:-- --:--:-- --:--:-- 94641 22:12:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 22:12:54 (1/1) Installing dumb-init (1.2.5-r2) 22:12:54 Executing busybox-1.36.1-r2.trigger 22:12:54 OK: 7 MiB in 16 packages [Pipeline] sh 22:12:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:12:55 Removing intermediate container e3c270289cf3 22:12:55 ---> 7535a5fee0a6 22:12:55 Step 17/26 : WORKDIR / 22:12:55 ---> Running in 386f4acb1df3 22:12:55 Removing intermediate container 386f4acb1df3 22:12:55 ---> 65c9a7ec5c54 22:12:55 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:12:55 + sudo tee /etc/docker/daemon.new 22:12:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:12:55 { 22:12:55 "registry-mirrors": [ 22:12:55 "https://nexus3.edgexfoundry.org:10001" 22:12:55 ], 22:12:55 "bip": "10.250.0.254/24", 22:12:55 "hosts": [ 22:12:55 "tcp://0.0.0.0:5555", 22:12:55 "unix:///var/run/docker.sock" 22:12:55 ], 22:12:55 "mtu": 1458, 22:12:55 "selinux-enabled": true, 22:12:55 "seccomp-profile": "/etc/docker/seccomp.json" 22:12:55 } [Pipeline] sh 22:12:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:12:56 + sudo service docker restart 22:12:56 ---> 1568774d98ff 22:12:56 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:12:56 ---> db78ca52f8f5 22:12:56 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:12:56 ---> 2bcc439fd267 22:12:56 Step 21/26 : EXPOSE 59984 22:12:56 ---> Running in 7a2c5880f580 22:12:56 Removing intermediate container 7a2c5880f580 22:12:56 ---> b4fcb7df7c18 22:12:56 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:12:56 ---> Running in dcbe4743b4b3 22:12:57 Removing intermediate container dcbe4743b4b3 22:12:57 ---> a837375a01d8 22:12:57 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:12:57 ---> Running in 7aed7e5cbdb8 22:12:57 Removing intermediate container 7aed7e5cbdb8 22:12:57 ---> 16c777376cc8 22:12:57 Step 24/26 : LABEL arch=amd64 22:12:57 ---> Running in 56968b9410b2 22:12:57 Removing intermediate container 56968b9410b2 22:12:57 ---> 642605bea769 22:12:57 Step 25/26 : LABEL git_sha=a32f5962a68b2a1cbaafc78e4543593a90d9de71 22:12:57 ---> Running in 21d61ae3f8c2 22:12:57 Removing intermediate container 21d61ae3f8c2 22:12:57 ---> 87ff8d0cfa89 22:12:57 Step 26/26 : LABEL version=0.0.0 22:12:57 ---> Running in d215f05dedd8 22:12:58 Removing intermediate container d215f05dedd8 22:12:58 ---> ecb248bcd9b8 22:12:58 [Warning] One or more build-args [ARCH] were not consumed 22:12:58 Successfully built ecb248bcd9b8 22:12:58 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 22:12:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:58 22:12:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:12:59 latest: Pulling from edgex-lftools-log-publisher 22:12:59 5eb5b503b376: Pulling fs layer 22:12:59 5c69ac0246d0: Pulling fs layer 22:12:59 ec43610c2a17: Pulling fs layer 22:12:59 3a2ae6a8a46f: Pulling fs layer 22:12:59 33b1e0a273af: Pulling fs layer 22:12:59 5d3b04190fa2: Pulling fs layer 22:12:59 2f39f015ded8: Pulling fs layer 22:12:59 33b1e0a273af: Waiting 22:12:59 3a2ae6a8a46f: Waiting 22:12:59 5d3b04190fa2: Waiting 22:12:59 2f39f015ded8: Waiting 22:12:59 5c69ac0246d0: Download complete 22:12:59 3a2ae6a8a46f: Verifying Checksum 22:12:59 3a2ae6a8a46f: Download complete 22:12:59 33b1e0a273af: Verifying Checksum 22:12:59 33b1e0a273af: Download complete 22:12:59 5d3b04190fa2: Verifying Checksum 22:12:59 5d3b04190fa2: Download complete 22:12:59 ec43610c2a17: Verifying Checksum 22:12:59 ec43610c2a17: Download complete 22:12:59 5eb5b503b376: Verifying Checksum 22:12:59 5eb5b503b376: Download complete 22:13:00 2f39f015ded8: Download complete 22:13:01 5eb5b503b376: Pull complete 22:13:01 5c69ac0246d0: Pull complete 22:13:01 ec43610c2a17: Pull complete 22:13:01 3a2ae6a8a46f: Pull complete 22:13:01 33b1e0a273af: Pull complete 22:13:01 5d3b04190fa2: Pull complete 22:13:06 2f39f015ded8: Pull complete 22:13:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:13:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:13:06 prd-ubuntu20.04-docker-8c-8g-17093 does not seem to be running inside a container 22:13:06 $ 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-406 -v /w/workspace/undry_device-onvif-camera_PR-406:/w/workspace/undry_device-onvif-camera_PR-406:rw,z -v /w/workspace/undry_device-onvif-camera_PR-406@tmp:/w/workspace/undry_device-onvif-camera_PR-406@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:13:11 $ docker top b4181fb45632f96b5a26ed0b5aabb0bc3c0bfe0f89f59f487d69c19e9bb50e17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:11 ---> job-cost.sh 22:13:11 lf-activate-venv: SKIPPING 22:13:11 INFO: No Stack... 22:13:11 INFO: Retrieving Pricing Info for: v3-standard-8 22:13:12 INFO: Archiving Costs [Pipeline] sh 22:13:12 + cat /w/workspace/undry_device-onvif-camera_PR-406/archives/cost.csv 22:13:12 + cut -d, -f6 [Pipeline] lock 22:13:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] 22:13:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] did not exist. Created. 22:13:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:13:12 + echo total: 0.2199999988079071 [Pipeline] stash 22:13:12 Stashed 1 file(s) [Pipeline] } 22:13:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:13:12 $ docker stop --time=1 b4181fb45632f96b5a26ed0b5aabb0bc3c0bfe0f89f59f487d69c19e9bb50e17 22:13:13 $ docker rm -f --volumes b4181fb45632f96b5a26ed0b5aabb0bc3c0bfe0f89f59f487d69c19e9bb50e17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:13:14 provisioning config files... 22:13:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config296120324217750451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:13:14 ---> docker-login.sh 22:13:14 nexus3.edgexfoundry.org:10001 22:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:15 Configure a credential helper to remove this warning. See 22:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:15 22:13:15 Login Succeeded 22:13:15 nexus3.edgexfoundry.org:10002 22:13:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:15 Configure a credential helper to remove this warning. See 22:13:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:15 22:13:15 Login Succeeded 22:13:15 nexus3.edgexfoundry.org:10003 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:16 Configure a credential helper to remove this warning. See 22:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:16 22:13:16 Login Succeeded 22:13:16 nexus3.edgexfoundry.org:10004 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:16 Configure a credential helper to remove this warning. See 22:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:16 22:13:16 Login Succeeded 22:13:16 docker.io 22:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:13:17 Configure a credential helper to remove this warning. See 22:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:13:17 22:13:17 Login Succeeded 22:13:17 ---> docker-login.sh ends [Pipeline] } 22:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:13:17 ========================================================= 22:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 22:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:17 + 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 . 22:13:18 Sending build context to Docker daemon 14.22MB 22:13:18 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 22:13:18 Step 2/13 : FROM ${BASE} AS builder 22:13:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:13:18 9fda8d8052c6: Pulling fs layer 22:13:18 5d54e960e981: Pulling fs layer 22:13:18 c4a7e357bf2a: Pulling fs layer 22:13:18 f0e02332f6b5: Pulling fs layer 22:13:18 cefa15bbcfad: Pulling fs layer 22:13:18 17808c966233: Pulling fs layer 22:13:18 f4c1fc716caa: Pulling fs layer 22:13:18 cefa15bbcfad: Waiting 22:13:18 17808c966233: Waiting 22:13:18 f4c1fc716caa: Waiting 22:13:18 f0e02332f6b5: Waiting 22:13:18 5d54e960e981: Verifying Checksum 22:13:18 5d54e960e981: Download complete 22:13:18 f0e02332f6b5: Verifying Checksum 22:13:18 f0e02332f6b5: Download complete 22:13:18 cefa15bbcfad: Verifying Checksum 22:13:18 cefa15bbcfad: Download complete 22:13:18 9fda8d8052c6: Download complete 22:13:18 f4c1fc716caa: Verifying Checksum 22:13:18 f4c1fc716caa: Download complete 22:13:19 9fda8d8052c6: Pull complete 22:13:20 5d54e960e981: Pull complete 22:13:20 c4a7e357bf2a: Download complete 22:13:21 17808c966233: Verifying Checksum 22:13:21 17808c966233: Download complete 22:13:33 c4a7e357bf2a: Pull complete 22:13:33 f0e02332f6b5: Pull complete 22:13:33 cefa15bbcfad: Pull complete 22:13:41 17808c966233: Pull complete 22:13:42 f4c1fc716caa: Pull complete 22:13:42 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 22:13:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 22:13:42 ---> ea914061e18c 22:13:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:13:44 ---> Running in f8a4909d6290 22:13:44 Removing intermediate container f8a4909d6290 22:13:44 ---> cef1465ef763 22:13:44 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:45 ---> Running in 5fef034e3173 22:13:45 Removing intermediate container 5fef034e3173 22:13:45 ---> 0ebeae5c1840 22:13:45 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:13:45 ---> Running in d8c5686e1c68 22:13:45 Removing intermediate container d8c5686e1c68 22:13:45 ---> 9fb2435f2c70 22:13:45 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:13:45 ---> Running in 2c64218c6a3c 22:13:46 Removing intermediate container 2c64218c6a3c 22:13:46 ---> 976dd5f6de49 22:13:46 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:13:46 ---> Running in 269ef97980f0 22:13:46 Removing intermediate container 269ef97980f0 22:13:46 ---> c8509a13ea81 22:13:46 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:46 ---> Running in 5313ad437be0 22:13:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:13:49 OK: 266 MiB in 52 packages 22:13:50 Removing intermediate container 5313ad437be0 22:13:50 ---> 54aac338d743 22:13:50 Step 9/13 : WORKDIR /device-onvif-camera 22:13:50 ---> Running in 614e314a9b2b 22:13:50 Removing intermediate container 614e314a9b2b 22:13:50 ---> a30b338b6d9e 22:13:50 Step 10/13 : COPY go.mod vendor* ./ 22:13:51 ---> c3c743dee87b 22:13:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:51 ---> Running in 6099cc823800 22:15:27 Removing intermediate container 6099cc823800 22:15:27 ---> 48bcef225085 22:15:27 Step 12/13 : COPY . . 22:15:27 ---> e7398048ef4a 22:15:27 Step 13/13 : RUN ${MAKE} 22:15:27 ---> Running in 52c93abdf961 22:15:27 noop 22:15:27 Removing intermediate container 52c93abdf961 22:15:27 ---> d0508daad08d 22:15:27 Successfully built d0508daad08d 22:15:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:28 + docker inspect -f . ci-base-image-arm64 22:15:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:28 prd-ubuntu20.04-docker-arm64-4c-16g-17094 does not seem to be running inside a container 22:15:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:32 $ docker top c6d496c0dc7807a02cdd23a3df272231b5e97d87372bd2183e2da23026316f03 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:33 + go version 22:15:33 go version go1.21.0 linux/arm64 [Pipeline] } 22:15:33 $ docker stop --time=1 c6d496c0dc7807a02cdd23a3df272231b5e97d87372bd2183e2da23026316f03 22:15:34 $ docker rm -f --volumes c6d496c0dc7807a02cdd23a3df272231b5e97d87372bd2183e2da23026316f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:35 + docker inspect -f . ci-base-image-arm64 22:15:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:35 prd-ubuntu20.04-docker-arm64-4c-16g-17094 does not seem to be running inside a container 22:15:35 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:36 $ docker top 5f408084534050d501c1a1d83f87191a15c9f9f8a2513cd0242b112934c14d7f -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh 22:15:37 + make test 22:15:37 go test ./... -coverprofile=coverage.out ./... 22:15:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:17:18 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:17:18 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:17:21 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.196s coverage: 31.5% of statements 22:17:39 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 18.772s coverage: 86.5% of statements 22:17:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:39 go vet ./... 22:18:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:06 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:18:06 $ docker stop --time=1 5f408084534050d501c1a1d83f87191a15c9f9f8a2513cd0242b112934c14d7f 22:18:09 $ docker rm -f --volumes 5f408084534050d501c1a1d83f87191a15c9f9f8a2513cd0242b112934c14d7f [Pipeline] // withDockerContainer [Pipeline] sh 22:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:10 Warning: overwriting stash ‘coverage-report’ 22:18:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:11 + ls -al . 22:18:11 total 236 22:18:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:15 . 22:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:12 .. 22:18:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 22:12 .git 22:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:12 .github 22:18:11 -rw-rw-r-- 1 jenkins jenkins 493 Nov 8 22:12 .gitignore 22:18:11 -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 22:12 .golangci.yml 22:18:11 -rw-rw-r-- 1 jenkins jenkins 11155 Nov 8 22:12 Attribution.txt 22:18:11 -rw-rw-r-- 1 jenkins jenkins 17665 Nov 8 22:12 CHANGELOG.md 22:18:11 -rw-rw-r-- 1 jenkins jenkins 1574 Nov 8 22:12 Dockerfile 22:18:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 22:12 GOVERNANCE.md 22:18:11 -rw-rw-r-- 1 jenkins jenkins 739 Nov 8 22:12 Jenkinsfile 22:18:11 -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 22:12 LICENSE 22:18:11 -rw-rw-r-- 1 jenkins jenkins 2877 Nov 8 22:12 Makefile 22:18:11 -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 22:12 OWNERS.md 22:18:11 -rw-rw-r-- 1 jenkins jenkins 2620 Nov 8 22:12 README.md 22:18:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 22:10 VERSION 22:18:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 22:12 bin 22:18:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 22:12 cmd 22:18:11 -rw-r--r-- 1 jenkins jenkins 78456 Nov 8 22:17 coverage.out 22:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:12 doc 22:18:11 -rw-rw-r-- 1 jenkins jenkins 4040 Nov 8 22:12 go.mod 22:18:11 -rw-rw-r-- 1 jenkins jenkins 35594 Nov 8 22:12 go.sum 22:18:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 22:12 internal 22:18:11 -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 22:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:12 + 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=3bb62071030447d79e38833df382ef28a2b68a5c --label arch=arm64 --label version=0.0.0 . 22:18:12 Sending build context to Docker daemon 14.3MB 22:18:12 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 22:18:12 Step 2/26 : FROM ${BASE} AS builder 22:18:12 ---> d0508daad08d 22:18:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:18:12 ---> Running in 5326d49dc4f2 22:18:12 Removing intermediate container 5326d49dc4f2 22:18:12 ---> 4d0fdb1e5324 22:18:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:13 ---> Running in ad65cf8d0e4c 22:18:13 Removing intermediate container ad65cf8d0e4c 22:18:13 ---> 14665ceee05e 22:18:13 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:18:13 ---> Running in d5ecca5fe332 22:18:13 Removing intermediate container d5ecca5fe332 22:18:13 ---> 34c9a707c208 22:18:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:18:13 ---> Running in fa99edfdc52f 22:18:14 Removing intermediate container fa99edfdc52f 22:18:14 ---> 16e475d23715 22:18:14 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:18:14 ---> Running in 85debd5ee706 22:18:14 Removing intermediate container 85debd5ee706 22:18:14 ---> 302641832564 22:18:14 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:14 ---> Running in 6b4ce4035599 22:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:18:16 OK: 266 MiB in 52 packages 22:18:17 Removing intermediate container 6b4ce4035599 22:18:17 ---> 55d897fcc94e 22:18:17 Step 9/26 : WORKDIR /device-onvif-camera 22:18:17 ---> Running in a6f938b91238 22:18:21 Removing intermediate container a6f938b91238 22:18:21 ---> 57411356aa06 22:18:21 Step 10/26 : COPY go.mod vendor* ./ 22:18:21 ---> a546eee9da82 22:18:21 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:21 ---> Running in 82d1402ced36 22:18:24 Removing intermediate container 82d1402ced36 22:18:24 ---> 231f9c423e46 22:18:24 Step 12/26 : COPY . . 22:18:25 ---> 2f47ca192ee1 22:18:25 Step 13/26 : RUN ${MAKE} 22:18:25 ---> Running in 4ecd3e27360c 22:18:26 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 22:20:18 Removing intermediate container 4ecd3e27360c 22:20:18 ---> 896013414e0c 22:20:18 Step 14/26 : FROM alpine:3.18 22:20:18 3.18: Pulling from library/alpine 22:20:18 579b34f0a95b: Pulling fs layer 22:20:18 579b34f0a95b: Verifying Checksum 22:20:18 579b34f0a95b: Download complete 22:20:18 579b34f0a95b: Pull complete 22:20:18 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 22:20:18 Status: Downloaded newer image for alpine:3.18 22:20:18 ---> 3cc203321400 22:20:18 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 22:20:18 ---> Running in 8351496af73a 22:20:18 Removing intermediate container 8351496af73a 22:20:18 ---> e612be508966 22:20:18 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:20:18 ---> Running in b81cd9a1aaff 22:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 22:20:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 22:20:18 (1/1) Installing dumb-init (1.2.5-r2) 22:20:18 Executing busybox-1.36.1-r2.trigger 22:20:18 OK: 8 MiB in 16 packages 22:20:18 Removing intermediate container b81cd9a1aaff 22:20:18 ---> 136cda3871af 22:20:18 Step 17/26 : WORKDIR / 22:20:18 ---> Running in b6e0020ac884 22:20:18 Removing intermediate container b6e0020ac884 22:20:18 ---> 4cde6f41b8a0 22:20:18 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:20:19 ---> bcedefde6d48 22:20:19 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:20:19 ---> d3b5ec9a66f0 22:20:19 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:20:20 ---> c0fc6b2feb3f 22:20:20 Step 21/26 : EXPOSE 59984 22:20:20 ---> Running in b24c876b79c7 22:20:20 Removing intermediate container b24c876b79c7 22:20:20 ---> 829407ce50db 22:20:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:20:20 ---> Running in f6299106b1b8 22:20:20 Removing intermediate container f6299106b1b8 22:20:20 ---> 493ca4bc4ea9 22:20:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:20:20 ---> Running in e027ed8a22cc 22:20:21 Removing intermediate container e027ed8a22cc 22:20:21 ---> dd8cd34aae75 22:20:21 Step 24/26 : LABEL arch=arm64 22:20:21 ---> Running in c3786f120ab3 22:20:21 Removing intermediate container c3786f120ab3 22:20:21 ---> 8f710612b36b 22:20:21 Step 25/26 : LABEL git_sha=3bb62071030447d79e38833df382ef28a2b68a5c 22:20:21 ---> Running in 4d7fa0e357e7 22:20:22 Removing intermediate container 4d7fa0e357e7 22:20:22 ---> 6f2742fec589 22:20:22 Step 26/26 : LABEL version=0.0.0 22:20:22 ---> Running in 232ce0df1f6f 22:20:22 Removing intermediate container 232ce0df1f6f 22:20:22 ---> e819fb016184 22:20:22 [Warning] One or more build-args [ARCH] were not consumed 22:20:22 Successfully built e819fb016184 22:20:22 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 22:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:22 22:20:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:20:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:26 arm64: Pulling from edgex-lftools-log-publisher 22:20:26 8998bd30e6a1: Pulling fs layer 22:20:26 04944245beec: Pulling fs layer 22:20:26 699f458cf7ca: Pulling fs layer 22:20:26 765212b225bb: Pulling fs layer 22:20:26 f23df028b6ca: Pulling fs layer 22:20:26 d65c8cfc05b1: Pulling fs layer 22:20:26 2437ff75d9bd: Pulling fs layer 22:20:26 765212b225bb: Waiting 22:20:26 d65c8cfc05b1: Waiting 22:20:26 2437ff75d9bd: Waiting 22:20:26 04944245beec: Verifying Checksum 22:20:26 04944245beec: Download complete 22:20:26 765212b225bb: Verifying Checksum 22:20:26 765212b225bb: Download complete 22:20:26 f23df028b6ca: Verifying Checksum 22:20:26 f23df028b6ca: Download complete 22:20:26 d65c8cfc05b1: Verifying Checksum 22:20:26 d65c8cfc05b1: Download complete 22:20:26 699f458cf7ca: Verifying Checksum 22:20:26 699f458cf7ca: Download complete 22:20:26 8998bd30e6a1: Verifying Checksum 22:20:26 8998bd30e6a1: Download complete 22:20:29 2437ff75d9bd: Verifying Checksum 22:20:29 2437ff75d9bd: Download complete 22:20:31 8998bd30e6a1: Pull complete 22:20:31 04944245beec: Pull complete 22:20:33 699f458cf7ca: Pull complete 22:20:33 765212b225bb: Pull complete 22:20:34 f23df028b6ca: Pull complete 22:20:34 d65c8cfc05b1: Pull complete 22:20:49 2437ff75d9bd: Pull complete 22:20:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:20:49 prd-ubuntu20.04-docker-arm64-4c-16g-17094 does not seem to be running inside a container 22:20:49 $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:20:52 $ docker top 126b26afdf5c4a6a774f91268eadfaf750d75727ba781750ee6834f98b8f27b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:20:53 ---> job-cost.sh 22:20:53 lf-activate-venv: SKIPPING 22:20:53 INFO: No Stack... 22:20:53 INFO: Retrieving Pricing Info for: v3-standard-4 22:20:54 INFO: Archiving Costs [Pipeline] sh 22:20:55 + cat /w/workspace/device-onvif-camera/2/archives/cost.csv 22:20:55 + cut -d, -f6 [Pipeline] lock 22:20:55 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] 22:20:55 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] did not exist. Created. 22:20:55 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:20:55 /w/workspace/device-onvif-camera/2@tmp/durable-2f3a32fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:20:56 + echo total: 0.10999999940395355 [Pipeline] stash 22:20:56 Warning: overwriting stash ‘stack-cost’ 22:20:56 Stashed 1 file(s) [Pipeline] } 22:20:56 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-406-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:20:56 $ docker stop --time=1 126b26afdf5c4a6a774f91268eadfaf750d75727ba781750ee6834f98b8f27b5 22:20:58 $ docker rm -f --volumes 126b26afdf5c4a6a774f91268eadfaf750d75727ba781750ee6834f98b8f27b5 [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 22:20:58 provisioning config files... 22:20:58 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-406@tmp/config5241677458342535630tmp [Pipeline] { [Pipeline] sh 22:20:58 + set +x 22:20:58 + curl -s https://codecov.io/bash 22:20:58 + bash -s -- 22:20:58 22:20:58 _____ _ 22:20:58 / ____| | | 22:20:58 | | ___ __| | ___ ___ _____ __ 22:20:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:20:58 | |___| (_) | (_| | __/ (_| (_) \ V / 22:20:58 \_____\___/ \__,_|\___|\___\___/ \_/ 22:20:58 Bash-1.0.6 22:20:58 22:20:58 22:20:58 ==> git version 2.25.1 found 22:20:58 ==> 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 22:20:58 Release-Date: 2020-01-08 22:20:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:20:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:20:58 ==> Jenkins CI detected. 22:20:58 current dir:  /w/workspace/undry_device-onvif-camera_PR-406 22:20:58 project root: . 22:20:58 --> token set from env 22:20:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:20:58 ==> Running gcov in . (disable via -X gcov) 22:20:58 ==> Python coveragepy not found 22:20:58 ==> Searching for coverage reports in: 22:20:58 + . 22:20:58 -> Found 1 reports 22:20:58 ==> Detecting git/mercurial file structure 22:20:58 ==> Reading reports 22:20:58 + ./coverage.out bytes=78456 22:20:58 ==> Appending adjustments 22:20:58 https://docs.codecov.io/docs/fixing-reports 22:20:59 + Found adjustments 22:20:59 ==> Gzipping contents 22:20:59 12K /tmp/codecov.No9nfT.gz 22:20:59 ==> Uploading reports 22:20:59 url: https://codecov.io 22:20:59 query: branch=PR-406&commit=a32f5962a68b2a1cbaafc78e4543593a90d9de71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-406%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=406&job=&cmd_args= 22:20:59 -> Pinging Codecov 22:20:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-406&commit=a32f5962a68b2a1cbaafc78e4543593a90d9de71&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-406%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=406&job=&cmd_args= 22:20:59 -> Uploading to 22:20:59 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/F29A59C45E3A92E06B3E522C9905F8EF/a32f5962a68b2a1cbaafc78e4543593a90d9de71/d961e10a-ea3c-43fd-873a-04c38194fcdd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T222059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9190bdadbf316ff69865882d7b92a9f5370eecd550078c0f1c5d48bd0dc9a150 22:20:59 % Total % Received % Xferd Average Speed Time Time Time Current 22:20:59 Dload Upload Total Spent Left Speed 22:20:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 44732 --:--:-- --:--:-- --:--:-- 44926 22:20:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/a32f5962a68b2a1cbaafc78e4543593a90d9de71 [Pipeline] } 22:20:59 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 22:21:00 + [ -d /w/workspace/undry_device-onvif-camera_PR-406/archives ] 22:21:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-406/archives 22:21:00 total 16 22:21:00 drwxr-xr-x 3 root root 4096 Nov 8 22:13 . 22:21:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:13 .. 22:21:00 drwxr-xr-x 2 root root 4096 Nov 8 22:13 cost 22:21:00 -rw-r--r-- 1 root root 91 Nov 8 22:13 cost.csv 22:21:00 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-406/archives 22:21:00 + ls -al /w/workspace/undry_device-onvif-camera_PR-406/archives 22:21:00 total 16 22:21:00 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 22:13 . 22:21:00 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 22:13 .. 22:21:00 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 22:13 cost 22:21:00 -rw-r--r-- 1 jenkins jenkins 91 Nov 8 22:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:01 ---> package-listing.sh 22:21:01 ++ facter osfamily 22:21:01 ++ tr '[:upper:]' '[:lower:]' 22:21:01 + OS_FAMILY=debian 22:21:01 + workspace=/w/workspace/undry_device-onvif-camera_PR-406 22:21:01 + START_PACKAGES=/tmp/packages_start.txt 22:21:01 + END_PACKAGES=/tmp/packages_end.txt 22:21:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:01 + PACKAGES=/tmp/packages_start.txt 22:21:01 + '[' /w/workspace/undry_device-onvif-camera_PR-406 ']' 22:21:01 + PACKAGES=/tmp/packages_end.txt 22:21:01 + case "${OS_FAMILY}" in 22:21:01 + dpkg -l 22:21:01 + grep '^ii' 22:21:01 + '[' -f /tmp/packages_start.txt ']' 22:21:01 + '[' -f /tmp/packages_end.txt ']' 22:21:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:01 + '[' /w/workspace/undry_device-onvif-camera_PR-406 ']' 22:21:01 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-406/archives/ 22:21:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-406/archives/ [Pipeline] echo 22:21:01 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:21:02 prd-ubuntu20.04-docker-8c-8g-17093 does not seem to be running inside a container 22:21:02 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-406/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-406 -v /w/workspace/undry_device-onvif-camera_PR-406:/w/workspace/undry_device-onvif-camera_PR-406:rw,z -v /w/workspace/undry_device-onvif-camera_PR-406@tmp:/w/workspace/undry_device-onvif-camera_PR-406@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:21:03 $ docker top d42ec89055a4b4506ab23cbcdc60cb4d0a4c8e18df8504bdee5778355cc022b4 -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:03 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:03 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:03 + ls /var/log/sa-host 22:21:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:04 provisioning config files... 22:21:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-406@tmp/config15635883908763623075tmp [Pipeline] { [Pipeline] echo 22:21:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:04 ---> create-netrc.sh [Pipeline] } 22:21:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:04 ---> python-tools-install.sh [Pipeline] echo 22:21:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:05 ---> sudo-logs.sh 22:21:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:05 ---> job-cost.sh 22:21:05 lf-activate-venv: SKIPPING 22:21:05 DEBUG: total: 0.2199999988079071 22:21:05 INFO: Retrieving Stack Cost... 22:21:05 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:06 INFO: Archiving Costs [Pipeline] echo 22:21:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:06 ---> logs-deploy.sh 22:21:06 lf-activate-venv: SKIPPING 22:21:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-406/2 22:21:06 INFO: archiving workspace using pattern(s): 22:21:07 Archives upload complete. 22:21:07 INFO: archiving logs to Nexus