Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 5d7a9db6a708ff5f4775a07ba788f56c414f1565 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 5d7a9db6a708ff5f4775a07ba788f56c414f1565 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-ssh254306928246107171.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh12777948157988602313.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-125/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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7856049064531494672.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh12048724392023032588.key Verifying host key using known hosts file > 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-125/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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2932832859272926590.key Verifying host key using known hosts file > 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.18 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 ‘prd-ubuntu20.04-docker-8c-8g-67901’ is offline Running on prd-ubuntu20.04-docker-8c-8g-81740 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 16a307b4389f73cf297cb22a470f97f3f2520da7 Checking out Revision 16a307b4389f73cf297cb22a470f97f3f2520da7 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16a307b4389f73cf297cb22a470f97f3f2520da7 # timeout=10 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5e899e41369974eef9f7169c5674b55eb67d800a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:29:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:29:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:29:56 ========================================================= 04:29:56 EdgeX Global Pipelines Version Info 04:29:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:29:57 ------------------- 04:29:57 stable info: 04:29:57 ------------------- 04:29:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:29:57 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:29:57 Message: update stable to v1.0.243 04:29:58 ------------------- 04:29:58 experimental info: 04:29:58 ------------------- 04:29:58 Commited By: **** collab-it+edgex@linuxfoundation.org 04:29:58 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:29:58 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16a307b4389f73cf297cb22a470f97f3f2520da7 [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16a307b [Pipeline] echo 04:29:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:58 provisioning config files... 04:29:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config9437309652385674404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:59 ---> docker-login.sh 04:29:59 nexus3.edgexfoundry.org:10001 04:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:59 Configure a credential helper to remove this warning. See 04:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:59 04:29:59 Login Succeeded 04:29:59 nexus3.edgexfoundry.org:10002 04:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:59 Configure a credential helper to remove this warning. See 04:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:59 04:29:59 Login Succeeded 04:29:59 nexus3.edgexfoundry.org:10003 04:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:59 Configure a credential helper to remove this warning. See 04:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:59 04:29:59 Login Succeeded 04:29:59 nexus3.edgexfoundry.org:10004 04:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:59 Configure a credential helper to remove this warning. See 04:29:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:59 04:29:59 Login Succeeded 04:29:59 docker.io 04:29:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:00 Configure a credential helper to remove this warning. See 04:30:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:00 04:30:00 Login Succeeded 04:30:00 ---> docker-login.sh ends [Pipeline] } 04:30:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:30:00 + git rev-list -1 --merges 16a307b4389f73cf297cb22a470f97f3f2520da7~1..16a307b4389f73cf297cb22a470f97f3f2520da7 [Pipeline] echo 04:30:00 -----------> git rev-list -1 --merges 16a307b4389f73cf297cb22a470f97f3f2520da7~1..16a307b4389f73cf297cb22a470f97f3f2520da7 16a307b4389f73cf297cb22a470f97f3f2520da7 04:30:00 16a307b4389f73cf297cb22a470f97f3f2520da7 [false] [Pipeline] sh 04:30:00 + git log --format=format:%s -1 16a307b4389f73cf297cb22a470f97f3f2520da7 [Pipeline] echo 04:30:00 ========================================================= 04:30:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:30:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:01 + git log --format=format:%s -1 16a307b4389f73cf297cb22a470f97f3f2520da7 [Pipeline] echo 04:30:01 [semverPrep] GIT_COMMIT: 16a307b4389f73cf297cb22a470f97f3f2520da7, Commit Message: Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD [Pipeline] echo 04:30:01 [semverPrep] This is not a build commit. [Pipeline] sh 04:30:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:30:01 + grep -v github /etc/ssh/ssh_known_hosts 04:30:01 + [ -e /tmp/ssh_known_hosts ] 04:30:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:30:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:30:01 + sudo tee -a /etc/ssh/ssh_known_hosts 04:30:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:01 04:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:02 0.1.4: Pulling from edgex-devops/py-git-semver 04:30:02 b85a868b505f: Pulling fs layer 04:30:02 e2be974225ed: Pulling fs layer 04:30:02 339a4e72a1f5: Pulling fs layer 04:30:02 988bab9f4d93: Pulling fs layer 04:30:02 1469e6f7b9e6: Pulling fs layer 04:30:02 eaf3925da568: Pulling fs layer 04:30:02 bab4dde63d76: Pulling fs layer 04:30:02 bde34c3a00c8: Pulling fs layer 04:30:02 b352a97aabf1: Pulling fs layer 04:30:02 4872d77fe225: Pulling fs layer 04:30:02 5851b861e8e6: Pulling fs layer 04:30:02 1469e6f7b9e6: Waiting 04:30:02 988bab9f4d93: Waiting 04:30:02 4872d77fe225: Waiting 04:30:02 bde34c3a00c8: Waiting 04:30:02 bab4dde63d76: Waiting 04:30:02 eaf3925da568: Waiting 04:30:02 b352a97aabf1: Waiting 04:30:02 5851b861e8e6: Waiting 04:30:02 e2be974225ed: Verifying Checksum 04:30:02 e2be974225ed: Download complete 04:30:02 988bab9f4d93: Download complete 04:30:02 339a4e72a1f5: Verifying Checksum 04:30:02 339a4e72a1f5: Download complete 04:30:02 eaf3925da568: Verifying Checksum 04:30:02 eaf3925da568: Download complete 04:30:02 1469e6f7b9e6: Verifying Checksum 04:30:02 1469e6f7b9e6: Download complete 04:30:02 bde34c3a00c8: Verifying Checksum 04:30:02 bde34c3a00c8: Download complete 04:30:02 b352a97aabf1: Verifying Checksum 04:30:02 b352a97aabf1: Download complete 04:30:02 4872d77fe225: Verifying Checksum 04:30:02 4872d77fe225: Download complete 04:30:02 5851b861e8e6: Verifying Checksum 04:30:02 5851b861e8e6: Download complete 04:30:02 b85a868b505f: Verifying Checksum 04:30:02 b85a868b505f: Download complete 04:30:02 bab4dde63d76: Verifying Checksum 04:30:03 b85a868b505f: Pull complete 04:30:03 e2be974225ed: Pull complete 04:30:04 339a4e72a1f5: Pull complete 04:30:04 988bab9f4d93: Pull complete 04:30:04 1469e6f7b9e6: Pull complete 04:30:04 eaf3925da568: Pull complete 04:30:06 bab4dde63d76: Pull complete 04:30:06 bde34c3a00c8: Pull complete 04:30:06 b352a97aabf1: Pull complete 04:30:06 4872d77fe225: Pull complete 04:30:06 5851b861e8e6: Pull complete 04:30:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:30:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:30:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:07 prd-ubuntu20.04-docker-8c-8g-81740 does not seem to be running inside a container 04:30:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-devops/py-git-semver:0.1.4 cat 04:30:09 $ docker top 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 -eo pid,comm 04:30:09 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). 04:30:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:30:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:09 [ssh-agent] Looking for ssh-agent implementation... 04:30:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:09 $ docker exec 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 ssh-agent 04:30:09 SSH_AUTH_SOCK=/tmp/ssh-DCWFcXYqVRKg/agent.33 04:30:09 SSH_AGENT_PID=39 04:30:09 Running ssh-add (command line suppressed) 04:30:09 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10338164714967397485.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10338164714967397485.key) 04:30:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:09 + git tag --points-at HEAD [Pipeline] } 04:30:09 $ docker exec --env ******** --env ******** 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 ssh-agent -k 04:30:09 unset SSH_AUTH_SOCK; 04:30:09 unset SSH_AGENT_PID; 04:30:09 echo Agent pid 39 killed; 04:30:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:30:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:30:09 [ssh-agent] Looking for ssh-agent implementation... 04:30:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:30:10 $ docker exec 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 ssh-agent 04:30:10 SSH_AUTH_SOCK=/tmp/ssh-bwAMQ0arxgOZ/agent.71 04:30:10 SSH_AGENT_PID=77 04:30:10 Running ssh-add (command line suppressed) 04:30:10 Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10929127073707708495.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10929127073707708495.key) 04:30:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:30:10 + git semver init 04:30:10 2022-10-25 04:30:10,661 [run_init] DEBUG init version:0.0.0 force:False 04:30:10 2022-10-25 04:30:10,662 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver 04:30:10 2022-10-25 04:30:10,662 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver 04:30:10 2022-10-25 04:30:10,662 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) 04:30:12 2022-10-25 04:30:11,719 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude 04:30:12 2022-10-25 04:30:11,720 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False 04:30:12 2022-10-25 04:30:11,720 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 04:30:12 2022-10-25 04:30:11,724 [execute] INFO git cat-file --batch-check 04:30:12 2022-10-25 04:30:11,724 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 04:30:12 2022-10-25 04:30:11,730 [execute] INFO git cat-file --batch 04:30:12 2022-10-25 04:30:11,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) 04:30:12 2022-10-25 04:30:11,734 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 04:30:12 0.0.0 [Pipeline] } 04:30:12 $ docker exec --env ******** --env ******** 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 ssh-agent -k 04:30:12 unset SSH_AUTH_SOCK; 04:30:12 unset SSH_AGENT_PID; 04:30:12 echo Agent pid 77 killed; 04:30:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:30:12 + git semver [Pipeline] } 04:30:12 $ docker stop --time=1 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 04:30:14 $ docker rm -f 283e2f7395d6db8e056271a73ba353fe445f3d134ecae2fca7ada3b710fe47a7 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:30:14 Stashed 1 file(s) [Pipeline] echo 04:30:14 [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 04:30:14 provisioning config files... 04:30:14 copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14678319775985739709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:15 ---> docker-login.sh 04:30:15 nexus3.edgexfoundry.org:10001 04:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:15 Configure a credential helper to remove this warning. See 04:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:15 04:30:15 Login Succeeded 04:30:15 nexus3.edgexfoundry.org:10002 04:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:15 Configure a credential helper to remove this warning. See 04:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:15 04:30:15 Login Succeeded 04:30:15 nexus3.edgexfoundry.org:10003 04:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:15 Configure a credential helper to remove this warning. See 04:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:15 04:30:15 Login Succeeded 04:30:15 nexus3.edgexfoundry.org:10004 04:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:15 Configure a credential helper to remove this warning. See 04:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:15 04:30:15 Login Succeeded 04:30:15 docker.io 04:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:30:15 Configure a credential helper to remove this warning. See 04:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:30:15 04:30:15 Login Succeeded 04:30:15 ---> docker-login.sh ends [Pipeline] } 04:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:30:15 ========================================================= 04:30:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:30:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:30:16 Sending build context to Docker daemon 21.46MB 04:30:16 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 04:30:16 Step 2/14 : FROM ${BASE} AS builder 04:30:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:30:16 213ec9aee27d: Pulling fs layer 04:30:16 4583459ba037: Pulling fs layer 04:30:16 93c1e223e6f2: Pulling fs layer 04:30:16 53926ce57604: Pulling fs layer 04:30:16 21b2b0c7a3f4: Pulling fs layer 04:30:16 30f14e443154: Pulling fs layer 04:30:16 801331c1e519: Pulling fs layer 04:30:16 99cc6dd402b0: Pulling fs layer 04:30:16 7d9ed39f4882: Pulling fs layer 04:30:16 99cc6dd402b0: Waiting 04:30:16 801331c1e519: Waiting 04:30:16 7d9ed39f4882: Waiting 04:30:16 30f14e443154: Waiting 04:30:16 21b2b0c7a3f4: Waiting 04:30:16 53926ce57604: Waiting 04:30:16 93c1e223e6f2: Verifying Checksum 04:30:16 93c1e223e6f2: Download complete 04:30:16 4583459ba037: Verifying Checksum 04:30:16 4583459ba037: Download complete 04:30:16 21b2b0c7a3f4: Download complete 04:30:16 30f14e443154: Download complete 04:30:16 213ec9aee27d: Verifying Checksum 04:30:16 801331c1e519: Download complete 04:30:16 213ec9aee27d: Pull complete 04:30:16 4583459ba037: Pull complete 04:30:16 93c1e223e6f2: Pull complete 04:30:16 7d9ed39f4882: Verifying Checksum 04:30:16 7d9ed39f4882: Download complete 04:30:16 99cc6dd402b0: Verifying Checksum 04:30:16 99cc6dd402b0: Download complete 04:30:17 53926ce57604: Download complete 04:30:21 53926ce57604: Pull complete 04:30:21 21b2b0c7a3f4: Pull complete 04:30:21 30f14e443154: Pull complete 04:30:21 801331c1e519: Pull complete 04:30:23 99cc6dd402b0: Pull complete 04:30:23 7d9ed39f4882: Pull complete 04:30:23 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:30:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:30:23 ---> 1dedd983c030 04:30:23 Step 3/14 : ARG ADD_BUILD_TAGS="" 04:30:26 ---> Running in 4e32913698be 04:30:26 Removing intermediate container 4e32913698be 04:30:26 ---> 7bee97e626c7 04:30:26 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:26 ---> Running in 497d8d533fa1 04:30:26 Removing intermediate container 497d8d533fa1 04:30:26 ---> b6ef29a037a2 04:30:26 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:30:26 ---> Running in 9e70711deb0d 04:30:27 Removing intermediate container 9e70711deb0d 04:30:27 ---> e2b47e3cf1cf 04:30:27 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 04:30:27 ---> Running in 84e28185cd11 04:30:27 Removing intermediate container 84e28185cd11 04:30:27 ---> a2dcef132cf5 04:30:27 Step 7/14 : LABEL Name=edgex-device-onvif-camera 04:30:27 ---> Running in aff36e094a62 04:30:27 Removing intermediate container aff36e094a62 04:30:27 ---> a8fabf13a0df 04:30:27 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:30:27 ---> Running in 0485dab654dc 04:30:27 Removing intermediate container 0485dab654dc 04:30:27 ---> 17ab9462e328 04:30:27 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:27 ---> Running in 865a704d786d 04:30:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:30:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:30:29 OK: 211 MiB in 51 packages 04:30:29 Removing intermediate container 865a704d786d 04:30:29 ---> 19edb100ff5d 04:30:29 Step 10/14 : WORKDIR /device-onvif-camera 04:30:29 ---> Running in ca6065a50ef9 04:30:29 Removing intermediate container ca6065a50ef9 04:30:29 ---> bf54bd13e2cb 04:30:29 Step 11/14 : COPY go.mod vendor* ./ 04:30:29 ---> be7b42f9064a 04:30:29 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:29 ---> Running in a2c664b28d1c 04:30:29 Still waiting to schedule task 04:30:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-81776’ is offline 04:30:51 Removing intermediate container a2c664b28d1c 04:30:51 ---> 96c4bab9f35e 04:30:51 Step 13/14 : COPY . . 04:30:51 ---> 85e946cf3503 04:30:51 Step 14/14 : RUN ${MAKE} 04:30:51 ---> Running in 2bdd852bf23b 04:30:51 noop 04:30:51 Removing intermediate container 2bdd852bf23b 04:30:51 ---> df143f7b7aa9 04:30:51 Successfully built df143f7b7aa9 04:30:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:52 + docker inspect -f . ci-base-image-x86_64 04:30:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:52 prd-ubuntu20.04-docker-8c-8g-81740 does not seem to be running inside a container 04:30:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:52 $ docker top 2fb790d74e649c9a3245348d252a0b4960e0c12f6c4b5133f39c6622ef383c67 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:52 + go version 04:30:52 go version go1.18.7 linux/amd64 [Pipeline] } 04:30:52 $ docker stop --time=1 2fb790d74e649c9a3245348d252a0b4960e0c12f6c4b5133f39c6622ef383c67 04:30:54 $ docker rm -f 2fb790d74e649c9a3245348d252a0b4960e0c12f6c4b5133f39c6622ef383c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:54 + docker inspect -f . ci-base-image-x86_64 04:30:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:54 prd-ubuntu20.04-docker-8c-8g-81740 does not seem to be running inside a container 04:30:54 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:54 $ docker top 9d8609bc22352913623cb55f7b0f42965fb20b0ad29f6045d0909fe37c849dc5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:55 + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh 04:30:55 + make test 04:30:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:30:55 ? github.com/edgexfoundry/device-onvif-camera [no test files] 04:31:05 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 04:31:06 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.036s coverage: 28.2% of statements 04:31:06 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 04:31:06 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.418s coverage: 86.5% of statements 04:31:14 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:31:14 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:31:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:31:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:31:16 ./bin/test-attribution-txt.sh [Pipeline] echo 04:31:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:31:17 $ docker stop --time=1 9d8609bc22352913623cb55f7b0f42965fb20b0ad29f6045d0909fe37c849dc5 04:31:19 $ docker rm -f 9d8609bc22352913623cb55f7b0f42965fb20b0ad29f6045d0909fe37c849dc5 [Pipeline] // withDockerContainer [Pipeline] sh 04:31:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:31:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:31:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:31:20 + ls -al . 04:31:20 total 244 04:31:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 04:30 . 04:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:29 .. 04:31:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:31 .git 04:31:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:29 .github 04:31:20 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 04:29 .gitignore 04:31:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 04:29 .golangci.yml 04:31:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:30 .semver 04:31:20 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 04:29 Attribution.txt 04:31:20 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 04:29 CHANGELOG.md 04:31:20 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 25 04:29 Dockerfile 04:31:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:29 GOVERNANCE.md 04:31:20 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 04:29 Jenkinsfile 04:31:20 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 04:29 LICENSE 04:31:20 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 04:29 Makefile 04:31:20 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 04:29 OWNERS.md 04:31:20 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 04:29 README.md 04:31:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:30 VERSION 04:31:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:29 bin 04:31:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:29 cmd 04:31:20 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 04:31 coverage.out 04:31:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 04:29 doc 04:31:20 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 04:29 go.mod 04:31:20 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 04:29 go.sum 04:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:29 internal 04:31:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:29 snap 04:31:20 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:20 + 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=16a307b4389f73cf297cb22a470f97f3f2520da7 --label arch=amd64 --label version=0.0.0 . 04:31:20 Sending build context to Docker daemon 21.54MB 04:31:20 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 04:31:20 Step 2/28 : FROM ${BASE} AS builder 04:31:20 ---> df143f7b7aa9 04:31:20 Step 3/28 : ARG ADD_BUILD_TAGS="" 04:31:21 ---> Running in 61a81c6d020d 04:31:21 Removing intermediate container 61a81c6d020d 04:31:21 ---> 4c816555cd49 04:31:21 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:31:21 ---> Running in 2b17215ead4a 04:31:21 Removing intermediate container 2b17215ead4a 04:31:21 ---> 2bea48f1ede3 04:31:21 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 04:31:21 ---> Running in a4fe8489f2db 04:31:21 Removing intermediate container a4fe8489f2db 04:31:21 ---> cd2eff076bbe 04:31:21 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 04:31:21 ---> Running in cc42f1f845ac 04:31:21 Removing intermediate container cc42f1f845ac 04:31:21 ---> fb150ae42e95 04:31:21 Step 7/28 : LABEL Name=edgex-device-onvif-camera 04:31:21 ---> Running in 4208bf92dc8b 04:31:21 Removing intermediate container 4208bf92dc8b 04:31:21 ---> 14805d274e19 04:31:21 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:31:21 ---> Running in 83854a8c7188 04:31:22 Removing intermediate container 83854a8c7188 04:31:22 ---> f48fb9312b81 04:31:22 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:31:22 ---> Running in c5a322d5767b 04:31:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:31:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:31:23 OK: 211 MiB in 51 packages 04:31:23 Removing intermediate container c5a322d5767b 04:31:23 ---> 9ac4601f924e 04:31:23 Step 10/28 : WORKDIR /device-onvif-camera 04:31:23 ---> Running in 832ad6d9233a 04:31:23 Removing intermediate container 832ad6d9233a 04:31:23 ---> f4ef8c295b0c 04:31:23 Step 11/28 : COPY go.mod vendor* ./ 04:31:24 ---> a5e95a595bdc 04:31:24 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:24 ---> Running in 9f2c8bf9c8dd 04:31:24 Removing intermediate container 9f2c8bf9c8dd 04:31:24 ---> ffc221c56dec 04:31:24 Step 13/28 : COPY . . 04:31:25 ---> 42edea48e38a 04:31:25 Step 14/28 : RUN ${MAKE} 04:31:25 ---> Running in 46b4e04428bf 04:31:25 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 04:31:47 Removing intermediate container 46b4e04428bf 04:31:47 ---> 388d8b3b3088 04:31:47 Step 15/28 : FROM alpine:3.16 04:31:47 3.16: Pulling from library/alpine 04:31:47 213ec9aee27d: Already exists 04:31:47 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:31:47 Status: Downloaded newer image for alpine:3.16 04:31:47 ---> 9c6f07244728 04:31:47 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 04:31:47 ---> Running in a9b6b722feaf 04:31:47 Removing intermediate container a9b6b722feaf 04:31:47 ---> db89f6ef0eeb 04:31:47 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 04:31:47 ---> Running in 428baa778a31 04:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:31:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:31:47 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 04:31:47 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 04:31:47 (3/21) Installing readline (8.1.2-r0) 04:31:47 (4/21) Installing bash (5.1.16-r2) 04:31:47 Executing bash-5.1.16-r2.post-install 04:31:47 (5/21) Installing ca-certificates (20220614-r0) 04:31:47 (6/21) Installing brotli-libs (1.0.9-r6) 04:31:47 (7/21) Installing nghttp2-libs (1.47.0-r0) 04:31:47 (8/21) Installing libcurl (7.83.1-r3) 04:31:47 (9/21) Installing curl (7.83.1-r3) 04:31:47 (10/21) Installing dumb-init (1.2.5-r1) 04:31:47 (11/21) Installing oniguruma (6.9.8-r0) 04:31:47 (12/21) Installing jq (1.6-r1) 04:31:47 (13/21) Installing popt (1.18-r0) 04:31:47 (14/21) Installing pcre (8.45-r2) 04:31:47 (15/21) Installing slang (2.3.2-r0) 04:31:47 (16/21) Installing newt (0.52.21-r2) 04:31:47 (17/21) Installing libgcc (11.2.1_git20220219-r2) 04:31:47 (18/21) Installing libsodium (1.0.18-r0) 04:31:48 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 04:31:48 (20/21) Installing libzmq (4.3.4-r0) 04:31:48 (21/21) Installing zeromq (4.3.4-r0) 04:31:48 Executing busybox-1.35.0-r17.trigger 04:31:48 Executing ca-certificates-20220614-r0.trigger 04:31:48 OK: 17 MiB in 35 packages 04:31:49 Removing intermediate container 428baa778a31 04:31:49 ---> cd7e4a263699 04:31:49 Step 18/28 : WORKDIR / 04:31:49 ---> Running in cda0f1d5d291 04:31:49 Removing intermediate container cda0f1d5d291 04:31:49 ---> dc27a2b020b7 04:31:49 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 04:31:49 ---> cc33a41bb244 04:31:49 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 04:31:50 ---> a22905a98968 04:31:50 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 04:31:50 ---> c5cc5ca5f06e 04:31:50 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 04:31:50 ---> b1279974f99c 04:31:50 Step 23/28 : EXPOSE 59984 04:31:50 ---> Running in 2a7c6bd9d107 04:31:50 Removing intermediate container 2a7c6bd9d107 04:31:50 ---> ec453dd7555d 04:31:50 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 04:31:50 ---> Running in 71881fb08063 04:31:50 Removing intermediate container 71881fb08063 04:31:50 ---> 88e176714262 04:31:50 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:31:50 ---> Running in 8ce7950f59c8 04:31:50 Removing intermediate container 8ce7950f59c8 04:31:50 ---> 72ee33d38c16 04:31:50 Step 26/28 : LABEL arch=amd64 04:31:50 ---> Running in 11affbede21d 04:31:50 Removing intermediate container 11affbede21d 04:31:50 ---> 1fc6977a8a45 04:31:50 Step 27/28 : LABEL git_sha=16a307b4389f73cf297cb22a470f97f3f2520da7 04:31:50 ---> Running in bccbae0eb35d 04:31:50 Removing intermediate container bccbae0eb35d 04:31:50 ---> a86c4a39e6b5 04:31:50 Step 28/28 : LABEL version=0.0.0 04:31:50 ---> Running in 32f01990f7ec 04:31:50 Removing intermediate container 32f01990f7ec 04:31:50 ---> aeeafbe8843b 04:31:50 [Warning] One or more build-args [ARCH] were not consumed 04:31:50 Successfully built aeeafbe8843b 04:31:50 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 04:31:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:51 04:31:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:51 latest: Pulling from edgex-lftools-log-publisher 04:31:51 5eb5b503b376: Pulling fs layer 04:31:51 5c69ac0246d0: Pulling fs layer 04:31:51 ec43610c2a17: Pulling fs layer 04:31:51 3a2ae6a8a46f: Pulling fs layer 04:31:51 33b1e0a273af: Pulling fs layer 04:31:51 5d3b04190fa2: Pulling fs layer 04:31:51 2f39f015ded8: Pulling fs layer 04:31:51 33b1e0a273af: Waiting 04:31:51 5d3b04190fa2: Waiting 04:31:51 3a2ae6a8a46f: Waiting 04:31:51 2f39f015ded8: Waiting 04:31:51 5c69ac0246d0: Verifying Checksum 04:31:51 5c69ac0246d0: Download complete 04:31:51 3a2ae6a8a46f: Download complete 04:31:51 33b1e0a273af: Verifying Checksum 04:31:51 33b1e0a273af: Download complete 04:31:51 5d3b04190fa2: Download complete 04:31:51 ec43610c2a17: Verifying Checksum 04:31:51 ec43610c2a17: Download complete 04:31:51 5eb5b503b376: Verifying Checksum 04:31:51 5eb5b503b376: Download complete 04:31:52 2f39f015ded8: Download complete 04:31:53 5eb5b503b376: Pull complete 04:31:53 5c69ac0246d0: Pull complete 04:31:53 ec43610c2a17: Pull complete 04:31:53 3a2ae6a8a46f: Pull complete 04:31:53 33b1e0a273af: Pull complete 04:31:54 5d3b04190fa2: Pull complete 04:31:58 2f39f015ded8: Pull complete 04:31:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:58 prd-ubuntu20.04-docker-8c-8g-81740 does not seem to be running inside a container 04:31:58 $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:32:00 $ docker top 3bca3ca7d80eee6faa8d5d7a623ae0ca96e31735a7cf37281730e84af39450ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:00 ---> job-cost.sh 04:32:00 lf-activate-venv: SKIPPING 04:32:00 INFO: No Stack... 04:32:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:01 INFO: Archiving Costs [Pipeline] sh 04:32:02 + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv 04:32:02 + cut -d, -f6 [Pipeline] lock 04:32:02 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] 04:32:02 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] did not exist. Created. 04:32:02 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:32:02 + echo total: 0.2199999988079071 [Pipeline] stash 04:32:02 Stashed 1 file(s) [Pipeline] } 04:32:02 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] [Pipeline] // lock [Pipeline] } 04:32:02 $ docker stop --time=1 3bca3ca7d80eee6faa8d5d7a623ae0ca96e31735a7cf37281730e84af39450ef 04:32:03 $ docker rm -f 3bca3ca7d80eee6faa8d5d7a623ae0ca96e31735a7cf37281730e84af39450ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:20:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116811 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws 08:20:44 Running in /w/workspace/device-onvif-camera/23 [Pipeline] { [Pipeline] checkout 08:20:44 The recommended git tool is: git 08:20:50 using credential edgex-jenkins-ssh 08:20:50 Cloning the remote Git repository 08:20:50 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 08:20:50 > git init /w/workspace/device-onvif-camera/23 # timeout=10 08:20:50 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:20:50 > git --version # timeout=10 08:20:50 > git --version # 'git version 2.25.1' 08:20:50 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:50 Verifying host key using known hosts file 08:20:50 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:20:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:20:53 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 08:20:53 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 08:20:53 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:53 Verifying host key using known hosts file 08:20:53 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:20:53 Merging remotes/origin/main commit 5d7a9db6a708ff5f4775a07ba788f56c414f1565 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 08:20:54 Merge succeeded, producing 285c0a1b214faa0505cef065968c8bc3a541bb44 08:20:54 Checking out Revision 285c0a1b214faa0505cef065968c8bc3a541bb44 (PR-125) 08:20:53 > git config core.sparsecheckout # timeout=10 08:20:53 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 08:20:54 > git remote # timeout=10 08:20:54 > git config --get remote.origin.url # timeout=10 08:20:54 using GIT_SSH to set credentials SSH Credentials for GitHub 08:20:54 Verifying host key using known hosts file 08:20:54 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 08:20:54 > git merge 5d7a9db6a708ff5f4775a07ba788f56c414f1565 # timeout=10 08:20:54 > git rev-parse HEAD^{commit} # timeout=10 08:20:54 > git config core.sparsecheckout # timeout=10 08:20:54 > git checkout -f 285c0a1b214faa0505cef065968c8bc3a541bb44 # timeout=10 08:20:58 Commit message: "Merge commit '5d7a9db6a708ff5f4775a07ba788f56c414f1565' into HEAD" 08:20:58 First time build. Skipping changelog. 08:20:58 > git rev-list --no-walk 5e899e41369974eef9f7169c5674b55eb67d800a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:20:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:20:58 % Total % Received % Xferd Average Speed Time Time Time Current 08:20:58 Dload Upload Total Spent Left Speed 08:20:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 232k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh 08:20:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:21:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:21:00 + sudo tee /etc/docker/daemon.new 08:21:00 { 08:21:00 "registry-mirrors": [ 08:21:00 "https://nexus3.edgexfoundry.org:10001" 08:21:00 ], 08:21:00 "bip": "10.250.0.254/24", 08:21:00 "hosts": [ 08:21:00 "tcp://0.0.0.0:5555", 08:21:00 "unix:///var/run/docker.sock" 08:21:00 ], 08:21:00 "mtu": 1458, 08:21:00 "selinux-enabled": true, 08:21:00 "seccomp-profile": "/etc/docker/seccomp.json" 08:21:00 } [Pipeline] sh 08:21:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:21:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:21:18 provisioning config files... 08:21:18 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/23@tmp/config3228049647880341336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:21:19 ---> docker-login.sh 08:21:19 nexus3.edgexfoundry.org:10001 08:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:19 Configure a credential helper to remove this warning. See 08:21:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:19 08:21:19 Login Succeeded 08:21:19 nexus3.edgexfoundry.org:10002 08:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:20 Configure a credential helper to remove this warning. See 08:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:20 08:21:20 Login Succeeded 08:21:20 nexus3.edgexfoundry.org:10003 08:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:20 Configure a credential helper to remove this warning. See 08:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:20 08:21:20 Login Succeeded 08:21:20 nexus3.edgexfoundry.org:10004 08:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:20 Configure a credential helper to remove this warning. See 08:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:20 08:21:20 Login Succeeded 08:21:20 docker.io 08:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:21:21 Configure a credential helper to remove this warning. See 08:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:21:21 08:21:21 Login Succeeded 08:21:21 ---> docker-login.sh ends [Pipeline] } 08:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:21:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:21:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:21:22 ========================================================= 08:21:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 08:21:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:21:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 08:21:23 Sending build context to Docker daemon 14.77MB 08:21:23 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 08:21:23 Step 2/14 : FROM ${BASE} AS builder 08:21:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:21:23 9b18e9b68314: Pulling fs layer 08:21:23 d32db5db7311: Pulling fs layer 08:21:23 d0c4b47475fc: Pulling fs layer 08:21:23 5831b945b038: Pulling fs layer 08:21:23 86bbec2aaacd: Pulling fs layer 08:21:23 e10730c5d714: Pulling fs layer 08:21:23 5dd5c2283517: Pulling fs layer 08:21:23 d5ac0230b979: Pulling fs layer 08:21:23 5831b945b038: Waiting 08:21:23 5dd5c2283517: Waiting 08:21:23 86bbec2aaacd: Waiting 08:21:23 d5ac0230b979: Waiting 08:21:23 e10730c5d714: Waiting 08:21:23 d0c4b47475fc: Verifying Checksum 08:21:23 d0c4b47475fc: Download complete 08:21:23 d32db5db7311: Download complete 08:21:23 86bbec2aaacd: Verifying Checksum 08:21:23 86bbec2aaacd: Download complete 08:21:23 e10730c5d714: Download complete 08:21:23 9b18e9b68314: Verifying Checksum 08:21:23 9b18e9b68314: Download complete 08:21:24 9b18e9b68314: Pull complete 08:21:24 d5ac0230b979: Verifying Checksum 08:21:24 d5ac0230b979: Download complete 08:21:25 d32db5db7311: Pull complete 08:21:25 d0c4b47475fc: Pull complete 08:21:25 5dd5c2283517: Verifying Checksum 08:21:25 5dd5c2283517: Download complete 08:21:26 5831b945b038: Verifying Checksum 08:21:26 5831b945b038: Download complete 08:21:39 5831b945b038: Pull complete 08:21:39 86bbec2aaacd: Pull complete 08:21:39 e10730c5d714: Pull complete 08:21:46 5dd5c2283517: Pull complete 08:21:48 d5ac0230b979: Pull complete 08:21:48 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 08:21:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 08:21:48 ---> 59b3b1a385d4 08:21:48 Step 3/14 : ARG ADD_BUILD_TAGS="" 08:21:50 ---> Running in bbd5624362f1 08:21:50 Removing intermediate container bbd5624362f1 08:21:50 ---> b6732b24aed6 08:21:50 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:21:50 ---> Running in fcb316a5f256 08:21:50 Removing intermediate container fcb316a5f256 08:21:50 ---> 5e55de67e024 08:21:50 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:21:50 ---> Running in 15d5021a432d 08:21:51 Removing intermediate container 15d5021a432d 08:21:51 ---> c150ca2ab819 08:21:51 Step 6/14 : ARG ALPINE_PKG_EXTRA="" 08:21:51 ---> Running in 7ca3e4bb71d0 08:21:51 Removing intermediate container 7ca3e4bb71d0 08:21:51 ---> 5a327db94912 08:21:51 Step 7/14 : LABEL Name=edgex-device-onvif-camera 08:21:51 ---> Running in b826f6171c96 08:21:52 Removing intermediate container b826f6171c96 08:21:52 ---> e0d69e079cdf 08:21:52 Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:21:52 ---> Running in a8b5185a3817 08:21:54 Removing intermediate container a8b5185a3817 08:21:54 ---> 53bcdfb796a8 08:21:54 Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:21:54 ---> Running in e700f19d7ce5 08:21:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:21:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:21:56 OK: 221 MiB in 51 packages 08:21:57 Removing intermediate container e700f19d7ce5 08:21:57 ---> 8514d76331c8 08:21:57 Step 10/14 : WORKDIR /device-onvif-camera 08:21:57 ---> Running in abb802e03bfe 08:21:58 Removing intermediate container abb802e03bfe 08:21:58 ---> 72a1712ca29f 08:21:58 Step 11/14 : COPY go.mod vendor* ./ 08:21:58 ---> 79896a982e6e 08:21:58 Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:21:58 ---> Running in 8ed641114106 08:22:55 Removing intermediate container 8ed641114106 08:22:55 ---> 58ff3fd573f7 08:22:55 Step 13/14 : COPY . . 08:22:55 ---> c2bc78878588 08:22:55 Step 14/14 : RUN ${MAKE} 08:22:55 ---> Running in a1e0a3f959f3 08:22:55 noop 08:22:56 Removing intermediate container a1e0a3f959f3 08:22:56 ---> 970c3c0aedb7 08:22:56 Successfully built 970c3c0aedb7 08:22:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:22:57 + docker inspect -f . ci-base-image-arm64 08:22:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-116811 does not seem to be running inside a container 08:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:22:58 $ docker top 0850f7ebe6ae0c5b5536ccb12f5520e27301e1a4b32e55553a717e616f5f5276 -eo pid,comm [Pipeline] { [Pipeline] sh 08:22:59 + go version 08:22:59 go version go1.18.7 linux/arm64 [Pipeline] } 08:22:59 $ docker stop --time=1 0850f7ebe6ae0c5b5536ccb12f5520e27301e1a4b32e55553a717e616f5f5276 08:23:01 $ docker rm -f 0850f7ebe6ae0c5b5536ccb12f5520e27301e1a4b32e55553a717e616f5f5276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:23:01 + docker inspect -f . ci-base-image-arm64 08:23:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:23:02 prd-ubuntu20.04-docker-arm64-4c-16g-116811 does not seem to be running inside a container 08:23:02 $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:23:03 $ docker top 68e54c81b507887085b49202f0ca7d08bdb3c7320cd9ca0ab72ce7a767d8c196 -eo pid,comm [Pipeline] { [Pipeline] sh 08:23:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/23 [Pipeline] fileExists [Pipeline] sh 08:23:04 + make test 08:23:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:23:06 ? github.com/edgexfoundry/device-onvif-camera [no test files] 08:24:58 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 08:24:58 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.184s coverage: 28.2% of statements 08:24:58 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 08:25:08 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.403s coverage: 86.5% of statements 08:25:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:25:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 08:25:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:25:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:25:47 ./bin/test-attribution-txt.sh [Pipeline] echo 08:25:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:25:47 $ docker stop --time=1 68e54c81b507887085b49202f0ca7d08bdb3c7320cd9ca0ab72ce7a767d8c196 08:25:49 $ docker rm -f 68e54c81b507887085b49202f0ca7d08bdb3c7320cd9ca0ab72ce7a767d8c196 [Pipeline] // withDockerContainer [Pipeline] sh 08:25:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:25:50 Warning: overwriting stash ‘coverage-report’ 08:25:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:25:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:25:52 + ls -al . 08:25:52 total 240 08:25:52 drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 08:23 . 08:25:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 .. 08:25:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 08:20 .git 08:25:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 .github 08:25:52 -rw-rw-r-- 1 jenkins jenkins 496 Oct 25 08:20 .gitignore 08:25:52 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 08:20 .golangci.yml 08:25:52 -rw-rw-r-- 1 jenkins jenkins 9739 Oct 25 08:20 Attribution.txt 08:25:52 -rw-rw-r-- 1 jenkins jenkins 1498 Oct 25 08:20 CHANGELOG.md 08:25:52 -rw-rw-r-- 1 jenkins jenkins 1799 Oct 25 08:20 Dockerfile 08:25:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 08:20 GOVERNANCE.md 08:25:52 -rw-rw-r-- 1 jenkins jenkins 734 Oct 25 08:20 Jenkinsfile 08:25:52 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 25 08:20 LICENSE 08:25:52 -rw-rw-r-- 1 jenkins jenkins 2858 Oct 25 08:20 Makefile 08:25:52 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 08:20 OWNERS.md 08:25:52 -rw-rw-r-- 1 jenkins jenkins 6595 Oct 25 08:20 README.md 08:25:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 04:30 VERSION 08:25:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 08:20 bin 08:25:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 08:20 cmd 08:25:52 -rw-r--r-- 1 jenkins jenkins 78636 Oct 25 08:25 coverage.out 08:25:52 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 08:20 doc 08:25:52 -rw-rw-r-- 1 jenkins jenkins 3735 Oct 25 08:20 go.mod 08:25:52 -rw-rw-r-- 1 jenkins jenkins 46201 Oct 25 08:20 go.sum 08:25:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 internal 08:25:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 08:20 snap 08:25:52 -rw-rw-r-- 1 jenkins jenkins 236 Oct 25 08:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:25:52 + 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=285c0a1b214faa0505cef065968c8bc3a541bb44 --label arch=arm64 --label version=0.0.0 . 08:25:53 Sending build context to Docker daemon 14.85MB 08:25:53 Step 1/28 : ARG BASE=golang:1.18-alpine3.16 08:25:53 Step 2/28 : FROM ${BASE} AS builder 08:25:53 ---> 970c3c0aedb7 08:25:53 Step 3/28 : ARG ADD_BUILD_TAGS="" 08:25:53 ---> Running in afca678ddab4 08:25:54 Removing intermediate container afca678ddab4 08:25:54 ---> e29f13d9d375 08:25:54 Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:25:54 ---> Running in 002b32413e66 08:25:55 Removing intermediate container 002b32413e66 08:25:55 ---> 6ca5d65e6360 08:25:55 Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" 08:25:56 ---> Running in 3b435c51e235 08:25:56 Removing intermediate container 3b435c51e235 08:25:56 ---> a309424e669a 08:25:56 Step 6/28 : ARG ALPINE_PKG_EXTRA="" 08:25:56 ---> Running in c7a10f13bfcf 08:25:56 Removing intermediate container c7a10f13bfcf 08:25:56 ---> 2e7ed4e093fc 08:25:56 Step 7/28 : LABEL Name=edgex-device-onvif-camera 08:25:57 ---> Running in 814293aceb54 08:25:57 Removing intermediate container 814293aceb54 08:25:57 ---> 019dc5cfb6f5 08:25:57 Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 08:25:57 ---> Running in 552c8eded327 08:26:00 Removing intermediate container 552c8eded327 08:26:00 ---> 0c53fba8b415 08:26:00 Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:26:00 ---> Running in 97fcfbf1c4d1 08:26:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:26:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:26:04 OK: 221 MiB in 51 packages 08:26:05 Removing intermediate container 97fcfbf1c4d1 08:26:05 ---> 6ac900a0249c 08:26:05 Step 10/28 : WORKDIR /device-onvif-camera 08:26:05 ---> Running in 0b96291aff43 08:26:05 Removing intermediate container 0b96291aff43 08:26:05 ---> f839ea2890cd 08:26:05 Step 11/28 : COPY go.mod vendor* ./ 08:26:06 ---> 5efbcc1791c6 08:26:06 Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:26:06 ---> Running in 73a44c6d3f84 08:26:09 Removing intermediate container 73a44c6d3f84 08:26:09 ---> 5dfccd92681b 08:26:09 Step 13/28 : COPY . . 08:26:10 ---> c98e5b748800 08:26:10 Step 14/28 : RUN ${MAKE} 08:26:10 ---> Running in fb713afaf203 08:26:11 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd 08:28:48 Removing intermediate container fb713afaf203 08:28:48 ---> 2dc801e95506 08:28:48 Step 15/28 : FROM alpine:3.16 08:28:48 3.16: Pulling from library/alpine 08:28:48 9b18e9b68314: Already exists 08:28:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 08:28:48 Status: Downloaded newer image for alpine:3.16 08:28:48 ---> a6215f271958 08:28:48 Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 08:28:48 ---> Running in 7da74c7a3600 08:28:48 Removing intermediate container 7da74c7a3600 08:28:48 ---> 98d495d6f7f0 08:28:48 Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq 08:28:48 ---> Running in 36b9be25439f 08:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 08:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 08:28:48 (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) 08:28:48 (2/21) Installing ncurses-libs (6.3_p20220521-r0) 08:28:48 (3/21) Installing readline (8.1.2-r0) 08:28:48 (4/21) Installing bash (5.1.16-r2) 08:28:48 Executing bash-5.1.16-r2.post-install 08:28:48 (5/21) Installing ca-certificates (20220614-r0) 08:28:48 (6/21) Installing brotli-libs (1.0.9-r6) 08:28:48 (7/21) Installing nghttp2-libs (1.47.0-r0) 08:28:48 (8/21) Installing libcurl (7.83.1-r3) 08:28:48 (9/21) Installing curl (7.83.1-r3) 08:28:48 (10/21) Installing dumb-init (1.2.5-r1) 08:28:48 (11/21) Installing oniguruma (6.9.8-r0) 08:28:48 (12/21) Installing jq (1.6-r1) 08:28:48 (13/21) Installing popt (1.18-r0) 08:28:48 (14/21) Installing pcre (8.45-r2) 08:28:48 (15/21) Installing slang (2.3.2-r0) 08:28:48 (16/21) Installing newt (0.52.21-r2) 08:28:48 (17/21) Installing libgcc (11.2.1_git20220219-r2) 08:28:48 (18/21) Installing libsodium (1.0.18-r0) 08:28:48 (19/21) Installing libstdc++ (11.2.1_git20220219-r2) 08:28:48 (20/21) Installing libzmq (4.3.4-r0) 08:28:48 (21/21) Installing zeromq (4.3.4-r0) 08:28:48 Executing busybox-1.35.0-r17.trigger 08:28:48 Executing ca-certificates-20220614-r0.trigger 08:28:48 OK: 16 MiB in 35 packages 08:28:48 Removing intermediate container 36b9be25439f 08:28:48 ---> 7eefbfc42607 08:28:48 Step 18/28 : WORKDIR / 08:28:48 ---> Running in a5ce21a4dee6 08:28:48 Removing intermediate container a5ce21a4dee6 08:28:48 ---> f964fadd4568 08:28:48 Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / 08:28:49 ---> 7a4588e52042 08:28:49 Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / 08:28:49 ---> ae00600b8925 08:28:49 Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / 08:28:50 ---> c816b7d0247e 08:28:50 Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ 08:28:51 ---> 22720d261038 08:28:51 Step 23/28 : EXPOSE 59984 08:28:51 ---> Running in b9a174a5a7ce 08:28:51 Removing intermediate container b9a174a5a7ce 08:28:51 ---> 86b6235e9f91 08:28:51 Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] 08:28:51 ---> Running in f0052d05e3cd 08:28:51 Removing intermediate container f0052d05e3cd 08:28:51 ---> 230fd4b6c5d7 08:28:51 Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:28:51 ---> Running in 9b6b1fbdb734 08:28:52 Removing intermediate container 9b6b1fbdb734 08:28:52 ---> a8ac150ee6c9 08:28:52 Step 26/28 : LABEL arch=arm64 08:28:52 ---> Running in 8ee224847978 08:28:52 Removing intermediate container 8ee224847978 08:28:52 ---> 7c3620aa1d91 08:28:52 Step 27/28 : LABEL git_sha=285c0a1b214faa0505cef065968c8bc3a541bb44 08:28:52 ---> Running in 4e6893faf42d 08:28:53 Removing intermediate container 4e6893faf42d 08:28:53 ---> 669f08d65716 08:28:53 Step 28/28 : LABEL version=0.0.0 08:28:53 ---> Running in 94f4776210d4 08:28:53 Removing intermediate container 94f4776210d4 08:28:53 ---> eba7b1f03a34 08:28:53 [Warning] One or more build-args [ARCH] were not consumed 08:28:53 Successfully built eba7b1f03a34 08:28:53 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 08:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:53 08:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:28:54 arm64: Pulling from edgex-lftools-log-publisher 08:28:54 8998bd30e6a1: Pulling fs layer 08:28:54 04944245beec: Pulling fs layer 08:28:54 699f458cf7ca: Pulling fs layer 08:28:54 765212b225bb: Pulling fs layer 08:28:54 f23df028b6ca: Pulling fs layer 08:28:54 d65c8cfc05b1: Pulling fs layer 08:28:54 2437ff75d9bd: Pulling fs layer 08:28:54 765212b225bb: Waiting 08:28:54 f23df028b6ca: Waiting 08:28:54 d65c8cfc05b1: Waiting 08:28:54 2437ff75d9bd: Waiting 08:28:54 04944245beec: Verifying Checksum 08:28:54 04944245beec: Download complete 08:28:54 765212b225bb: Verifying Checksum 08:28:54 765212b225bb: Download complete 08:28:54 f23df028b6ca: Verifying Checksum 08:28:54 f23df028b6ca: Download complete 08:28:54 d65c8cfc05b1: Verifying Checksum 08:28:54 d65c8cfc05b1: Download complete 08:28:54 699f458cf7ca: Verifying Checksum 08:28:54 699f458cf7ca: Download complete 08:28:55 8998bd30e6a1: Verifying Checksum 08:28:55 8998bd30e6a1: Download complete 08:28:57 2437ff75d9bd: Verifying Checksum 08:28:57 2437ff75d9bd: Download complete 08:28:59 8998bd30e6a1: Pull complete 08:28:59 04944245beec: Pull complete 08:29:01 699f458cf7ca: Pull complete 08:29:01 765212b225bb: Pull complete 08:29:02 f23df028b6ca: Pull complete 08:29:02 d65c8cfc05b1: Pull complete 08:29:17 2437ff75d9bd: Pull complete 08:29:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:29:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:29:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:17 prd-ubuntu20.04-docker-arm64-4c-16g-116811 does not seem to be running inside a container 08:29:17 $ 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/23 -v /w/workspace/device-onvif-camera/23:/w/workspace/device-onvif-camera/23:rw,z -v /w/workspace/device-onvif-camera/23@tmp:/w/workspace/device-onvif-camera/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:29:20 $ docker top 37329a8a31c02df233025710364c5122e51a267a816cb37193cd48362cb00452 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:29:21 ---> job-cost.sh 08:29:21 lf-activate-venv: SKIPPING 08:29:21 INFO: No Stack... 08:29:21 INFO: Retrieving Pricing Info for: v3-standard-4 08:29:22 INFO: Archiving Costs [Pipeline] sh 08:29:23 + cat+ /w/workspace/device-onvif-camera/23/archives/cost.csv 08:29:23 cut -d, -f6 [Pipeline] lock 08:29:23 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] 08:29:23 Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] did not exist. Created. 08:29:23 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:29:23 /w/workspace/device-onvif-camera/23@tmp/durable-18fa9e37/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:29:24 + echo total: 0.10999999940395355 [Pipeline] stash 08:29:24 Warning: overwriting stash ‘stack-cost’ 08:29:24 Stashed 1 file(s) [Pipeline] } 08:29:24 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-23-stack-cost] [Pipeline] // lock [Pipeline] } 08:29:24 $ docker stop --time=1 37329a8a31c02df233025710364c5122e51a267a816cb37193cd48362cb00452 08:29:25 $ docker rm -f 37329a8a31c02df233025710364c5122e51a267a816cb37193cd48362cb00452 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:29:26 provisioning config files... 08:29:26 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14864898195320688324tmp [Pipeline] { [Pipeline] sh 08:29:26 + set +x 08:29:26 + curl -s https://codecov.io/bash 08:29:26 + bash -s -- 08:29:26 08:29:26 _____ _ 08:29:26 / ____| | | 08:29:26 | | ___ __| | ___ ___ _____ __ 08:29:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:29:26 | |___| (_) | (_| | __/ (_| (_) \ V / 08:29:26 \_____\___/ \__,_|\___|\___\___/ \_/ 08:29:26 Bash-1.0.6 08:29:26 08:29:26 08:29:26 ==> git version 2.25.1 found 08:29:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 08:29:26 Release-Date: 2020-01-08 08:29:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:29:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:29:26 ==> Jenkins CI detected. 08:29:26 current dir:  /w/workspace/undry_device-onvif-camera_PR-125 08:29:26 project root: . 08:29:26 --> token set from env 08:29:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:29:26 ==> Running gcov in . (disable via -X gcov) 08:29:26 ==> Python coveragepy not found 08:29:26 ==> Searching for coverage reports in: 08:29:26 + . 08:29:26 -> Found 1 reports 08:29:26 ==> Detecting git/mercurial file structure 08:29:26 ==> Reading reports 08:29:26 + ./coverage.out bytes=78636 08:29:26 ==> Appending adjustments 08:29:26 https://docs.codecov.io/docs/fixing-reports 08:29:26 + Found adjustments 08:29:26 ==> Gzipping contents 08:29:26 12K /tmp/codecov.nrg6oe.gz 08:29:26 ==> Uploading reports 08:29:26 url: https://codecov.io 08:29:26 query: branch=PR-125&commit=16a307b4389f73cf297cb22a470f97f3f2520da7&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 08:29:26 -> Pinging Codecov 08:29:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=16a307b4389f73cf297cb22a470f97f3f2520da7&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= 08:29:27 -> Uploading to 08:29:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/F29A59C45E3A92E06B3E522C9905F8EF/16a307b4389f73cf297cb22a470f97f3f2520da7/7c82fc7e-2da3-4e40-a6b5-a9874a734230.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T082926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=58a9f5d96cfdf1e5c910add7324c9ea24b716d2a7c6c9f5263615f3684b938a6 08:29:27 % Total % Received % Xferd Average Speed Time Time Time Current 08:29:27 Dload Upload Total Spent Left Speed 08:29:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10769 0 0 100 10769 0 50558 --:--:-- --:--:-- --:--:-- 50558 08:29:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/16a307b4389f73cf297cb22a470f97f3f2520da7 [Pipeline] } 08:29:27 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 08:29:27 + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] 08:29:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 08:29:27 total 16 08:29:27 drwxr-xr-x 3 root root 4096 Oct 25 04:32 . 08:29:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:32 .. 08:29:27 drwxr-xr-x 2 root root 4096 Oct 25 04:32 cost 08:29:27 -rw-r--r-- 1 root root 92 Oct 25 04:32 cost.csv 08:29:27 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives 08:29:27 + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives 08:29:27 total 16 08:29:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 04:32 . 08:29:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 04:32 .. 08:29:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 04:32 cost 08:29:27 -rw-r--r-- 1 jenkins jenkins 92 Oct 25 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:29:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:29:29 ---> package-listing.sh 08:29:29 ++ facter osfamily 08:29:29 ++ tr '[:upper:]' '[:lower:]' 08:29:29 + OS_FAMILY=debian 08:29:29 + workspace=/w/workspace/undry_device-onvif-camera_PR-125 08:29:29 + START_PACKAGES=/tmp/packages_start.txt 08:29:29 + END_PACKAGES=/tmp/packages_end.txt 08:29:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:29:29 + PACKAGES=/tmp/packages_start.txt 08:29:29 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 08:29:29 + PACKAGES=/tmp/packages_end.txt 08:29:29 + case "${OS_FAMILY}" in 08:29:29 + dpkg -l 08:29:29 + grep '^ii' 08:29:29 + '[' -f /tmp/packages_start.txt ']' 08:29:29 + '[' -f /tmp/packages_end.txt ']' 08:29:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:29:29 + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' 08:29:29 + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ 08:29:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo 08:29:29 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:29:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:29:30 prd-ubuntu20.04-docker-8c-8g-81740 does not seem to be running inside a container 08:29:30 $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:29:30 $ docker top 899efbffae2d196f0979a380420d447a6d03e8cc0c101513aa61de51a07f99de -eo pid,comm [Pipeline] { [Pipeline] sh 08:29:30 + touch /tmp/pre-build-complete [Pipeline] sh 08:29:31 + mkdir -p /var/log/sysstat [Pipeline] sh 08:29:31 + ls /var/log/sa-host 08:29:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:29:31 provisioning config files... 08:29:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10995855549895673693tmp [Pipeline] { [Pipeline] echo 08:29:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:29:31 ---> create-netrc.sh [Pipeline] } 08:29:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:29:32 ---> python-tools-install.sh [Pipeline] echo 08:29:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:29:32 ---> sudo-logs.sh 08:29:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:29:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:29:32 ---> job-cost.sh 08:29:32 lf-activate-venv: SKIPPING 08:29:32 DEBUG: total: 0.2199999988079071 08:29:32 INFO: Retrieving Stack Cost... 08:29:33 INFO: Retrieving Pricing Info for: v3-standard-8 08:29:33 INFO: Archiving Costs [Pipeline] echo 08:29:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:29:33 ---> logs-deploy.sh 08:29:33 lf-activate-venv: SKIPPING 08:29:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/23 08:29:33 INFO: archiving workspace using pattern(s): 08:29:34 Archives upload complete. 08:29:34 INFO: archiving logs to Nexus