Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c689ec2735047fa853b30b2758522f8f24e125e7+e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 (7711f9219fc8e920a4a091a99976a054d6cca439) 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-ssh13311114800733053488.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh12666669937699536265.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-319/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-319/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14309708022706746252.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8744431403172287372.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-319/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-319/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16307725293394848276.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/v2]] ========================================================= [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.20 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10881 in /w/workspace/undry_device-onvif-camera_PR-319 [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-319 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 Merge succeeded, producing 25b81ab44be78ea0cf446731543684f78d0677db Checking out Revision 25b81ab44be78ea0cf446731543684f78d0677db (PR-319) > git config core.sparsecheckout # timeout=10 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # 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 e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25b81ab44be78ea0cf446731543684f78d0677db # timeout=10 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 753508afb6d6cfa2bc01a147d08834960c45a863 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:11:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:11:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:11:37 ========================================================= 22:11:37 EdgeX Global Pipelines Version Info 22:11:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:11:38 ------------------- 22:11:38 stable info: 22:11:38 ------------------- 22:11:38 Commited By: Bill Mahoney bill.mahoney@intel.com 22:11:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:11:38 Message: update stable to v1.0.248 22:11:39 ------------------- 22:11:39 experimental info: 22:11:39 ------------------- 22:11:39 Commited By: **** collab-it+edgex@linuxfoundation.org 22:11:39 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 22:11:39 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-319 [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-319 [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-319 [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25b81ab44be78ea0cf446731543684f78d0677db [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25b81ab [Pipeline] echo 22:11:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:11:39 provisioning config files... 22:11:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config7852194506569126479tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:40 ---> docker-login.sh 22:11:40 nexus3.edgexfoundry.org:10001 22:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:40 Configure a credential helper to remove this warning. See 22:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:40 22:11:40 Login Succeeded 22:11:40 nexus3.edgexfoundry.org:10002 22:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:40 Configure a credential helper to remove this warning. See 22:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:40 22:11:40 Login Succeeded 22:11:40 nexus3.edgexfoundry.org:10003 22:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:40 Configure a credential helper to remove this warning. See 22:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:40 22:11:40 Login Succeeded 22:11:40 nexus3.edgexfoundry.org:10004 22:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:40 Configure a credential helper to remove this warning. See 22:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:40 22:11:40 Login Succeeded 22:11:40 docker.io 22:11:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:40 Configure a credential helper to remove this warning. See 22:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:40 22:11:40 Login Succeeded 22:11:40 ---> docker-login.sh ends [Pipeline] } 22:11:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:11:42 + git rev-list -1 --merges 25b81ab44be78ea0cf446731543684f78d0677db~1..25b81ab44be78ea0cf446731543684f78d0677db [Pipeline] echo 22:11:42 -----------> git rev-list -1 --merges 25b81ab44be78ea0cf446731543684f78d0677db~1..25b81ab44be78ea0cf446731543684f78d0677db 25b81ab44be78ea0cf446731543684f78d0677db 22:11:42 25b81ab44be78ea0cf446731543684f78d0677db [false] [Pipeline] sh 22:11:42 + git log --format=format:%s -1 25b81ab44be78ea0cf446731543684f78d0677db [Pipeline] echo 22:11:42 ========================================================= 22:11:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:11:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:11:43 + git log --format=format:%s -1 25b81ab44be78ea0cf446731543684f78d0677db [Pipeline] echo 22:11:43 [semverPrep] GIT_COMMIT: 25b81ab44be78ea0cf446731543684f78d0677db, Commit Message: Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD [Pipeline] echo 22:11:43 [semverPrep] This is not a build commit. [Pipeline] sh 22:11:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:11:43 + grep -v github /etc/ssh/ssh_known_hosts 22:11:43 + [ -e /tmp/ssh_known_hosts ] 22:11:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:11:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:11:43 + sudo tee -a /etc/ssh/ssh_known_hosts 22:11:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:43 22:11:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:44 0.1.4: Pulling from edgex-devops/py-git-semver 22:11:44 b85a868b505f: Pulling fs layer 22:11:44 e2be974225ed: Pulling fs layer 22:11:44 339a4e72a1f5: Pulling fs layer 22:11:44 988bab9f4d93: Pulling fs layer 22:11:44 1469e6f7b9e6: Pulling fs layer 22:11:44 eaf3925da568: Pulling fs layer 22:11:44 bab4dde63d76: Pulling fs layer 22:11:44 bde34c3a00c8: Pulling fs layer 22:11:44 b352a97aabf1: Pulling fs layer 22:11:44 4872d77fe225: Pulling fs layer 22:11:44 5851b861e8e6: Pulling fs layer 22:11:44 988bab9f4d93: Waiting 22:11:44 1469e6f7b9e6: Waiting 22:11:44 bab4dde63d76: Waiting 22:11:44 eaf3925da568: Waiting 22:11:44 bde34c3a00c8: Waiting 22:11:44 b352a97aabf1: Waiting 22:11:44 e2be974225ed: Verifying Checksum 22:11:44 e2be974225ed: Download complete 22:11:44 988bab9f4d93: Download complete 22:11:44 1469e6f7b9e6: Verifying Checksum 22:11:44 1469e6f7b9e6: Download complete 22:11:44 339a4e72a1f5: Verifying Checksum 22:11:44 339a4e72a1f5: Download complete 22:11:44 eaf3925da568: Verifying Checksum 22:11:44 eaf3925da568: Download complete 22:11:44 bde34c3a00c8: Download complete 22:11:44 b352a97aabf1: Verifying Checksum 22:11:44 b352a97aabf1: Download complete 22:11:44 4872d77fe225: Download complete 22:11:44 5851b861e8e6: Verifying Checksum 22:11:44 5851b861e8e6: Download complete 22:11:44 b85a868b505f: Verifying Checksum 22:11:44 b85a868b505f: Download complete 22:11:44 bab4dde63d76: Verifying Checksum 22:11:44 bab4dde63d76: Download complete 22:11:46 b85a868b505f: Pull complete 22:11:46 e2be974225ed: Pull complete 22:11:46 339a4e72a1f5: Pull complete 22:11:46 988bab9f4d93: Pull complete 22:11:47 1469e6f7b9e6: Pull complete 22:11:47 eaf3925da568: Pull complete 22:11:48 bab4dde63d76: Pull complete 22:11:48 bde34c3a00c8: Pull complete 22:11:49 b352a97aabf1: Pull complete 22:11:49 4872d77fe225: Pull complete 22:11:49 5851b861e8e6: Pull complete 22:11:49 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:11:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:11:49 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:11:49 prd-ubuntu20.04-docker-8c-8g-10881 does not seem to be running inside a container 22:11:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:11:52 $ docker top 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa -eo pid,comm 22:11:52 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:11:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:11:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:52 [ssh-agent] Looking for ssh-agent implementation... 22:11:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:52 $ docker exec 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa ssh-agent 22:11:52 SSH_AUTH_SOCK=/tmp/ssh-dDZHTM3Tg8AA/agent.33 22:11:52 SSH_AGENT_PID=39 22:11:52 Running ssh-add (command line suppressed) 22:11:52 Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_7207724744314991217.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_7207724744314991217.key) 22:11:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:53 + git tag --points-at HEAD [Pipeline] } 22:11:53 $ docker exec --env ******** --env ******** 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa ssh-agent -k 22:11:53 unset SSH_AUTH_SOCK; 22:11:53 unset SSH_AGENT_PID; 22:11:53 echo Agent pid 39 killed; 22:11:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:11:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:11:53 [ssh-agent] Looking for ssh-agent implementation... 22:11:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:11:53 $ docker exec 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa ssh-agent 22:11:53 SSH_AUTH_SOCK=/tmp/ssh-6qAvUt5MpmFa/agent.72 22:11:53 SSH_AGENT_PID=78 22:11:53 Running ssh-add (command line suppressed) 22:11:53 Identity added: /w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_4796293557452279165.key (/w/workspace/undry_device-onvif-camera_PR-319@tmp/private_key_4796293557452279165.key) 22:11:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:11:53 + git semver init 22:11:54 2023-04-25 22:11:54,062 [run_init] DEBUG init version:0.0.0 force:False 22:11:54 2023-04-25 22:11:54,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-319/.semver 22:11:54 2023-04-25 22:11:54,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-319/.semver 22:11:54 2023-04-25 22:11:54,063 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-319/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-319, universal_newlines=False, shell=None, istream=None) 22:11:55 2023-04-25 22:11:54,917 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-319/.git/info/exclude 22:11:55 2023-04-25 22:11:54,917 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 with force:False 22:11:55 2023-04-25 22:11:54,918 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 22:11:55 2023-04-25 22:11:54,923 [execute] INFO git cat-file --batch-check 22:11:55 2023-04-25 22:11:54,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) 22:11:55 2023-04-25 22:11:54,930 [execute] INFO git cat-file --batch 22:11:55 2023-04-25 22:11:54,930 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-319/.semver, universal_newlines=False, shell=None, istream=) 22:11:55 2023-04-25 22:11:54,936 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-319/.semver/PR-319 22:11:55 0.0.0 [Pipeline] } 22:11:55 $ docker exec --env ******** --env ******** 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa ssh-agent -k 22:11:55 unset SSH_AUTH_SOCK; 22:11:55 unset SSH_AGENT_PID; 22:11:55 echo Agent pid 78 killed; 22:11:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:11:55 + git semver [Pipeline] } 22:11:55 $ docker stop --time=1 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa 22:11:57 $ docker rm -f --volumes 8207ab29ee996d9f2bc017e1afc498c957e16097cf9b26718615147dd30774aa [Pipeline] // withDockerContainer [Pipeline] sh 22:11:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:11:57 Stashed 1 file(s) [Pipeline] echo 22:11:57 [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:11:57 provisioning config files... 22:11:57 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config2480832058071764712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:11:58 ---> docker-login.sh 22:11:58 nexus3.edgexfoundry.org:10001 22:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:58 Configure a credential helper to remove this warning. See 22:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:58 22:11:58 Login Succeeded 22:11:58 nexus3.edgexfoundry.org:10002 22:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:58 Configure a credential helper to remove this warning. See 22:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:58 22:11:58 Login Succeeded 22:11:58 nexus3.edgexfoundry.org:10003 22:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:58 Configure a credential helper to remove this warning. See 22:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:58 22:11:58 Login Succeeded 22:11:58 nexus3.edgexfoundry.org:10004 22:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:58 Configure a credential helper to remove this warning. See 22:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:58 22:11:58 Login Succeeded 22:11:58 docker.io 22:11:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:11:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:11:58 Configure a credential helper to remove this warning. See 22:11:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:11:58 22:11:58 Login Succeeded 22:11:58 ---> docker-login.sh ends [Pipeline] } 22:11:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:11:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:11:58 ========================================================= 22:11:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:11:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:11:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:11:59 Sending build context to Docker daemon 26.96MB 22:11:59 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:11:59 Step 2/13 : FROM ${BASE} AS builder 22:11:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:11:59 f56be85fc22e: Pulling fs layer 22:11:59 85791d961cd3: Pulling fs layer 22:11:59 d694b5ae8c79: Pulling fs layer 22:11:59 9f32a84ed3da: Pulling fs layer 22:11:59 4d19c01a9841: Pulling fs layer 22:11:59 9325e15d5711: Pulling fs layer 22:11:59 556b6ee489ea: Pulling fs layer 22:11:59 c5a4b2cf53e6: Pulling fs layer 22:11:59 9f32a84ed3da: Waiting 22:11:59 9325e15d5711: Waiting 22:11:59 4d19c01a9841: Waiting 22:11:59 556b6ee489ea: Waiting 22:11:59 c5a4b2cf53e6: Waiting 22:11:59 85791d961cd3: Verifying Checksum 22:11:59 85791d961cd3: Download complete 22:11:59 9f32a84ed3da: Verifying Checksum 22:11:59 9f32a84ed3da: Download complete 22:11:59 4d19c01a9841: Download complete 22:11:59 f56be85fc22e: Verifying Checksum 22:11:59 f56be85fc22e: Download complete 22:11:59 9325e15d5711: Verifying Checksum 22:11:59 9325e15d5711: Download complete 22:11:59 f56be85fc22e: Pull complete 22:11:59 85791d961cd3: Pull complete 22:11:59 c5a4b2cf53e6: Verifying Checksum 22:11:59 c5a4b2cf53e6: Download complete 22:11:59 d694b5ae8c79: Verifying Checksum 22:11:59 d694b5ae8c79: Download complete 22:12:00 556b6ee489ea: Verifying Checksum 22:12:00 556b6ee489ea: Download complete 22:12:03 d694b5ae8c79: Pull complete 22:12:03 9f32a84ed3da: Pull complete 22:12:03 4d19c01a9841: Pull complete 22:12:03 9325e15d5711: Pull complete 22:12:06 556b6ee489ea: Pull complete 22:12:07 c5a4b2cf53e6: Pull complete 22:12:07 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:12:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:12:07 ---> c4be618373d6 22:12:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:12:11 ---> Running in a6a06d002dfb 22:12:11 Removing intermediate container a6a06d002dfb 22:12:11 ---> d21f95b7050e 22:12:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:12:11 ---> Running in 58d6f47e758c 22:12:11 Removing intermediate container 58d6f47e758c 22:12:11 ---> 4bd1556f18ab 22:12:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:12:11 ---> Running in 8df10d4a505d 22:12:11 Removing intermediate container 8df10d4a505d 22:12:11 ---> 559dedf12046 22:12:11 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:12:11 ---> Running in 93dc1442683e 22:12:11 Removing intermediate container 93dc1442683e 22:12:11 ---> 68d76123eb80 22:12:11 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:12:11 ---> Running in d58414ce3c8b 22:12:11 Removing intermediate container d58414ce3c8b 22:12:11 ---> 5897c511dcd3 22:12:11 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:12:11 ---> Running in ed6cc54b8926 22:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:12:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:12:12 OK: 265 MiB in 53 packages 22:12:12 Removing intermediate container ed6cc54b8926 22:12:12 ---> 3969f08bc4f7 22:12:12 Step 9/13 : WORKDIR /device-onvif-camera 22:12:12 ---> Running in e795f7853bd0 22:12:12 Removing intermediate container e795f7853bd0 22:12:12 ---> 995cf549ead7 22:12:12 Step 10/13 : COPY go.mod vendor* ./ 22:12:12 ---> 2cc746a5bab6 22:12:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:12:12 ---> Running in d8161883e90e 22:12:12 Still waiting to schedule task 22:12:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:12:47 Removing intermediate container d8161883e90e 22:12:47 ---> 3e7c0a3e2341 22:12:47 Step 12/13 : COPY . . 22:12:47 ---> 847ec78bf63f 22:12:47 Step 13/13 : RUN ${MAKE} 22:12:47 ---> Running in c36f145a912e 22:12:47 noop 22:12:47 Removing intermediate container c36f145a912e 22:12:47 ---> 47f7dba0606e 22:12:47 Successfully built 47f7dba0606e 22:12:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:47 + docker inspect -f . ci-base-image-x86_64 22:12:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:47 prd-ubuntu20.04-docker-8c-8g-10881 does not seem to be running inside a container 22:12:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:47 $ docker top bd84e9ba8e27e1fd31a3297f63853b67191a0859a031f5fb0d8b6224e0c83483 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:48 + go version 22:12:48 go version go1.20.2 linux/amd64 [Pipeline] } 22:12:48 $ docker stop --time=1 bd84e9ba8e27e1fd31a3297f63853b67191a0859a031f5fb0d8b6224e0c83483 22:12:49 $ docker rm -f --volumes bd84e9ba8e27e1fd31a3297f63853b67191a0859a031f5fb0d8b6224e0c83483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:12:49 + docker inspect -f . ci-base-image-x86_64 22:12:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:12:49 prd-ubuntu20.04-docker-8c-8g-10881 does not seem to be running inside a container 22:12:49 $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:12:50 $ docker top 9c6ae06b153449fcddcbc5e47ee96dc23e9196cd9100e23b8519032e24ad02b6 -eo pid,comm [Pipeline] { [Pipeline] sh 22:12:50 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] fileExists [Pipeline] sh 22:12:50 + make test 22:12:50 go test ./... -coverprofile=coverage.out ./... 22:12:56 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:13:08 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:13:08 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:13:09 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.043s coverage: 31.6% of statements 22:13:13 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 6.034s coverage: 86.5% of statements 22:13:22 go vet ./... 22:13:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:13:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:13:25 ./bin/test-attribution-txt.sh [Pipeline] echo 22:13:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:13:25 $ docker stop --time=1 9c6ae06b153449fcddcbc5e47ee96dc23e9196cd9100e23b8519032e24ad02b6 22:13:28 $ docker rm -f --volumes 9c6ae06b153449fcddcbc5e47ee96dc23e9196cd9100e23b8519032e24ad02b6 [Pipeline] // withDockerContainer [Pipeline] sh 22:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:13:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:13:30 + ls -al . 22:13:30 total 236 22:13:30 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 22:12 . 22:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:11 .. 22:13:30 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:11 .git 22:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:11 .github 22:13:30 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:11 .gitignore 22:13:30 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:11 .golangci.yml 22:13:30 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:11 .semver 22:13:30 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:11 Attribution.txt 22:13:30 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:11 CHANGELOG.md 22:13:30 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:11 Dockerfile 22:13:30 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:11 GOVERNANCE.md 22:13:30 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:11 Jenkinsfile 22:13:30 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:11 LICENSE 22:13:30 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:11 Makefile 22:13:30 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:11 OWNERS.md 22:13:30 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:11 README.md 22:13:30 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:11 VERSION 22:13:30 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:11 bin 22:13:30 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:11 cmd 22:13:30 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:13 coverage.out 22:13:30 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:11 doc 22:13:30 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:11 go.mod 22:13:30 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:11 go.sum 22:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:11 internal 22:13:30 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:11 snap 22:13:30 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:30 + 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=25b81ab44be78ea0cf446731543684f78d0677db --label arch=amd64 --label version=0.0.0 . 22:13:30 Sending build context to Docker daemon 27.04MB 22:13:30 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:13:30 Step 2/26 : FROM ${BASE} AS builder 22:13:30 ---> 47f7dba0606e 22:13:30 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:13:31 ---> Running in 9db228503f14 22:13:31 Removing intermediate container 9db228503f14 22:13:31 ---> d2fa48fbca87 22:13:31 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:13:31 ---> Running in c109ea7d8343 22:13:31 Removing intermediate container c109ea7d8343 22:13:31 ---> cf330e33ce44 22:13:31 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:13:31 ---> Running in 175b566bb9f6 22:13:31 Removing intermediate container 175b566bb9f6 22:13:31 ---> 81b73de2e261 22:13:31 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:13:31 ---> Running in 8dfc3fa3132a 22:13:31 Removing intermediate container 8dfc3fa3132a 22:13:31 ---> 1a51bd70bb1a 22:13:31 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:13:31 ---> Running in 1d5f070401e7 22:13:31 Removing intermediate container 1d5f070401e7 22:13:31 ---> 466aade8c6ef 22:13:31 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:13:31 ---> Running in b1b5e085b2ef 22:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:32 OK: 265 MiB in 53 packages 22:13:32 Removing intermediate container b1b5e085b2ef 22:13:32 ---> f98878733506 22:13:32 Step 9/26 : WORKDIR /device-onvif-camera 22:13:32 ---> Running in 34b011f533cd 22:13:32 Removing intermediate container 34b011f533cd 22:13:32 ---> 09f6a41c018e 22:13:32 Step 10/26 : COPY go.mod vendor* ./ 22:13:32 ---> 25eef12a78fe 22:13:32 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:13:32 ---> Running in b5e4d270b261 22:13:33 Removing intermediate container b5e4d270b261 22:13:33 ---> 620f44852c68 22:13:33 Step 12/26 : COPY . . 22:13:34 ---> 48a803e8dc77 22:13:34 Step 13/26 : RUN ${MAKE} 22:13:34 ---> Running in 1dcadae9047f 22:13:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:13:56 Removing intermediate container 1dcadae9047f 22:13:56 ---> 50facd6b0596 22:13:56 Step 14/26 : FROM alpine:3.17 22:13:56 3.17: Pulling from library/alpine 22:13:56 f56be85fc22e: Already exists 22:13:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:13:56 Status: Downloaded newer image for alpine:3.17 22:13:56 ---> 9ed4aefc74f6 22:13:56 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:13:56 ---> Running in 04b860ab0c74 22:13:56 Removing intermediate container 04b860ab0c74 22:13:56 ---> 32b848d40ed2 22:13:56 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:13:56 ---> Running in e9caa1ad48cc 22:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:13:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:13:56 (1/1) Installing dumb-init (1.2.5-r2) 22:13:56 Executing busybox-1.35.0-r29.trigger 22:13:56 OK: 7 MiB in 16 packages 22:13:56 Removing intermediate container e9caa1ad48cc 22:13:56 ---> f7bb95c060c9 22:13:56 Step 17/26 : WORKDIR / 22:13:56 ---> Running in a9e56533ccbd 22:13:56 Removing intermediate container a9e56533ccbd 22:13:56 ---> f2425b00d3ca 22:13:56 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:13:57 ---> e5abc29c1083 22:13:57 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:13:58 ---> c3be63dd0d85 22:13:58 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:13:58 ---> 42c11acca0a1 22:13:58 Step 21/26 : EXPOSE 59984 22:13:58 ---> Running in ef8990777c34 22:13:58 Removing intermediate container ef8990777c34 22:13:58 ---> 1b1ff08abe67 22:13:58 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:13:58 ---> Running in 6f6908db795f 22:13:58 Removing intermediate container 6f6908db795f 22:13:58 ---> 6c8c2277cbd9 22:13:58 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:13:58 ---> Running in b1f7c63f5dc3 22:13:58 Removing intermediate container b1f7c63f5dc3 22:13:58 ---> 810920a6c27c 22:13:58 Step 24/26 : LABEL arch=amd64 22:13:58 ---> Running in de763b9c9bd4 22:13:58 Removing intermediate container de763b9c9bd4 22:13:58 ---> 71faecb35095 22:13:58 Step 25/26 : LABEL git_sha=25b81ab44be78ea0cf446731543684f78d0677db 22:13:58 ---> Running in 68759ec5a138 22:13:58 Removing intermediate container 68759ec5a138 22:13:58 ---> e344d4525ac8 22:13:58 Step 26/26 : LABEL version=0.0.0 22:13:58 ---> Running in d78df15cd119 22:13:58 Removing intermediate container d78df15cd119 22:13:58 ---> a2dcbdf7a713 22:13:58 [Warning] One or more build-args [ARCH] were not consumed 22:13:58 Successfully built a2dcbdf7a713 22:13: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:13:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:59 22:13:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:13:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:13:59 latest: Pulling from edgex-lftools-log-publisher 22:13:59 5eb5b503b376: Pulling fs layer 22:13:59 5c69ac0246d0: Pulling fs layer 22:13:59 ec43610c2a17: Pulling fs layer 22:13:59 3a2ae6a8a46f: Pulling fs layer 22:13:59 33b1e0a273af: Pulling fs layer 22:13:59 5d3b04190fa2: Pulling fs layer 22:13:59 2f39f015ded8: Pulling fs layer 22:13:59 3a2ae6a8a46f: Waiting 22:13:59 33b1e0a273af: Waiting 22:13:59 5d3b04190fa2: Waiting 22:13:59 2f39f015ded8: Waiting 22:13:59 5c69ac0246d0: Verifying Checksum 22:13:59 5c69ac0246d0: Download complete 22:13:59 3a2ae6a8a46f: Verifying Checksum 22:13:59 3a2ae6a8a46f: Download complete 22:13:59 33b1e0a273af: Verifying Checksum 22:13:59 33b1e0a273af: Download complete 22:13:59 ec43610c2a17: Verifying Checksum 22:13:59 ec43610c2a17: Download complete 22:13:59 5d3b04190fa2: Verifying Checksum 22:13:59 5d3b04190fa2: Download complete 22:13:59 5eb5b503b376: Verifying Checksum 22:13:59 5eb5b503b376: Download complete 22:14:00 2f39f015ded8: Download complete 22:14:00 5eb5b503b376: Pull complete 22:14:00 5c69ac0246d0: Pull complete 22:14:01 ec43610c2a17: Pull complete 22:14:01 3a2ae6a8a46f: Pull complete 22:14:01 33b1e0a273af: Pull complete 22:14:01 5d3b04190fa2: Pull complete 22:14:07 2f39f015ded8: Pull complete 22:14:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:14:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:14:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:14:07 prd-ubuntu20.04-docker-8c-8g-10881 does not seem to be running inside a container 22:14:07 $ 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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:14:11 $ docker top c3c1322f4f2128e80f1d47808a27e2d7b1c66201eb469532a54190e231e6db4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:11 ---> job-cost.sh 22:14:11 lf-activate-venv: SKIPPING 22:14:11 INFO: No Stack... 22:14:11 INFO: Retrieving Pricing Info for: v3-standard-8 22:14:12 INFO: Archiving Costs [Pipeline] sh 22:14:12 + cat /w/workspace/undry_device-onvif-camera_PR-319/archives/cost.csv 22:14:12 + cut -d, -f6 [Pipeline] lock 22:14:12 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] 22:14:12 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] did not exist. Created. 22:14:12 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:14:12 + echo total: 0.2199999988079071 [Pipeline] stash 22:14:12 Stashed 1 file(s) [Pipeline] } 22:14:12 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:14:12 $ docker stop --time=1 c3c1322f4f2128e80f1d47808a27e2d7b1c66201eb469532a54190e231e6db4e 22:14:13 $ docker rm -f --volumes c3c1322f4f2128e80f1d47808a27e2d7b1c66201eb469532a54190e231e6db4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:15:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10886 in /w/workspace/undry_device-onvif-camera_PR-319 [Pipeline] { [Pipeline] ws 22:15:02 Running in /w/workspace/device-onvif-camera/4 [Pipeline] { [Pipeline] checkout 22:15:02 The recommended git tool is: git 22:15:09 using credential edgex-jenkins-ssh 22:15:09 Cloning the remote Git repository 22:15:10 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 22:15:10 > git init /w/workspace/device-onvif-camera/4 # timeout=10 22:15:10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:10 > git --version # timeout=10 22:15:10 > git --version # 'git version 2.25.1' 22:15:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:12 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:15:14 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 22:15:14 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 22:15:14 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/319/head:refs/remotes/origin/PR-319 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:15:14 Merging remotes/origin/main commit e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 into PR head commit c689ec2735047fa853b30b2758522f8f24e125e7 22:15:15 Merge succeeded, producing 0ee0fba8169c9eb242d51149ce5542569192efac 22:15:15 Checking out Revision 0ee0fba8169c9eb242d51149ce5542569192efac (PR-319) 22:15:14 > git config core.sparsecheckout # timeout=10 22:15:14 > git checkout -f c689ec2735047fa853b30b2758522f8f24e125e7 # timeout=10 22:15:15 > git remote # timeout=10 22:15:15 > git config --get remote.origin.url # timeout=10 22:15:15 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:15 > git merge e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0 # timeout=10 22:15:15 > git rev-parse HEAD^{commit} # timeout=10 22:15:15 > git config core.sparsecheckout # timeout=10 22:15:15 > git checkout -f 0ee0fba8169c9eb242d51149ce5542569192efac # timeout=10 22:15:19 Commit message: "Merge commit 'e2d27ba835d2f99b0d43e5419c2c0d61d740c3e0' into HEAD" 22:15:19 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 22:15:20 Dload Upload Total Spent Left Speed 22:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 22:15:19 > git rev-list --no-walk 753508afb6d6cfa2bc01a147d08834960c45a863 # timeout=10 22:15:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:15:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:15:21 + sudo tee /etc/docker/daemon.new 22:15:21 { 22:15:21 "registry-mirrors": [ 22:15:21 "https://nexus3.edgexfoundry.org:10001" 22:15:21 ], 22:15:21 "bip": "10.250.0.254/24", 22:15:21 "hosts": [ 22:15:21 "tcp://0.0.0.0:5555", 22:15:21 "unix:///var/run/docker.sock" 22:15:21 ], 22:15:21 "mtu": 1458, 22:15:21 "selinux-enabled": true, 22:15:21 "seccomp-profile": "/etc/docker/seccomp.json" 22:15:21 } [Pipeline] sh 22:15:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:15:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:40 provisioning config files... 22:15:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/4@tmp/config5951545903238761146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:41 ---> docker-login.sh 22:15:41 nexus3.edgexfoundry.org:10001 22:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:42 Configure a credential helper to remove this warning. See 22:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:42 22:15:42 Login Succeeded 22:15:42 nexus3.edgexfoundry.org:10002 22:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:42 Configure a credential helper to remove this warning. See 22:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:42 22:15:42 Login Succeeded 22:15:42 nexus3.edgexfoundry.org:10003 22:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:42 Configure a credential helper to remove this warning. See 22:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:42 22:15:42 Login Succeeded 22:15:42 nexus3.edgexfoundry.org:10004 22:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:43 Configure a credential helper to remove this warning. See 22:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:43 22:15:43 Login Succeeded 22:15:43 docker.io 22:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:44 Configure a credential helper to remove this warning. See 22:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:44 22:15:44 Login Succeeded 22:15:44 ---> docker-login.sh ends [Pipeline] } 22:15:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:44 ========================================================= 22:15:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:15:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:15:45 Sending build context to Docker daemon 19.68MB 22:15:45 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 22:15:45 Step 2/13 : FROM ${BASE} AS builder 22:15:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:15:45 c41833b44d91: Pulling fs layer 22:15:45 ed15518f5707: Pulling fs layer 22:15:45 feae8fd75edb: Pulling fs layer 22:15:45 242c74f7c9fa: Pulling fs layer 22:15:45 3cdef696dda3: Pulling fs layer 22:15:45 2ced38df9373: Pulling fs layer 22:15:45 58f1dce35555: Pulling fs layer 22:15:45 242c74f7c9fa: Waiting 22:15:45 3cdef696dda3: Waiting 22:15:45 2ced38df9373: Waiting 22:15:45 58f1dce35555: Waiting 22:15:45 ed15518f5707: Verifying Checksum 22:15:45 ed15518f5707: Download complete 22:15:45 242c74f7c9fa: Verifying Checksum 22:15:45 242c74f7c9fa: Download complete 22:15:45 3cdef696dda3: Verifying Checksum 22:15:45 3cdef696dda3: Download complete 22:15:45 c41833b44d91: Verifying Checksum 22:15:45 c41833b44d91: Download complete 22:15:46 c41833b44d91: Pull complete 22:15:47 58f1dce35555: Verifying Checksum 22:15:47 58f1dce35555: Download complete 22:15:47 ed15518f5707: Pull complete 22:15:48 feae8fd75edb: Verifying Checksum 22:15:48 feae8fd75edb: Download complete 22:15:48 2ced38df9373: Verifying Checksum 22:15:48 2ced38df9373: Download complete 22:15:58 feae8fd75edb: Pull complete 22:15:59 242c74f7c9fa: Pull complete 22:15:59 3cdef696dda3: Pull complete 22:16:07 2ced38df9373: Pull complete 22:16:09 58f1dce35555: Pull complete 22:16:09 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:16:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:16:09 ---> fadd8f120f05 22:16:09 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:16:12 ---> Running in c0500a96d0e3 22:16:12 Removing intermediate container c0500a96d0e3 22:16:12 ---> 56633b4bab5c 22:16:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:12 ---> Running in 7ed9b26d3c79 22:16:12 Removing intermediate container 7ed9b26d3c79 22:16:12 ---> 5617437182d0 22:16:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 22:16:12 ---> Running in f30ecccd9471 22:16:13 Removing intermediate container f30ecccd9471 22:16:13 ---> 27e0b9da8828 22:16:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:16:13 ---> Running in 8e39b83e5bb0 22:16:13 Removing intermediate container 8e39b83e5bb0 22:16:13 ---> 79410b0432d1 22:16:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 22:16:13 ---> Running in 1ecdf1a82ef5 22:16:14 Removing intermediate container 1ecdf1a82ef5 22:16:14 ---> e356ab63d2fa 22:16:14 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:14 ---> Running in 5e631508af7e 22:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:16:17 OK: 263 MiB in 53 packages 22:16:18 Removing intermediate container 5e631508af7e 22:16:18 ---> fb8e5f27fe27 22:16:18 Step 9/13 : WORKDIR /device-onvif-camera 22:16:18 ---> Running in 07988a715e08 22:16:18 Removing intermediate container 07988a715e08 22:16:18 ---> a761215df12f 22:16:18 Step 10/13 : COPY go.mod vendor* ./ 22:16:19 ---> a11979501c71 22:16:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:19 ---> Running in 651d75ef9a86 22:17:27 Removing intermediate container 651d75ef9a86 22:17:27 ---> 03f64ee50d9e 22:17:27 Step 12/13 : COPY . . 22:17:27 ---> 9290f0c22948 22:17:27 Step 13/13 : RUN ${MAKE} 22:17:27 ---> Running in 8b241226f6a7 22:17:27 noop 22:17:28 Removing intermediate container 8b241226f6a7 22:17:28 ---> 1a07069b3348 22:17:28 Successfully built 1a07069b3348 22:17:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:29 + docker inspect -f . ci-base-image-arm64 22:17:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:29 prd-ubuntu20.04-docker-arm64-4c-16g-10886 does not seem to be running inside a container 22:17:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:17:30 $ docker top ac93d43f92a29a222f118e4b6f96708c741687053535f05bf26e0a67b895e7b9 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:31 + go version 22:17:31 go version go1.20.2 linux/arm64 [Pipeline] } 22:17:31 $ docker stop --time=1 ac93d43f92a29a222f118e4b6f96708c741687053535f05bf26e0a67b895e7b9 22:17:33 $ docker rm -f --volumes ac93d43f92a29a222f118e4b6f96708c741687053535f05bf26e0a67b895e7b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:33 + docker inspect -f . ci-base-image-arm64 22:17:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:34 prd-ubuntu20.04-docker-arm64-4c-16g-10886 does not seem to be running inside a container 22:17:34 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:17:35 $ docker top f06a864a69467d85fdc76a497512a8b5d3d82b0a88aed2bdd7bc030036acdef7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:17:36 + git config --global --add safe.directory /w/workspace/device-onvif-camera/4 [Pipeline] fileExists [Pipeline] sh 22:17:37 + make test 22:17:37 go test ./... -coverprofile=coverage.out ./... 22:18:16 ? github.com/edgexfoundry/device-onvif-camera [no test files] 22:20:37 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 22:20:39 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 22:20:42 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.220s coverage: 31.6% of statements 22:21:14 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.964s coverage: 86.5% of statements 22:21:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:14 go vet ./... 22:21:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:46 $ docker stop --time=1 f06a864a69467d85fdc76a497512a8b5d3d82b0a88aed2bdd7bc030036acdef7 22:21:48 $ docker rm -f --volumes f06a864a69467d85fdc76a497512a8b5d3d82b0a88aed2bdd7bc030036acdef7 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:50 Warning: overwriting stash ‘coverage-report’ 22:21:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:51 + ls -al . 22:21:51 total 232 22:21:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 22:17 . 22:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:15 .. 22:21:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 22:15 .git 22:21:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:15 .github 22:21:51 -rw-rw-r-- 1 jenkins jenkins 496 Apr 25 22:15 .gitignore 22:21:51 -rw-rw-r-- 1 jenkins jenkins 42 Apr 25 22:15 .golangci.yml 22:21:51 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 25 22:15 Attribution.txt 22:21:51 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 25 22:15 CHANGELOG.md 22:21:51 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 25 22:15 Dockerfile 22:21:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 22:15 GOVERNANCE.md 22:21:51 -rw-rw-r-- 1 jenkins jenkins 734 Apr 25 22:15 Jenkinsfile 22:21:51 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 25 22:15 LICENSE 22:21:51 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 25 22:15 Makefile 22:21:51 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 22:15 OWNERS.md 22:21:51 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 25 22:15 README.md 22:21:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 22:11 VERSION 22:21:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 22:15 bin 22:21:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 22:15 cmd 22:21:51 -rw-r--r-- 1 jenkins jenkins 78922 Apr 25 22:21 coverage.out 22:21:51 drwxrwxr-x 6 jenkins jenkins 4096 Apr 25 22:15 doc 22:21:51 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 25 22:15 go.mod 22:21:51 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 25 22:15 go.sum 22:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:15 internal 22:21:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 22:15 snap 22:21:51 -rw-rw-r-- 1 jenkins jenkins 236 Apr 25 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:21:51 + 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=0ee0fba8169c9eb242d51149ce5542569192efac --label arch=arm64 --label version=0.0.0 . 22:21:52 Sending build context to Docker daemon 19.76MB 22:21:52 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 22:21:52 Step 2/26 : FROM ${BASE} AS builder 22:21:52 ---> 1a07069b3348 22:21:52 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:21:52 ---> Running in a7c9e6f4431c 22:21:53 Removing intermediate container a7c9e6f4431c 22:21:53 ---> 96af42311f07 22:21:53 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:21:53 ---> Running in 12ec48537a2d 22:21:53 Removing intermediate container 12ec48537a2d 22:21:53 ---> e298d246f3ee 22:21:53 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 22:21:53 ---> Running in 98bf0e575fff 22:21:54 Removing intermediate container 98bf0e575fff 22:21:54 ---> 29044c4250d5 22:21:54 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:21:54 ---> Running in 12e0bba13b62 22:21:54 Removing intermediate container 12e0bba13b62 22:21:54 ---> 744f496311ea 22:21:54 Step 7/26 : LABEL Name=edgex-device-onvif-camera 22:21:54 ---> Running in e5f0d467239f 22:21:55 Removing intermediate container e5f0d467239f 22:21:55 ---> 7336af878333 22:21:55 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:21:55 ---> Running in c59930a71102 22:21:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:21:58 OK: 263 MiB in 53 packages 22:21:59 Removing intermediate container c59930a71102 22:21:59 ---> 118aa76118a7 22:21:59 Step 9/26 : WORKDIR /device-onvif-camera 22:21:59 ---> Running in 696b441195df 22:21:59 Removing intermediate container 696b441195df 22:21:59 ---> 1c8e0898664f 22:21:59 Step 10/26 : COPY go.mod vendor* ./ 22:22:00 ---> ac7651fff96e 22:22:00 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:00 ---> Running in be072dc75139 22:22:03 Removing intermediate container be072dc75139 22:22:03 ---> 7dbea29d0062 22:22:03 Step 12/26 : COPY . . 22:22:05 ---> de45d52d05e8 22:22:05 Step 13/26 : RUN ${MAKE} 22:22:05 ---> Running in 41f2fce1ff62 22:22:07 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 22:24:58 Removing intermediate container 41f2fce1ff62 22:24:58 ---> 8adf12f2946f 22:24:58 Step 14/26 : FROM alpine:3.17 22:24:58 3.17: Pulling from library/alpine 22:24:58 c41833b44d91: Already exists 22:24:58 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 22:24:58 Status: Downloaded newer image for alpine:3.17 22:24:58 ---> 51e60588ff2c 22:24:58 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 22:24:58 ---> Running in 56974953bd93 22:24:58 Removing intermediate container 56974953bd93 22:24:58 ---> ed15c40ffb9c 22:24:58 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:24:58 ---> Running in 8f0d77235c18 22:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:59 (1/1) Installing dumb-init (1.2.5-r2) 22:24:59 Executing busybox-1.35.0-r29.trigger 22:24:59 OK: 8 MiB in 16 packages 22:25:02 Removing intermediate container 8f0d77235c18 22:25:02 ---> b3828dde88b5 22:25:02 Step 17/26 : WORKDIR / 22:25:02 ---> Running in a4e1497502ae 22:25:02 Removing intermediate container a4e1497502ae 22:25:02 ---> 85a5f7e906d2 22:25:02 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 22:25:04 ---> df48c1115692 22:25:04 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 22:25:04 ---> 722aada2f2bb 22:25:04 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 22:25:05 ---> e34517294bc3 22:25:05 Step 21/26 : EXPOSE 59984 22:25:05 ---> Running in b6cae12c7d93 22:25:05 Removing intermediate container b6cae12c7d93 22:25:05 ---> 9af95b1cf022 22:25:05 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 22:25:05 ---> Running in f716c4cb33ef 22:25:06 Removing intermediate container f716c4cb33ef 22:25:06 ---> 328b111415cb 22:25:06 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:25:06 ---> Running in 50f7a8f01aa3 22:25:06 Removing intermediate container 50f7a8f01aa3 22:25:06 ---> 83648e59eb74 22:25:06 Step 24/26 : LABEL arch=arm64 22:25:06 ---> Running in 92ecc336f53b 22:25:06 Removing intermediate container 92ecc336f53b 22:25:06 ---> 5045703af3c0 22:25:06 Step 25/26 : LABEL git_sha=0ee0fba8169c9eb242d51149ce5542569192efac 22:25:06 ---> Running in 369e17637dcb 22:25:07 Removing intermediate container 369e17637dcb 22:25:07 ---> c67865926f28 22:25:07 Step 26/26 : LABEL version=0.0.0 22:25:07 ---> Running in 4799f7c72c5d 22:25:07 Removing intermediate container 4799f7c72c5d 22:25:07 ---> d78c200c0f0d 22:25:07 [Warning] One or more build-args [ARCH] were not consumed 22:25:07 Successfully built d78c200c0f0d 22:25:07 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:25:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:08 22:25:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:08 arm64: Pulling from edgex-lftools-log-publisher 22:25:08 8998bd30e6a1: Pulling fs layer 22:25:08 04944245beec: Pulling fs layer 22:25:08 699f458cf7ca: Pulling fs layer 22:25:08 765212b225bb: Pulling fs layer 22:25:08 f23df028b6ca: Pulling fs layer 22:25:08 d65c8cfc05b1: Pulling fs layer 22:25:08 2437ff75d9bd: Pulling fs layer 22:25:08 765212b225bb: Waiting 22:25:08 2437ff75d9bd: Waiting 22:25:08 f23df028b6ca: Waiting 22:25:08 d65c8cfc05b1: Waiting 22:25:08 04944245beec: Verifying Checksum 22:25:08 04944245beec: Download complete 22:25:08 765212b225bb: Verifying Checksum 22:25:08 765212b225bb: Download complete 22:25:08 f23df028b6ca: Verifying Checksum 22:25:08 f23df028b6ca: Download complete 22:25:08 d65c8cfc05b1: Verifying Checksum 22:25:08 d65c8cfc05b1: Download complete 22:25:09 699f458cf7ca: Verifying Checksum 22:25:09 699f458cf7ca: Download complete 22:25:09 8998bd30e6a1: Verifying Checksum 22:25:09 8998bd30e6a1: Download complete 22:25:12 2437ff75d9bd: Verifying Checksum 22:25:12 2437ff75d9bd: Download complete 22:25:16 8998bd30e6a1: Pull complete 22:25:16 04944245beec: Pull complete 22:25:17 699f458cf7ca: Pull complete 22:25:18 765212b225bb: Pull complete 22:25:19 f23df028b6ca: Pull complete 22:25:19 d65c8cfc05b1: Pull complete 22:25:34 2437ff75d9bd: Pull complete 22:25:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:34 prd-ubuntu20.04-docker-arm64-4c-16g-10886 does not seem to be running inside a container 22:25:34 $ 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/4 -v /w/workspace/device-onvif-camera/4:/w/workspace/device-onvif-camera/4:rw,z -v /w/workspace/device-onvif-camera/4@tmp:/w/workspace/device-onvif-camera/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:25:37 $ docker top 84d5b025183325b118e54696ee3069e74762009d3c0c7d3ed6481ecdc5cc1a79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:38 ---> job-cost.sh 22:25:38 lf-activate-venv: SKIPPING 22:25:38 INFO: No Stack... 22:25:38 INFO: Retrieving Pricing Info for: v3-standard-4 22:25:39 INFO: Archiving Costs [Pipeline] sh 22:25:40 + cut -d, -f6 22:25:40 + cat /w/workspace/device-onvif-camera/4/archives/cost.csv [Pipeline] lock 22:25:40 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] 22:25:40 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] did not exist. Created. 22:25:40 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:41 /w/workspace/device-onvif-camera/4@tmp/durable-92e0109c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:41 + echo total: 0.10999999940395355 [Pipeline] stash 22:25:41 Warning: overwriting stash ‘stack-cost’ 22:25:42 Stashed 1 file(s) [Pipeline] } 22:25:42 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-319-4-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:42 $ docker stop --time=1 84d5b025183325b118e54696ee3069e74762009d3c0c7d3ed6481ecdc5cc1a79 22:25:43 $ docker rm -f --volumes 84d5b025183325b118e54696ee3069e74762009d3c0c7d3ed6481ecdc5cc1a79 [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:25:43 provisioning config files... 22:25:43 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config14848996379745685486tmp [Pipeline] { [Pipeline] sh 22:25:44 + set +x 22:25:44 + curl -s https://codecov.io/bash 22:25:44 + bash -s -- 22:25:44 22:25:44 _____ _ 22:25:44 / ____| | | 22:25:44 | | ___ __| | ___ ___ _____ __ 22:25:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:44 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:44 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:44 Bash-1.0.6 22:25:44 22:25:44 22:25:44 ==> git version 2.25.1 found 22:25:44 ==> 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:25:44 Release-Date: 2020-01-08 22:25:44 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:25:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:25:44 ==> Jenkins CI detected. 22:25:44 current dir:  /w/workspace/undry_device-onvif-camera_PR-319 22:25:44 project root: . 22:25:44 --> token set from env 22:25:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:44 ==> Running gcov in . (disable via -X gcov) 22:25:44 ==> Python coveragepy not found 22:25:44 ==> Searching for coverage reports in: 22:25:44 + . 22:25:44 -> Found 1 reports 22:25:44 ==> Detecting git/mercurial file structure 22:25:44 ==> Reading reports 22:25:44 + ./coverage.out bytes=78922 22:25:44 ==> Appending adjustments 22:25:44 https://docs.codecov.io/docs/fixing-reports 22:25:44 + Found adjustments 22:25:44 ==> Gzipping contents 22:25:44 12K /tmp/codecov.YCvfDo.gz 22:25:44 ==> Uploading reports 22:25:44 url: https://codecov.io 22:25:44 query: branch=PR-319&commit=25b81ab44be78ea0cf446731543684f78d0677db&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-319%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=319&job=&cmd_args= 22:25:44 -> Pinging Codecov 22:25:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-319&commit=25b81ab44be78ea0cf446731543684f78d0677db&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-319%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=319&job=&cmd_args= 22:25:44 -> Uploading to 22:25:44 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/F29A59C45E3A92E06B3E522C9905F8EF/25b81ab44be78ea0cf446731543684f78d0677db/7cf9584f-bce7-4ea4-a2f1-342bcc1c1404.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T222544Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c0be6d4459cec2f669edb8746ddac04abdfe4a64cbbff4a238786eed97b72e7 22:25:44 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:44 Dload Upload Total Spent Left Speed 22:25:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10501 0 0 100 10501 0 48841 --:--:-- --:--:-- --:--:-- 48841 22:25:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/25b81ab44be78ea0cf446731543684f78d0677db [Pipeline] } 22:25:45 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:25:45 + [ -d /w/workspace/undry_device-onvif-camera_PR-319/archives ] 22:25:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives 22:25:45 total 16 22:25:45 drwxr-xr-x 3 root root 4096 Apr 25 22:14 . 22:25:45 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:14 .. 22:25:45 drwxr-xr-x 2 root root 4096 Apr 25 22:14 cost 22:25:45 -rw-r--r-- 1 root root 91 Apr 25 22:14 cost.csv 22:25:45 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-319/archives 22:25:45 + ls -al /w/workspace/undry_device-onvif-camera_PR-319/archives 22:25:45 total 16 22:25:45 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 22:14 . 22:25:45 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 22:14 .. 22:25:45 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 22:14 cost 22:25:45 -rw-r--r-- 1 jenkins jenkins 91 Apr 25 22:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:46 ---> package-listing.sh 22:25:46 ++ facter osfamily 22:25:46 ++ tr '[:upper:]' '[:lower:]' 22:25:47 + OS_FAMILY=debian 22:25:47 + workspace=/w/workspace/undry_device-onvif-camera_PR-319 22:25:47 + START_PACKAGES=/tmp/packages_start.txt 22:25:47 + END_PACKAGES=/tmp/packages_end.txt 22:25:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:47 + PACKAGES=/tmp/packages_start.txt 22:25:47 + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' 22:25:47 + PACKAGES=/tmp/packages_end.txt 22:25:47 + case "${OS_FAMILY}" in 22:25:47 + dpkg -l 22:25:47 + grep '^ii' 22:25:47 + '[' -f /tmp/packages_start.txt ']' 22:25:47 + '[' -f /tmp/packages_end.txt ']' 22:25:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:47 + '[' /w/workspace/undry_device-onvif-camera_PR-319 ']' 22:25:47 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-319/archives/ 22:25:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-319/archives/ [Pipeline] echo 22:25:47 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-319/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:25:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:48 prd-ubuntu20.04-docker-8c-8g-10881 does not seem to be running inside a container 22:25:48 $ 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-319/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-319 -v /w/workspace/undry_device-onvif-camera_PR-319:/w/workspace/undry_device-onvif-camera_PR-319:rw,z -v /w/workspace/undry_device-onvif-camera_PR-319@tmp:/w/workspace/undry_device-onvif-camera_PR-319@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:48 $ docker top 759aae499a726156fd3e5e9263bae123219bea696dfbdac4d006857756593b05 -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:48 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:48 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:49 + ls /var/log/sa-host 22:25:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:49 provisioning config files... 22:25:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-319@tmp/config7102365966068746095tmp [Pipeline] { [Pipeline] echo 22:25:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:49 ---> create-netrc.sh [Pipeline] } 22:25:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:49 ---> python-tools-install.sh [Pipeline] echo 22:25:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:50 ---> sudo-logs.sh 22:25:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:50 ---> job-cost.sh 22:25:50 lf-activate-venv: SKIPPING 22:25:50 DEBUG: total: 0.2199999988079071 22:25:50 INFO: Retrieving Stack Cost... 22:25:50 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:51 INFO: Archiving Costs [Pipeline] echo 22:25:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:51 ---> logs-deploy.sh 22:25:51 lf-activate-venv: SKIPPING 22:25:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-319/4 22:25:51 INFO: archiving workspace using pattern(s): 22:25:52 Archives upload complete. 22:25:52 INFO: archiving logs to Nexus