Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aa9461ff516dbbb31bf7876f6a13f06d431dd475 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-ssh3887091599266761585.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3493273288960337756.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/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-usb-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13047248155032803138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2920804673006253268.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/main/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-usb-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9690090678842462182.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-936’ Running on prd-ubuntu20.04-docker-8c-8g-939 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/exfoundry_device-usb-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision aa9461ff516dbbb31bf7876f6a13f06d431dd475 (main) Commit message: "Merge pull request #121 from EdgeX-Camera-Management/changelog_rediscovery" > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa9461ff516dbbb31bf7876f6a13f06d431dd475 # timeout=10 > git rev-list --no-walk 9bcd451afeb433ee83d3426a4ef1736b40f29807 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:43:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:43:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:43:46 ========================================================= 18:43:46 EdgeX Global Pipelines Version Info 18:43:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:43:47 ------------------- 18:43:47 stable info: 18:43:47 ------------------- 18:43:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:43:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:43:47 Message: update stable to v1.0.244 18:43:48 ------------------- 18:43:48 experimental info: 18:43:48 ------------------- 18:43:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:43:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:43:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa9461f [Pipeline] echo 18:43:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:43:48 provisioning config files... 18:43:48 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15026064373063359629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:43:49 ---> docker-login.sh 18:43:49 nexus3.edgexfoundry.org:10001 18:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 nexus3.edgexfoundry.org:10002 18:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 nexus3.edgexfoundry.org:10003 18:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 nexus3.edgexfoundry.org:10004 18:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 docker.io 18:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:43:49 Configure a credential helper to remove this warning. See 18:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:43:49 18:43:49 Login Succeeded 18:43:49 ---> docker-login.sh ends [Pipeline] } 18:43:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:43:50 + git rev-list -1 --merges aa9461ff516dbbb31bf7876f6a13f06d431dd475~1..aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] echo 18:43:50 -----------> git rev-list -1 --merges aa9461ff516dbbb31bf7876f6a13f06d431dd475~1..aa9461ff516dbbb31bf7876f6a13f06d431dd475 aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:43:50 aa9461ff516dbbb31bf7876f6a13f06d431dd475 [false] [Pipeline] sh 18:43:50 + git log --format=format:%s -1 aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] echo 18:43:50 ========================================================= 18:43:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:43:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:43:50 + git log --format=format:%s -1 aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] echo 18:43:50 [semverPrep] GIT_COMMIT: aa9461ff516dbbb31bf7876f6a13f06d431dd475, Commit Message: Merge pull request #121 from EdgeX-Camera-Management/changelog_rediscovery [Pipeline] echo 18:43:50 [semverPrep] This is not a build commit. [Pipeline] sh 18:43:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:43:51 + grep -v github /etc/ssh/ssh_known_hosts 18:43:51 + [ -e /tmp/ssh_known_hosts ] 18:43:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:43:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:43:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:43:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:51 18:43:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:51 0.1.4: Pulling from edgex-devops/py-git-semver 18:43:51 b85a868b505f: Pulling fs layer 18:43:51 e2be974225ed: Pulling fs layer 18:43:51 339a4e72a1f5: Pulling fs layer 18:43:51 988bab9f4d93: Pulling fs layer 18:43:51 1469e6f7b9e6: Pulling fs layer 18:43:51 988bab9f4d93: Waiting 18:43:51 1469e6f7b9e6: Waiting 18:43:51 eaf3925da568: Pulling fs layer 18:43:51 bab4dde63d76: Pulling fs layer 18:43:51 bde34c3a00c8: Pulling fs layer 18:43:51 b352a97aabf1: Pulling fs layer 18:43:51 4872d77fe225: Pulling fs layer 18:43:51 5851b861e8e6: Pulling fs layer 18:43:51 eaf3925da568: Waiting 18:43:51 b352a97aabf1: Waiting 18:43:51 bab4dde63d76: Waiting 18:43:51 4872d77fe225: Waiting 18:43:51 5851b861e8e6: Waiting 18:43:51 e2be974225ed: Verifying Checksum 18:43:51 e2be974225ed: Download complete 18:43:51 988bab9f4d93: Verifying Checksum 18:43:52 1469e6f7b9e6: Verifying Checksum 18:43:52 1469e6f7b9e6: Download complete 18:43:52 eaf3925da568: Verifying Checksum 18:43:52 eaf3925da568: Download complete 18:43:52 339a4e72a1f5: Verifying Checksum 18:43:52 339a4e72a1f5: Download complete 18:43:52 bde34c3a00c8: Verifying Checksum 18:43:52 bde34c3a00c8: Download complete 18:43:52 b352a97aabf1: Verifying Checksum 18:43:52 b352a97aabf1: Download complete 18:43:52 4872d77fe225: Verifying Checksum 18:43:52 4872d77fe225: Download complete 18:43:52 5851b861e8e6: Download complete 18:43:52 b85a868b505f: Verifying Checksum 18:43:52 b85a868b505f: Download complete 18:43:52 bab4dde63d76: Verifying Checksum 18:43:52 bab4dde63d76: Download complete 18:43:53 b85a868b505f: Pull complete 18:43:53 e2be974225ed: Pull complete 18:43:54 339a4e72a1f5: Pull complete 18:43:54 988bab9f4d93: Pull complete 18:43:54 1469e6f7b9e6: Pull complete 18:43:54 eaf3925da568: Pull complete 18:43:56 bab4dde63d76: Pull complete 18:43:56 bde34c3a00c8: Pull complete 18:43:56 b352a97aabf1: Pull complete 18:43:56 4872d77fe225: Pull complete 18:43:56 5851b861e8e6: Pull complete 18:43:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:43:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:43:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:56 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:43:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:43:59 $ docker top b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b -eo pid,comm 18:43:59 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). 18:43:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:43:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:43:59 [ssh-agent] Looking for ssh-agent implementation... 18:43:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:43:59 $ docker exec b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b ssh-agent 18:43:59 SSH_AUTH_SOCK=/tmp/ssh-ALvsTSiSb2pW/agent.31 18:43:59 SSH_AGENT_PID=37 18:43:59 Running ssh-add (command line suppressed) 18:43:59 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11516672369201269726.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11516672369201269726.key) 18:43:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:00 + git tag --points-at HEAD [Pipeline] } 18:44:00 $ docker exec --env ******** --env ******** b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b ssh-agent -k 18:44:00 unset SSH_AUTH_SOCK; 18:44:00 unset SSH_AGENT_PID; 18:44:00 echo Agent pid 37 killed; 18:44:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:44:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:44:00 [ssh-agent] Looking for ssh-agent implementation... 18:44:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:44:00 $ docker exec b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b ssh-agent 18:44:00 SSH_AUTH_SOCK=/tmp/ssh-FdXEJLPVhfxI/agent.69 18:44:00 SSH_AGENT_PID=76 18:44:00 Running ssh-add (command line suppressed) 18:44:00 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12714299973556294355.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12714299973556294355.key) 18:44:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:44:00 + git semver init 18:44:01 2023-01-03 18:44:01,158 [run_init] DEBUG init version:0.0.0 force:False 18:44:01 2023-01-03 18:44:01,159 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 18:44:01 2023-01-03 18:44:01,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 18:44:01 2023-01-03 18:44:01,160 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:44:02 2023-01-03 18:44:01,944 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 18:44:02 2023-01-03 18:44:01,945 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 18:44:02 2023-01-03 18:44:01,945 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:44:02 2023-01-03 18:44:01,945 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:44:02 3.0.0-dev.5 [Pipeline] } 18:44:02 $ docker exec --env ******** --env ******** b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b ssh-agent -k 18:44:02 unset SSH_AUTH_SOCK; 18:44:02 unset SSH_AGENT_PID; 18:44:02 echo Agent pid 76 killed; 18:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:44:02 + git semver [Pipeline] } 18:44:02 $ docker stop --time=1 b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b 18:44:04 $ docker rm -f --volumes b0fe553e6886efca09beb71e5d6e94a355a9c48b6256e22a5152121bc53b7d3b [Pipeline] // withDockerContainer [Pipeline] sh 18:44:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:44:04 Stashed 1 file(s) [Pipeline] echo 18:44:04 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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 18:44:04 provisioning config files... 18:44:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15080047663383026407tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:05 ---> docker-login.sh 18:44:05 nexus3.edgexfoundry.org:10001 18:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:05 Configure a credential helper to remove this warning. See 18:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:05 18:44:05 Login Succeeded 18:44:05 nexus3.edgexfoundry.org:10002 18:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:05 Configure a credential helper to remove this warning. See 18:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:05 18:44:05 Login Succeeded 18:44:05 nexus3.edgexfoundry.org:10003 18:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:05 Configure a credential helper to remove this warning. See 18:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:05 18:44:05 Login Succeeded 18:44:05 nexus3.edgexfoundry.org:10004 18:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:05 Configure a credential helper to remove this warning. See 18:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:05 18:44:05 Login Succeeded 18:44:05 docker.io 18:44:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:44:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:44:05 Configure a credential helper to remove this warning. See 18:44:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:44:05 18:44:05 Login Succeeded 18:44:05 ---> docker-login.sh ends [Pipeline] } 18:44:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:44:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:44:06 ========================================================= 18:44:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:44:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:06 + 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 . 18:44:06 Sending build context to Docker daemon 1.623MB 18:44:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:44:06 Step 2/13 : FROM ${BASE} AS builder 18:44:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:44:06 213ec9aee27d: Pulling fs layer 18:44:06 4583459ba037: Pulling fs layer 18:44:06 93c1e223e6f2: Pulling fs layer 18:44:06 53926ce57604: Pulling fs layer 18:44:06 21b2b0c7a3f4: Pulling fs layer 18:44:06 22ff95d597cd: Pulling fs layer 18:44:06 12d6caf4c0d1: Pulling fs layer 18:44:06 96b7cbca73a9: Pulling fs layer 18:44:06 a7acece74701: Pulling fs layer 18:44:06 53926ce57604: Waiting 18:44:06 22ff95d597cd: Waiting 18:44:06 12d6caf4c0d1: Waiting 18:44:06 21b2b0c7a3f4: Waiting 18:44:06 96b7cbca73a9: Waiting 18:44:06 a7acece74701: Waiting 18:44:06 93c1e223e6f2: Verifying Checksum 18:44:06 93c1e223e6f2: Download complete 18:44:06 4583459ba037: Verifying Checksum 18:44:06 4583459ba037: Download complete 18:44:06 21b2b0c7a3f4: Verifying Checksum 18:44:06 21b2b0c7a3f4: Download complete 18:44:06 22ff95d597cd: Verifying Checksum 18:44:06 22ff95d597cd: Download complete 18:44:06 213ec9aee27d: Verifying Checksum 18:44:06 213ec9aee27d: Download complete 18:44:06 12d6caf4c0d1: Verifying Checksum 18:44:06 12d6caf4c0d1: Download complete 18:44:06 213ec9aee27d: Pull complete 18:44:06 4583459ba037: Pull complete 18:44:06 93c1e223e6f2: Pull complete 18:44:06 a7acece74701: Verifying Checksum 18:44:06 a7acece74701: Download complete 18:44:07 96b7cbca73a9: Download complete 18:44:07 53926ce57604: Verifying Checksum 18:44:07 53926ce57604: Download complete 18:44:11 53926ce57604: Pull complete 18:44:11 21b2b0c7a3f4: Pull complete 18:44:11 22ff95d597cd: Pull complete 18:44:11 12d6caf4c0d1: Pull complete 18:44:14 96b7cbca73a9: Pull complete 18:44:14 a7acece74701: Pull complete 18:44:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:44:14 ---> db6d94c90886 18:44:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:44:18 ---> Running in 4bf17bd5fcf6 18:44:18 Removing intermediate container 4bf17bd5fcf6 18:44:18 ---> 8e7fa81f477c 18:44:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:44:18 ---> Running in 24f8061e0b25 18:44:18 Removing intermediate container 24f8061e0b25 18:44:18 ---> 67f21bc49488 18:44:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:44:18 ---> Running in 99bd5c232417 18:44:18 Removing intermediate container 99bd5c232417 18:44:18 ---> 75c04854fc71 18:44:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:44:18 ---> Running in 81e8fe49c55e 18:44:18 Removing intermediate container 81e8fe49c55e 18:44:18 ---> 6d532cb43e5e 18:44:18 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:44:18 ---> Running in 4be455a493cf 18:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:44:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:44:19 (1/80) Installing mesa (21.3.8-r2) 18:44:19 (2/80) Installing libxau (1.0.9-r0) 18:44:19 (3/80) Installing libxdmcp (1.1.3-r0) 18:44:19 (4/80) Installing libxcb (1.15-r0) 18:44:19 (5/80) Installing libx11 (1.8-r0) 18:44:19 (6/80) Installing libxext (1.3.4-r0) 18:44:19 (7/80) Installing libxfixes (6.0.0-r0) 18:44:19 (8/80) Installing libxxf86vm (1.1.4-r2) 18:44:19 (9/80) Installing libpciaccess (0.16-r0) 18:44:19 (10/80) Installing libdrm (2.4.110-r0) 18:44:19 (11/80) Installing mesa-glapi (21.3.8-r2) 18:44:19 (12/80) Installing libxshmfence (1.3-r1) 18:44:19 (13/80) Installing mesa-gl (21.3.8-r2) 18:44:19 (14/80) Installing icu-data-full (71.1-r2) 18:44:19 (15/80) Installing libice (1.0.10-r0) 18:44:19 (16/80) Installing libuuid (2.38-r1) 18:44:19 (17/80) Installing libsm (1.2.3-r0) 18:44:19 (18/80) Installing libxt (1.2.1-r0) 18:44:19 (19/80) Installing libxmu (1.1.3-r0) 18:44:19 (20/80) Installing xset (1.2.4-r0) 18:44:19 (21/80) Installing xprop (1.2.5-r0) 18:44:19 (22/80) Installing xdg-utils (1.1.3-r3) 18:44:19 (23/80) Installing dbus-libs (1.14.4-r0) 18:44:19 (24/80) Installing libffi (3.4.2-r1) 18:44:19 (25/80) Installing libintl (0.21-r2) 18:44:19 (26/80) Installing libblkid (2.38-r1) 18:44:19 (27/80) Installing libmount (2.38-r1) 18:44:19 (28/80) Installing pcre (8.45-r2) 18:44:19 (29/80) Installing glib (2.72.1-r0) 18:44:19 (30/80) Installing icu-libs (71.1-r2) 18:44:19 (31/80) Installing libpcre2-16 (10.40-r0) 18:44:19 (32/80) Installing zstd-libs (1.5.2-r1) 18:44:19 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 18:44:19 (34/80) Installing hicolor-icon-theme (0.17-r1) 18:44:19 (35/80) Installing wayland-libs-server (1.20.0-r0) 18:44:19 (36/80) Installing mesa-gbm (21.3.8-r2) 18:44:19 (37/80) Installing wayland-libs-client (1.20.0-r0) 18:44:19 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 18:44:19 (39/80) Installing libxcomposite (0.4.5-r0) 18:44:19 (40/80) Installing libbz2 (1.0.8-r1) 18:44:19 (41/80) Installing libpng (1.6.37-r1) 18:44:19 (42/80) Installing freetype (2.12.1-r0) 18:44:19 (43/80) Installing fontconfig (2.14.0-r0) 18:44:19 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 18:44:19 (45/80) Installing wayland-libs-egl (1.20.0-r0) 18:44:19 (46/80) Installing xkeyboard-config (2.35.1-r0) 18:44:19 (47/80) Installing xz-libs (5.2.5-r1) 18:44:19 Still waiting to schedule task 18:44:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-937’ 18:44:19 (48/80) Installing libxml2 (2.9.14-r2) 18:44:19 (49/80) Installing libxkbcommon (1.4.1-r0) 18:44:19 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 18:44:19 (51/80) Installing mesa-egl (21.3.8-r2) 18:44:19 (52/80) Installing avahi-libs (0.8-r6) 18:44:19 (53/80) Installing nettle (3.7.3-r0) 18:44:19 (54/80) Installing p11-kit (0.24.1-r0) 18:44:19 (55/80) Installing libtasn1 (4.18.0-r1) 18:44:19 (56/80) Installing libunistring (1.0-r0) 18:44:19 (57/80) Installing gnutls (3.7.7-r0) 18:44:19 (58/80) Installing cups-libs (2.4.2-r0) 18:44:19 (59/80) Installing graphite2 (1.3.14-r1) 18:44:19 (60/80) Installing harfbuzz (4.3.0-r0) 18:44:19 (61/80) Installing libevdev (1.12.1-r0) 18:44:19 (62/80) Installing mtdev (1.1.6-r0) 18:44:19 (63/80) Installing eudev-libs (3.2.11-r0) 18:44:19 (64/80) Installing libinput-libs (1.20.1-r0) 18:44:19 (65/80) Installing libjpeg-turbo (2.1.3-r1) 18:44:19 (66/80) Installing xcb-util-wm (0.4.1-r1) 18:44:19 (67/80) Installing xcb-util (0.4.0-r3) 18:44:19 (68/80) Installing xcb-util-image (0.4.0-r1) 18:44:19 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 18:44:19 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 18:44:19 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 18:44:19 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 18:44:20 (73/80) Installing v4l-utils-libs (1.22.1-r1) 18:44:20 (74/80) Installing v4l-utils (1.22.1-r1) 18:44:20 (75/80) Installing udev-init-scripts (35-r0) 18:44:20 Executing udev-init-scripts-35-r0.post-install 18:44:20 (76/80) Installing kmod-libs (29-r2) 18:44:20 (77/80) Installing eudev (3.2.11-r0) 18:44:20 (78/80) Installing eudev-dev (3.2.11-r0) 18:44:20 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:44:20 (80/80) Installing v4l-utils-dev (1.22.1-r1) 18:44:20 Executing busybox-1.35.0-r17.trigger 18:44:20 Executing eudev-3.2.11-r0.trigger 18:44:20 OK: 330 MiB in 131 packages 18:44:22 Removing intermediate container 4be455a493cf 18:44:22 ---> 64a230ae48db 18:44:22 Step 8/13 : WORKDIR /device-usb-camera 18:44:22 ---> Running in d0770acc21b6 18:44:22 Removing intermediate container d0770acc21b6 18:44:22 ---> 42c31ed8c87d 18:44:22 Step 9/13 : COPY go.mod vendor* ./ 18:44:22 ---> 337b457e92eb 18:44:22 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:44:22 ---> Running in 3bd6da6e9161 18:44:49 Removing intermediate container 3bd6da6e9161 18:44:49 ---> 02929c988e6a 18:44:49 Step 11/13 : COPY . . 18:44:49 ---> d8c82f635967 18:44:49 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:44:49 ---> Running in 09461817fbf7 18:44:49  % Total % Received % Xferd Average Speed Time Time Time Current 18:44:49 Dload Upload Total Spent Left Speed 18:44:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 9907 0 --:--:-- --:--:-- --:--:-- 9925 18:44:49 Removing intermediate container 09461817fbf7 18:44:49 ---> d1a11e6890b1 18:44:49 Step 13/13 : RUN ${MAKE} 18:44:49 ---> Running in f396b55bd90b 18:44:49 noop 18:44:49 Removing intermediate container f396b55bd90b 18:44:49 ---> 7709f13f69c6 18:44:49 Successfully built 7709f13f69c6 18:44:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:49 + docker inspect -f . ci-base-image-x86_64 18:44:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:49 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 18:44:50 $ docker top 5699188330bc5acbebf05b5ad21934b99515c92c3a24a737d345397dad973350 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:50 + go version 18:44:50 go version go1.18.7 linux/amd64 [Pipeline] } 18:44:50 $ docker stop --time=1 5699188330bc5acbebf05b5ad21934b99515c92c3a24a737d345397dad973350 18:44:51 $ docker rm -f --volumes 5699188330bc5acbebf05b5ad21934b99515c92c3a24a737d345397dad973350 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:52 + docker inspect -f . ci-base-image-x86_64 18:44:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:52 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:44:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** ci-base-image-x86_64 cat 18:44:52 $ docker top a59ab06fb0b98edb62c286990299772a535e7aa80c8647adc3a555fe259df10b -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:53 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 18:44:53 + make test 18:44:53 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:44:54 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:45:04 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:45:04 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 18:45:12 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." 18:45:12 CGO_ENABLED=1 go vet ./... 18:45:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:45:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:45:16 ./bin/test-attribution-txt.sh [Pipeline] echo 18:45:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:45:16 $ docker stop --time=1 a59ab06fb0b98edb62c286990299772a535e7aa80c8647adc3a555fe259df10b 18:45:18 $ docker rm -f --volumes a59ab06fb0b98edb62c286990299772a535e7aa80c8647adc3a555fe259df10b [Pipeline] // withDockerContainer [Pipeline] sh 18:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:45:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:45:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:45:19 + ls -al . 18:45:19 total 204 18:45:19 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:44 . 18:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:43 .. 18:45:19 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:45 .git 18:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:43 .github 18:45:19 -rw-rw-r-- 1 jenkins jenkins 414 Jan 3 18:43 .gitignore 18:45:19 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:43 .golangci.yml 18:45:19 -rw-rw-r-- 1 jenkins jenkins 77 Jan 3 18:43 .hadolint.yml 18:45:19 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:44 .semver 18:45:19 -rw-rw-r-- 1 jenkins jenkins 9702 Jan 3 18:43 Attribution.txt 18:45:19 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 3 18:43 CHANGELOG.md 18:45:19 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 3 18:43 Dockerfile 18:45:19 -rw-rw-r-- 1 jenkins jenkins 678 Jan 3 18:43 GOVERNANCE.md 18:45:19 -rw-rw-r-- 1 jenkins jenkins 659 Jan 3 18:43 Jenkinsfile 18:45:19 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:43 LICENSE 18:45:19 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 3 18:43 Makefile 18:45:19 -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:43 OWNERS.md 18:45:19 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 3 18:43 README.md 18:45:19 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:44 VERSION 18:45:19 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:43 bin 18:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:43 cmd 18:45:19 -rw-r--r-- 1 jenkins jenkins 30666 Jan 3 18:45 coverage.out 18:45:19 -rwxrwxr-x 1 jenkins jenkins 140 Jan 3 18:43 docker-entrypoint.sh 18:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:43 docs 18:45:19 -rw-rw-r-- 1 jenkins jenkins 3573 Jan 3 18:43 go.mod 18:45:19 -rw-rw-r-- 1 jenkins jenkins 45026 Jan 3 18:43 go.sum 18:45:19 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:43 internal 18:45:19 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:43 snap 18:45:19 -rw-rw-r-- 1 jenkins jenkins 231 Jan 3 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:20 + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=aa9461ff516dbbb31bf7876f6a13f06d431dd475 --label arch=amd64 --label version=3.0.0-dev.5 . 18:45:20 Sending build context to Docker daemon 1.654MB 18:45:20 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 18:45:20 Step 2/35 : FROM ${BASE} AS builder 18:45:20 ---> 7709f13f69c6 18:45:20 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:45:20 ---> Running in bde9315d0fe8 18:45:20 Removing intermediate container bde9315d0fe8 18:45:20 ---> f722c792acb8 18:45:20 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:20 ---> Running in ca4d6ec0c082 18:45:20 Removing intermediate container ca4d6ec0c082 18:45:20 ---> a784fe403d4c 18:45:20 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:45:20 ---> Running in 30e342c2686f 18:45:20 Removing intermediate container 30e342c2686f 18:45:20 ---> 88968a9063c2 18:45:20 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:45:20 ---> Running in 911adf99864e 18:45:20 Removing intermediate container 911adf99864e 18:45:20 ---> 86b79be5cab1 18:45:20 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:20 ---> Running in 1163792f5141 18:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:45:21 OK: 330 MiB in 131 packages 18:45:21 Removing intermediate container 1163792f5141 18:45:21 ---> 8b2fb45bdaf0 18:45:21 Step 8/35 : WORKDIR /device-usb-camera 18:45:21 ---> Running in 441bb819d6c1 18:45:21 Removing intermediate container 441bb819d6c1 18:45:21 ---> eb23ae123d73 18:45:21 Step 9/35 : COPY go.mod vendor* ./ 18:45:21 ---> 44e9bd11b127 18:45:21 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:21 ---> Running in 0514bc9b6c3f 18:45:22 Removing intermediate container 0514bc9b6c3f 18:45:22 ---> a6845be509c8 18:45:22 Step 11/35 : COPY . . 18:45:22 ---> 208f85ebab1c 18:45:22 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:45:22 ---> Running in bb9239cb7974 18:45:23  % Total % Received % Xferd Average Speed Time Time Time Current 18:45:23 Dload Upload Total Spent Left Speed 18:45:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 41048 0 --:--:-- --:--:-- --:--:-- 42480 18:45:23 Removing intermediate container bb9239cb7974 18:45:23 ---> c21c571b3bbe 18:45:23 Step 13/35 : RUN ${MAKE} 18:45:23 ---> Running in dc24be377130 18:45:23 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:45:45 Removing intermediate container dc24be377130 18:45:45 ---> f9ed266508f4 18:45:45 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:45:45 v0.18.4: Pulling from aler9/rtsp-simple-server 18:45:46 af6660deedbd: Pulling fs layer 18:45:46 97cd0a44c592: Pulling fs layer 18:45:46 97cd0a44c592: Verifying Checksum 18:45:46 97cd0a44c592: Download complete 18:45:46 af6660deedbd: Verifying Checksum 18:45:46 af6660deedbd: Download complete 18:45:47 af6660deedbd: Pull complete 18:45:47 97cd0a44c592: Pull complete 18:45:47 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:45:47 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:45:47 ---> fea57e182299 18:45:47 Step 15/35 : FROM alpine:3.16 18:45:47 3.16: Pulling from library/alpine 18:45:47 ca7dd9ec2225: Pulling fs layer 18:45:47 ca7dd9ec2225: Verifying Checksum 18:45:47 ca7dd9ec2225: Download complete 18:45:48 ca7dd9ec2225: Pull complete 18:45:48 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:45:48 Status: Downloaded newer image for alpine:3.16 18:45:48 ---> bfe296a52501 18:45:48 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:45:48 ---> Running in a2144f14c92f 18:45:48 Removing intermediate container a2144f14c92f 18:45:48 ---> c73ea4c3adde 18:45:48 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:45:48 ---> Running in 345f2b4f4692 18:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:45:49 (1/83) Installing dumb-init (1.2.5-r1) 18:45:49 (2/83) Installing sdl2 (2.0.22-r0) 18:45:49 (3/83) Installing libxau (1.0.9-r0) 18:45:49 (4/83) Installing libxdmcp (1.1.3-r0) 18:45:49 (5/83) Installing libxcb (1.15-r0) 18:45:49 (6/83) Installing libx11 (1.8-r0) 18:45:49 (7/83) Installing aom-libs (3.3.0-r0) 18:45:49 (8/83) Installing alsa-lib (1.2.7.2-r0) 18:45:49 (9/83) Installing expat (2.5.0-r0) 18:45:49 (10/83) Installing brotli-libs (1.0.9-r6) 18:45:49 (11/83) Installing libbz2 (1.0.8-r1) 18:45:49 (12/83) Installing libpng (1.6.37-r1) 18:45:49 (13/83) Installing freetype (2.12.1-r0) 18:45:49 (14/83) Installing fontconfig (2.14.0-r0) 18:45:49 (15/83) Installing fribidi (1.0.12-r0) 18:45:49 (16/83) Installing libffi (3.4.2-r1) 18:45:49 (17/83) Installing libintl (0.21-r2) 18:45:49 (18/83) Installing libblkid (2.38-r1) 18:45:49 (19/83) Installing libmount (2.38-r1) 18:45:49 (20/83) Installing pcre (8.45-r2) 18:45:49 (21/83) Installing glib (2.72.1-r0) 18:45:49 (22/83) Installing graphite2 (1.3.14-r1) 18:45:49 (23/83) Installing harfbuzz (4.3.0-r0) 18:45:49 (24/83) Installing libass (0.16.0-r0) 18:45:49 (25/83) Installing libdav1d (1.0.0-r0) 18:45:49 (26/83) Installing libpciaccess (0.16-r0) 18:45:49 (27/83) Installing libdrm (2.4.110-r0) 18:45:49 (28/83) Installing gmp (6.2.1-r2) 18:45:49 (29/83) Installing nettle (3.7.3-r0) 18:45:49 (30/83) Installing p11-kit (0.24.1-r0) 18:45:49 (31/83) Installing libtasn1 (4.18.0-r1) 18:45:49 (32/83) Installing libunistring (1.0-r0) 18:45:49 (33/83) Installing gnutls (3.7.7-r0) 18:45:49 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:45:49 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 18:45:49 (36/83) Installing lame (3.100-r0) 18:45:49 (37/83) Installing opus (1.3.1-r1) 18:45:49 (38/83) Installing libasyncns (0.8-r1) 18:45:49 (39/83) Installing dbus-libs (1.14.4-r0) 18:45:49 (40/83) Installing libltdl (2.4.7-r0) 18:45:49 (41/83) Installing orc (0.4.32-r0) 18:45:49 (42/83) Installing libgcc (11.2.1_git20220219-r2) 18:45:49 (43/83) Installing libogg (1.3.5-r1) 18:45:49 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 18:45:49 (45/83) Installing flac (1.3.4-r0) 18:45:49 (46/83) Installing libvorbis (1.3.7-r0) 18:45:49 (47/83) Installing libsndfile (1.1.0-r0) 18:45:49 (48/83) Installing libgomp (11.2.1_git20220219-r2) 18:45:49 (49/83) Installing soxr (0.1.3-r2) 18:45:49 (50/83) Installing speexdsp (1.2.0-r0) 18:45:49 (51/83) Installing tdb-libs (1.4.6-r0) 18:45:49 (52/83) Installing libpulse (15.0-r2) 18:45:49 (53/83) Installing cjson (1.7.15-r3) 18:45:49 (54/83) Installing mbedtls (2.28.2-r0) 18:45:49 (55/83) Installing librist (0.2.6-r1) 18:45:49 (56/83) Installing libsrt (1.4.4-r0) 18:45:49 (57/83) Installing libssh (0.9.6-r1) 18:45:49 (58/83) Installing libtheora (1.1.1-r16) 18:45:49 (59/83) Installing libjpeg-turbo (2.1.3-r1) 18:45:49 (60/83) Installing v4l-utils-libs (1.22.1-r1) 18:45:49 (61/83) Installing libxext (1.3.4-r0) 18:45:49 (62/83) Installing libxfixes (6.0.0-r0) 18:45:49 (63/83) Installing wayland-libs-client (1.20.0-r0) 18:45:49 (64/83) Installing libva (2.14.0-r0) 18:45:49 (65/83) Installing libvdpau (1.5-r0) 18:45:49 (66/83) Installing vidstab (1.1.0-r1) 18:45:49 (67/83) Installing libvpx (1.11.0-r1) 18:45:49 (68/83) Installing libwebp (1.2.3-r0) 18:45:49 (69/83) Installing x264-libs (0.163_git20210613-r0) 18:45:49 (70/83) Installing numactl (2.0.14-r0) 18:45:49 (71/83) Installing x265-libs (3.5-r3) 18:45:49 (72/83) Installing xvidcore (1.3.7-r1) 18:45:49 (73/83) Installing ffmpeg-libs (5.0.1-r1) 18:45:50 (74/83) Installing ffmpeg (5.0.1-r1) 18:45:50 (75/83) Installing udev-init-scripts (35-r0) 18:45:50 Executing udev-init-scripts-35-r0.post-install 18:45:50 (76/83) Installing eudev-libs (3.2.11-r0) 18:45:50 (77/83) Installing xz-libs (5.2.5-r1) 18:45:50 (78/83) Installing zstd-libs (1.5.2-r1) 18:45:50 (79/83) Installing kmod-libs (29-r2) 18:45:50 (80/83) Installing eudev (3.2.11-r0) 18:45:50 (81/83) Installing libsodium (1.0.18-r0) 18:45:50 (82/83) Installing libzmq (4.3.4-r0) 18:45:50 (83/83) Installing zeromq (4.3.4-r0) 18:45:50 Executing busybox-1.35.0-r17.trigger 18:45:50 Executing eudev-3.2.11-r0.trigger 18:45:50 OK: 101 MiB in 97 packages 18:45:52 Removing intermediate container 345f2b4f4692 18:45:52 ---> db4ae4cf6001 18:45:52 Step 18/35 : WORKDIR / 18:45:52 ---> Running in b7c6fb804e9f 18:45:52 Removing intermediate container b7c6fb804e9f 18:45:52 ---> eee1ab29506c 18:45:52 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:45:53 ---> bce8dd277bb8 18:45:53 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:45:53 ---> e5a84cd7ecba 18:45:53 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:45:53 ---> 8f0f69348337 18:45:53 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:45:53 ---> 2661c3da4913 18:45:53 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:45:53 ---> 3cbf708206e5 18:45:53 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:45:54 ---> 2d71f92f9566 18:45:54 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:45:54 ---> 200d706c8525 18:45:54 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:45:54 ---> Running in 9ca62ac20f31 18:45:55 Removing intermediate container 9ca62ac20f31 18:45:55 ---> d03dc4f835b7 18:45:55 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:45:55 ---> Running in ca54fe796bd9 18:45:55 Removing intermediate container ca54fe796bd9 18:45:55 ---> 261c0d092daf 18:45:55 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:45:55 ---> Running in 0e4775401d00 18:45:56 Removing intermediate container 0e4775401d00 18:45:56 ---> 3e18c5711aca 18:45:56 Step 29/35 : EXPOSE 59983 18:45:56 ---> Running in bfe035a8af3e 18:45:56 Removing intermediate container bfe035a8af3e 18:45:56 ---> 8a0857305fdc 18:45:56 Step 30/35 : EXPOSE 8554 18:45:56 ---> Running in 1e46f8351a4e 18:45:56 Removing intermediate container 1e46f8351a4e 18:45:56 ---> 32dec22e8f54 18:45:56 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:45:56 ---> Running in 171581402dc9 18:45:56 Removing intermediate container 171581402dc9 18:45:56 ---> a5ab4fe7eef6 18:45:56 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:45:56 ---> Running in 6950e544fdb6 18:45:56 Removing intermediate container 6950e544fdb6 18:45:56 ---> 7491aef77bd7 18:45:56 Step 33/35 : LABEL arch=amd64 18:45:56 ---> Running in 56547603ea4c 18:45:56 Removing intermediate container 56547603ea4c 18:45:56 ---> 06685e9b89de 18:45:56 Step 34/35 : LABEL git_sha=aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:45:56 ---> Running in c43394455468 18:45:56 Removing intermediate container c43394455468 18:45:56 ---> f0a9031cea92 18:45:56 Step 35/35 : LABEL version=3.0.0-dev.5 18:45:56 ---> Running in 070099bdefeb 18:45:56 Removing intermediate container 070099bdefeb 18:45:56 ---> 59190a26d8cc 18:45:56 [Warning] One or more build-args [ARCH] were not consumed 18:45:56 Successfully built 59190a26d8cc 18:45:56 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:57 provisioning config files... 18:45:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config1043555818022133165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:57 ---> docker-login.sh 18:45:57 nexus3.edgexfoundry.org:10001 18:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:57 Configure a credential helper to remove this warning. See 18:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:57 18:45:57 Login Succeeded 18:45:57 nexus3.edgexfoundry.org:10002 18:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:57 Configure a credential helper to remove this warning. See 18:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:57 18:45:57 Login Succeeded 18:45:57 nexus3.edgexfoundry.org:10003 18:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:57 Configure a credential helper to remove this warning. See 18:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:57 18:45:57 Login Succeeded 18:45:57 nexus3.edgexfoundry.org:10004 18:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:57 Configure a credential helper to remove this warning. See 18:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:57 18:45:57 Login Succeeded 18:45:57 docker.io 18:45:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:57 Configure a credential helper to remove this warning. See 18:45:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:57 18:45:57 Login Succeeded 18:45:58 ---> docker-login.sh ends [Pipeline] } 18:45:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:45:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:58 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 18:45:58 aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:45:58 latest 18:45:58 3.0.0-dev.5 18:45:58 aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:45:58 main 18:45:58 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:58 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:45:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:45:58 fa8932a94a4d: Preparing 18:45:58 1a87e74ebf1b: Preparing 18:45:58 b2a4e14b0b8a: Preparing 18:45:58 550e596c6d0e: Preparing 18:45:58 1207169bf42c: Preparing 18:45:58 725239e8516a: Preparing 18:45:58 ff5ab1339ee6: Preparing 18:45:58 30e286a4b620: Preparing 18:45:58 f284d5f688b5: Preparing 18:45:58 d4e5badeeb92: Preparing 18:45:58 69ad5105f942: Preparing 18:45:58 e5e13b0c77cb: Preparing 18:45:58 f284d5f688b5: Waiting 18:45:58 d4e5badeeb92: Waiting 18:45:58 69ad5105f942: Waiting 18:45:58 e5e13b0c77cb: Waiting 18:45:58 30e286a4b620: Waiting 18:45:58 725239e8516a: Waiting 18:45:58 ff5ab1339ee6: Waiting 18:45:58 1a87e74ebf1b: Pushed 18:45:58 fa8932a94a4d: Pushed 18:45:58 b2a4e14b0b8a: Pushed 18:45:58 1207169bf42c: Pushed 18:45:59 725239e8516a: Pushed 18:45:59 f284d5f688b5: Pushed 18:45:59 ff5ab1339ee6: Pushed 18:45:59 30e286a4b620: Pushed 18:45:59 e5e13b0c77cb: Layer already exists 18:46:01 550e596c6d0e: Pushed 18:46:01 d4e5badeeb92: Pushed 18:46:08 69ad5105f942: Pushed 18:46:08 aa9461ff516dbbb31bf7876f6a13f06d431dd475: digest: sha256:4db5d74f6fc038fa6f67bab70dc3c2bc716d202035fe86ed2ccbfc1c55188e79 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:08 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 18:46:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:46:08 fa8932a94a4d: Preparing 18:46:08 1a87e74ebf1b: Preparing 18:46:08 b2a4e14b0b8a: Preparing 18:46:08 550e596c6d0e: Preparing 18:46:08 1207169bf42c: Preparing 18:46:08 725239e8516a: Preparing 18:46:08 ff5ab1339ee6: Preparing 18:46:08 30e286a4b620: Preparing 18:46:08 f284d5f688b5: Preparing 18:46:08 d4e5badeeb92: Preparing 18:46:08 69ad5105f942: Preparing 18:46:08 e5e13b0c77cb: Preparing 18:46:08 ff5ab1339ee6: Waiting 18:46:08 30e286a4b620: Waiting 18:46:08 d4e5badeeb92: Waiting 18:46:08 f284d5f688b5: Waiting 18:46:08 725239e8516a: Waiting 18:46:08 69ad5105f942: Waiting 18:46:08 e5e13b0c77cb: Waiting 18:46:08 1a87e74ebf1b: Layer already exists 18:46:08 fa8932a94a4d: Layer already exists 18:46:08 550e596c6d0e: Layer already exists 18:46:08 1207169bf42c: Layer already exists 18:46:08 b2a4e14b0b8a: Layer already exists 18:46:08 725239e8516a: Layer already exists 18:46:08 ff5ab1339ee6: Layer already exists 18:46:08 30e286a4b620: Layer already exists 18:46:08 f284d5f688b5: Layer already exists 18:46:08 d4e5badeeb92: Layer already exists 18:46:08 69ad5105f942: Layer already exists 18:46:08 e5e13b0c77cb: Layer already exists 18:46:08 latest: digest: sha256:4db5d74f6fc038fa6f67bab70dc3c2bc716d202035fe86ed2ccbfc1c55188e79 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:09 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:09 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.5 18:46:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:46:09 fa8932a94a4d: Preparing 18:46:09 1a87e74ebf1b: Preparing 18:46:09 b2a4e14b0b8a: Preparing 18:46:09 550e596c6d0e: Preparing 18:46:09 1207169bf42c: Preparing 18:46:09 725239e8516a: Preparing 18:46:09 ff5ab1339ee6: Preparing 18:46:09 30e286a4b620: Preparing 18:46:09 f284d5f688b5: Preparing 18:46:09 d4e5badeeb92: Preparing 18:46:09 69ad5105f942: Preparing 18:46:09 e5e13b0c77cb: Preparing 18:46:09 ff5ab1339ee6: Waiting 18:46:09 d4e5badeeb92: Waiting 18:46:09 30e286a4b620: Waiting 18:46:09 69ad5105f942: Waiting 18:46:09 f284d5f688b5: Waiting 18:46:09 e5e13b0c77cb: Waiting 18:46:09 725239e8516a: Waiting 18:46:09 b2a4e14b0b8a: Layer already exists 18:46:09 1207169bf42c: Layer already exists 18:46:09 1a87e74ebf1b: Layer already exists 18:46:09 550e596c6d0e: Layer already exists 18:46:09 fa8932a94a4d: Layer already exists 18:46:09 f284d5f688b5: Layer already exists 18:46:09 725239e8516a: Layer already exists 18:46:09 d4e5badeeb92: Layer already exists 18:46:09 30e286a4b620: Layer already exists 18:46:09 ff5ab1339ee6: Layer already exists 18:46:09 e5e13b0c77cb: Layer already exists 18:46:09 69ad5105f942: Layer already exists 18:46:09 3.0.0-dev.5: digest: sha256:4db5d74f6fc038fa6f67bab70dc3c2bc716d202035fe86ed2ccbfc1c55188e79 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:09 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:10 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:46:10 fa8932a94a4d: Preparing 18:46:10 1a87e74ebf1b: Preparing 18:46:10 b2a4e14b0b8a: Preparing 18:46:10 550e596c6d0e: Preparing 18:46:10 1207169bf42c: Preparing 18:46:10 725239e8516a: Preparing 18:46:10 ff5ab1339ee6: Preparing 18:46:10 30e286a4b620: Preparing 18:46:10 f284d5f688b5: Preparing 18:46:10 d4e5badeeb92: Preparing 18:46:10 69ad5105f942: Preparing 18:46:10 e5e13b0c77cb: Preparing 18:46:10 725239e8516a: Waiting 18:46:10 ff5ab1339ee6: Waiting 18:46:10 30e286a4b620: Waiting 18:46:10 f284d5f688b5: Waiting 18:46:10 e5e13b0c77cb: Waiting 18:46:10 d4e5badeeb92: Waiting 18:46:10 69ad5105f942: Waiting 18:46:10 b2a4e14b0b8a: Layer already exists 18:46:10 1207169bf42c: Layer already exists 18:46:10 1a87e74ebf1b: Layer already exists 18:46:10 550e596c6d0e: Layer already exists 18:46:10 fa8932a94a4d: Layer already exists 18:46:10 725239e8516a: Layer already exists 18:46:10 30e286a4b620: Layer already exists 18:46:10 ff5ab1339ee6: Layer already exists 18:46:10 f284d5f688b5: Layer already exists 18:46:10 d4e5badeeb92: Layer already exists 18:46:10 69ad5105f942: Layer already exists 18:46:10 e5e13b0c77cb: Layer already exists 18:46:10 aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5: digest: sha256:4db5d74f6fc038fa6f67bab70dc3c2bc716d202035fe86ed2ccbfc1c55188e79 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:10 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:10 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 18:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:46:10 fa8932a94a4d: Preparing 18:46:10 1a87e74ebf1b: Preparing 18:46:10 b2a4e14b0b8a: Preparing 18:46:10 550e596c6d0e: Preparing 18:46:10 1207169bf42c: Preparing 18:46:10 725239e8516a: Preparing 18:46:10 ff5ab1339ee6: Preparing 18:46:10 30e286a4b620: Preparing 18:46:10 f284d5f688b5: Preparing 18:46:10 d4e5badeeb92: Preparing 18:46:10 69ad5105f942: Preparing 18:46:10 e5e13b0c77cb: Preparing 18:46:10 30e286a4b620: Waiting 18:46:10 f284d5f688b5: Waiting 18:46:10 d4e5badeeb92: Waiting 18:46:10 69ad5105f942: Waiting 18:46:10 e5e13b0c77cb: Waiting 18:46:10 725239e8516a: Waiting 18:46:10 ff5ab1339ee6: Waiting 18:46:10 1a87e74ebf1b: Layer already exists 18:46:10 1207169bf42c: Layer already exists 18:46:10 550e596c6d0e: Layer already exists 18:46:10 fa8932a94a4d: Layer already exists 18:46:10 b2a4e14b0b8a: Layer already exists 18:46:10 ff5ab1339ee6: Layer already exists 18:46:10 30e286a4b620: Layer already exists 18:46:10 f284d5f688b5: Layer already exists 18:46:10 d4e5badeeb92: Layer already exists 18:46:10 725239e8516a: Layer already exists 18:46:10 69ad5105f942: Layer already exists 18:46:10 e5e13b0c77cb: Layer already exists 18:46:10 main: digest: sha256:4db5d74f6fc038fa6f67bab70dc3c2bc716d202035fe86ed2ccbfc1c55188e79 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:46:10 ===================================================== [Pipeline] echo 18:46:10 taggedImages: 18:46:10 - nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:46:10 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 18:46:10 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.5 18:46:10 - nexus3.edgexfoundry.org:10004/device-usb-camera:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:46:10 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [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 18:46:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:11 18:46:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:11 latest: Pulling from edgex-lftools-log-publisher 18:46:11 5eb5b503b376: Pulling fs layer 18:46:11 5c69ac0246d0: Pulling fs layer 18:46:11 ec43610c2a17: Pulling fs layer 18:46:11 3a2ae6a8a46f: Pulling fs layer 18:46:11 33b1e0a273af: Pulling fs layer 18:46:11 5d3b04190fa2: Pulling fs layer 18:46:11 2f39f015ded8: Pulling fs layer 18:46:11 3a2ae6a8a46f: Waiting 18:46:11 5d3b04190fa2: Waiting 18:46:11 33b1e0a273af: Waiting 18:46:11 2f39f015ded8: Waiting 18:46:11 5c69ac0246d0: Download complete 18:46:11 3a2ae6a8a46f: Download complete 18:46:11 33b1e0a273af: Verifying Checksum 18:46:11 33b1e0a273af: Download complete 18:46:11 5d3b04190fa2: Verifying Checksum 18:46:11 5d3b04190fa2: Download complete 18:46:11 ec43610c2a17: Verifying Checksum 18:46:11 ec43610c2a17: Download complete 18:46:12 5eb5b503b376: Verifying Checksum 18:46:12 5eb5b503b376: Download complete 18:46:13 5eb5b503b376: Pull complete 18:46:13 2f39f015ded8: Download complete 18:46:13 5c69ac0246d0: Pull complete 18:46:13 ec43610c2a17: Pull complete 18:46:13 3a2ae6a8a46f: Pull complete 18:46:14 33b1e0a273af: Pull complete 18:46:14 5d3b04190fa2: Pull complete 18:46:19 2f39f015ded8: Pull complete 18:46:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:46:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:19 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:46:19 $ 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/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:46:22 $ docker top 71e7e54446caeabc635fdfcbb82cb3ee1dde0494db2ff17382ce353c55a16d82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:23 ---> job-cost.sh 18:46:23 lf-activate-venv: SKIPPING 18:46:23 INFO: No Stack... 18:46:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:46:24 INFO: Archiving Costs [Pipeline] sh 18:46:24 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 18:46:24 + cut -d, -f6 [Pipeline] lock 18:46:24 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] 18:46:24 Resource [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] did not exist. Created. 18:46:24 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:46:24 + echo total: 0.2199999988079071 [Pipeline] stash 18:46:24 Stashed 1 file(s) [Pipeline] } 18:46:24 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 18:46:24 $ docker stop --time=1 71e7e54446caeabc635fdfcbb82cb3ee1dde0494db2ff17382ce353c55a16d82 18:46:25 $ docker rm -f --volumes 71e7e54446caeabc635fdfcbb82cb3ee1dde0494db2ff17382ce353c55a16d82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-942 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 18:47:13 Running in /w/workspace/device-usb-camera/69 [Pipeline] { [Pipeline] checkout 18:47:13 Selected Git installation does not exist. Using Default 18:47:13 The recommended git tool is: NONE 18:47:19 using credential edgex-jenkins-ssh 18:47:19 Cloning the remote Git repository 18:47:19 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:47:20 > git init /w/workspace/device-usb-camera/69 # timeout=10 18:47:20 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:47:20 > git --version # timeout=10 18:47:20 > git --version # 'git version 2.25.1' 18:47:20 using GIT_SSH to set credentials SSH Credentials for GitHub 18:47:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:22 Avoid second fetch 18:47:22 Checking out Revision aa9461ff516dbbb31bf7876f6a13f06d431dd475 (main) 18:47:21 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:47:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:47:22 > git config core.sparsecheckout # timeout=10 18:47:22 > git checkout -f aa9461ff516dbbb31bf7876f6a13f06d431dd475 # timeout=10 18:47:22 Commit message: "Merge pull request #121 from EdgeX-Camera-Management/changelog_rediscovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:47:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:47:23 % Total % Received % Xferd Average Speed Time Time Time Current 18:47:23 Dload Upload Total Spent Left Speed 18:47:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 18:47:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:47:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:47:24 + sudo tee /etc/docker/daemon.new 18:47:24 { 18:47:24 "registry-mirrors": [ 18:47:24 "https://nexus3.edgexfoundry.org:10001" 18:47:24 ], 18:47:24 "bip": "10.250.0.254/24", 18:47:24 "hosts": [ 18:47:24 "tcp://0.0.0.0:5555", 18:47:24 "unix:///var/run/docker.sock" 18:47:24 ], 18:47:24 "mtu": 1458, 18:47:24 "selinux-enabled": true, 18:47:24 "seccomp-profile": "/etc/docker/seccomp.json" 18:47:24 } [Pipeline] sh 18:47:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:47:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:43 provisioning config files... 18:47:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/69@tmp/config5859916109164777428tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:47:44 ---> docker-login.sh 18:47:44 nexus3.edgexfoundry.org:10001 18:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:44 Configure a credential helper to remove this warning. See 18:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:44 18:47:44 Login Succeeded 18:47:44 nexus3.edgexfoundry.org:10002 18:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:45 Configure a credential helper to remove this warning. See 18:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:45 18:47:45 Login Succeeded 18:47:45 nexus3.edgexfoundry.org:10003 18:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:45 Configure a credential helper to remove this warning. See 18:47:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:45 18:47:45 Login Succeeded 18:47:45 nexus3.edgexfoundry.org:10004 18:47:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:46 Configure a credential helper to remove this warning. See 18:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:46 18:47:46 Login Succeeded 18:47:46 docker.io 18:47:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:47:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:47:46 Configure a credential helper to remove this warning. See 18:47:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:47:46 18:47:46 Login Succeeded 18:47:46 ---> docker-login.sh ends [Pipeline] } 18:47:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:47:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:47:47 ========================================================= 18:47:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:47:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:47 + 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 . 18:47:47 Sending build context to Docker daemon 1.069MB 18:47:47 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 18:47:47 Step 2/13 : FROM ${BASE} AS builder 18:47:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:47:47 9b18e9b68314: Pulling fs layer 18:47:47 35d82f9e3411: Pulling fs layer 18:47:47 e16973657156: Pulling fs layer 18:47:47 fc693d55d65f: Pulling fs layer 18:47:47 7e9fc2657dce: Pulling fs layer 18:47:47 dda99020689f: Pulling fs layer 18:47:47 db1c61fa0a46: Pulling fs layer 18:47:47 891c053d2c06: Pulling fs layer 18:47:47 7e9fc2657dce: Waiting 18:47:47 dda99020689f: Waiting 18:47:47 db1c61fa0a46: Waiting 18:47:47 891c053d2c06: Waiting 18:47:47 e16973657156: Verifying Checksum 18:47:47 e16973657156: Download complete 18:47:47 35d82f9e3411: Verifying Checksum 18:47:47 35d82f9e3411: Download complete 18:47:47 7e9fc2657dce: Verifying Checksum 18:47:47 7e9fc2657dce: Download complete 18:47:47 dda99020689f: Verifying Checksum 18:47:47 dda99020689f: Download complete 18:47:47 9b18e9b68314: Verifying Checksum 18:47:47 9b18e9b68314: Download complete 18:47:48 9b18e9b68314: Pull complete 18:47:49 891c053d2c06: Verifying Checksum 18:47:49 891c053d2c06: Download complete 18:47:49 35d82f9e3411: Pull complete 18:47:49 e16973657156: Pull complete 18:47:50 db1c61fa0a46: Verifying Checksum 18:47:50 db1c61fa0a46: Download complete 18:47:50 fc693d55d65f: Verifying Checksum 18:47:50 fc693d55d65f: Download complete 18:48:03 fc693d55d65f: Pull complete 18:48:03 7e9fc2657dce: Pull complete 18:48:03 dda99020689f: Pull complete 18:48:10 db1c61fa0a46: Pull complete 18:48:12 891c053d2c06: Pull complete 18:48:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:48:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:48:12 ---> f96f9c87975a 18:48:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:48:15 ---> Running in 1f9487e57bfb 18:48:15 Removing intermediate container 1f9487e57bfb 18:48:15 ---> d8602693250e 18:48:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:15 ---> Running in 9c2609418c2d 18:48:15 Removing intermediate container 9c2609418c2d 18:48:15 ---> 7af12eed88fb 18:48:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:48:15 ---> Running in 49de91c3fd9f 18:48:15 Removing intermediate container 49de91c3fd9f 18:48:15 ---> e944e8dd6f96 18:48:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:48:15 ---> Running in aa500aab07ea 18:48:16 Removing intermediate container aa500aab07ea 18:48:16 ---> 4665a653f30e 18:48:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:16 ---> Running in d3f258684c7b 18:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:19 (1/14) Installing libintl (0.21-r2) 18:48:19 (2/14) Installing eudev-libs (3.2.11-r0) 18:48:19 (3/14) Installing libjpeg-turbo (2.1.3-r1) 18:48:19 (4/14) Installing v4l-utils-libs (1.22.1-r1) 18:48:19 (5/14) Installing v4l-utils (1.22.1-r1) 18:48:19 (6/14) Installing udev-init-scripts (35-r0) 18:48:19 Executing udev-init-scripts-35-r0.post-install 18:48:19 (7/14) Installing libblkid (2.38-r1) 18:48:19 (8/14) Installing xz-libs (5.2.5-r1) 18:48:19 (9/14) Installing zstd-libs (1.5.2-r1) 18:48:19 (10/14) Installing kmod-libs (29-r2) 18:48:19 (11/14) Installing eudev (3.2.11-r0) 18:48:19 (12/14) Installing eudev-dev (3.2.11-r0) 18:48:19 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 18:48:19 (14/14) Installing v4l-utils-dev (1.22.1-r1) 18:48:19 Executing busybox-1.35.0-r17.trigger 18:48:19 Executing eudev-3.2.11-r0.trigger 18:48:19 OK: 228 MiB in 65 packages 18:48:21 Removing intermediate container d3f258684c7b 18:48:21 ---> 88cbd6fa0531 18:48:21 Step 8/13 : WORKDIR /device-usb-camera 18:48:21 ---> Running in e407eccd31b9 18:48:21 Removing intermediate container e407eccd31b9 18:48:21 ---> 9583429d69d5 18:48:21 Step 9/13 : COPY go.mod vendor* ./ 18:48:21 ---> c251ef8a0042 18:48:21 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:21 ---> Running in f4415b5a65c5 18:49:18 Removing intermediate container f4415b5a65c5 18:49:18 ---> 0301ff277320 18:49:18 Step 11/13 : COPY . . 18:49:18 ---> b3234d7df15b 18:49:18 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:49:18 ---> Running in a6db29e5a442 18:49:19  % Total % Received % Xferd Average Speed Time Time  Time Current 18:49:19   Dload Upload Total Spent  Left Speed 18:49:19 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 12596 0 --:--:-- --:--:-- --:--:-- 12795 18:49:20 Removing intermediate container a6db29e5a442 18:49:20 ---> df323f099003 18:49:20 Step 13/13 : RUN ${MAKE} 18:49:20 ---> Running in cbc45165c6b8 18:49:21 noop 18:49:21 Removing intermediate container cbc45165c6b8 18:49:21 ---> e08559a75bcc 18:49:21 Successfully built e08559a75bcc 18:49:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:22 + docker inspect -f . ci-base-image-arm64 18:49:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:22 prd-ubuntu20.04-docker-arm64-4c-16g-942 does not seem to be running inside a container 18:49:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/69 -v /w/workspace/device-usb-camera/69:/w/workspace/device-usb-camera/69:rw,z -v /w/workspace/device-usb-camera/69@tmp:/w/workspace/device-usb-camera/69@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 ******** ci-base-image-arm64 cat 18:49:23 $ docker top 350e643782d0d5fc86301a3b21fde30aa681b41b7d6046d70d8292ca355bcf34 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:24 + go version 18:49:24 go version go1.18.7 linux/arm64 [Pipeline] } 18:49:24 $ docker stop --time=1 350e643782d0d5fc86301a3b21fde30aa681b41b7d6046d70d8292ca355bcf34 18:49:26 $ docker rm -f --volumes 350e643782d0d5fc86301a3b21fde30aa681b41b7d6046d70d8292ca355bcf34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:26 + docker inspect -f . ci-base-image-arm64 18:49:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:27 prd-ubuntu20.04-docker-arm64-4c-16g-942 does not seem to be running inside a container 18:49:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/69 -v /w/workspace/device-usb-camera/69:/w/workspace/device-usb-camera/69:rw,z -v /w/workspace/device-usb-camera/69@tmp:/w/workspace/device-usb-camera/69@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 ******** ci-base-image-arm64 cat 18:49:28 $ docker top d4260745c8205b40514231685445a2ef42a2cc323690498a9f7d679eafcd67c4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:29 + git config --global --add safe.directory /w/workspace/device-usb-camera/69 [Pipeline] fileExists [Pipeline] sh 18:49:30 + make test 18:49:30 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 18:49:31 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:51:08 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:51:13 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.076s coverage: 1.9% of statements 18:51:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:51:13 CGO_ENABLED=1 go vet ./... 18:51:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:45 ./bin/test-attribution-txt.sh [Pipeline] echo 18:51:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:51:45 $ docker stop --time=1 d4260745c8205b40514231685445a2ef42a2cc323690498a9f7d679eafcd67c4 18:51:47 $ docker rm -f --volumes d4260745c8205b40514231685445a2ef42a2cc323690498a9f7d679eafcd67c4 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:51:48 Warning: overwriting stash ‘coverage-report’ 18:51:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:51:50 + ls -al . 18:51:50 total 200 18:51:50 drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:49 . 18:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:47 .. 18:51:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:47 .git 18:51:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 .github 18:51:50 -rw-rw-r-- 1 jenkins jenkins 414 Jan 3 18:47 .gitignore 18:51:50 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:47 .golangci.yml 18:51:50 -rw-rw-r-- 1 jenkins jenkins 77 Jan 3 18:47 .hadolint.yml 18:51:50 -rw-rw-r-- 1 jenkins jenkins 9702 Jan 3 18:47 Attribution.txt 18:51:50 -rw-rw-r-- 1 jenkins jenkins 6219 Jan 3 18:47 CHANGELOG.md 18:51:50 -rw-rw-r-- 1 jenkins jenkins 2378 Jan 3 18:47 Dockerfile 18:51:50 -rw-rw-r-- 1 jenkins jenkins 678 Jan 3 18:47 GOVERNANCE.md 18:51:50 -rw-rw-r-- 1 jenkins jenkins 659 Jan 3 18:47 Jenkinsfile 18:51:50 -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:47 LICENSE 18:51:50 -rw-rw-r-- 1 jenkins jenkins 2554 Jan 3 18:47 Makefile 18:51:50 -rw-rw-r-- 1 jenkins jenkins 622 Jan 3 18:47 OWNERS.md 18:51:50 -rw-rw-r-- 1 jenkins jenkins 5934 Jan 3 18:47 README.md 18:51:50 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 18:44 VERSION 18:51:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:47 bin 18:51:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 cmd 18:51:50 -rw-r--r-- 1 jenkins jenkins 30666 Jan 3 18:51 coverage.out 18:51:50 -rwxrwxr-x 1 jenkins jenkins 140 Jan 3 18:47 docker-entrypoint.sh 18:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:47 docs 18:51:50 -rw-rw-r-- 1 jenkins jenkins 3573 Jan 3 18:47 go.mod 18:51:50 -rw-rw-r-- 1 jenkins jenkins 45026 Jan 3 18:47 go.sum 18:51:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:47 internal 18:51:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:47 snap 18:51:50 -rw-rw-r-- 1 jenkins jenkins 231 Jan 3 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:50 + docker build -t device-usb-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aa9461ff516dbbb31bf7876f6a13f06d431dd475 --label arch=arm64 --label version=3.0.0-dev.5 . 18:51:50 Sending build context to Docker daemon 1.1MB 18:51:50 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 18:51:50 Step 2/35 : FROM ${BASE} AS builder 18:51:50 ---> e08559a75bcc 18:51:50 Step 3/35 : ARG ADD_BUILD_TAGS="" 18:51:50 ---> Running in dabcbbb8963b 18:51:51 Removing intermediate container dabcbbb8963b 18:51:51 ---> ef08369b17f5 18:51:51 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:51 ---> Running in 28fe4bb2a523 18:51:51 Removing intermediate container 28fe4bb2a523 18:51:51 ---> 1aee46e654b8 18:51:51 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 18:51:52 ---> Running in 70e9bf0bb5c5 18:51:52 Removing intermediate container 70e9bf0bb5c5 18:51:52 ---> f9daf54e5f03 18:51:52 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:51:52 ---> Running in 1c74175537a9 18:51:52 Removing intermediate container 1c74175537a9 18:51:52 ---> 209b65ced788 18:51:52 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:52 ---> Running in d6053ee53830 18:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:51:55 OK: 228 MiB in 65 packages 18:51:56 Removing intermediate container d6053ee53830 18:51:56 ---> cc97fbb104db 18:51:56 Step 8/35 : WORKDIR /device-usb-camera 18:51:56 ---> Running in 4bcec31ee092 18:51:56 Removing intermediate container 4bcec31ee092 18:51:56 ---> df79e79542df 18:51:56 Step 9/35 : COPY go.mod vendor* ./ 18:51:57 ---> 108550f6b9e5 18:51:57 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:57 ---> Running in bb052833fdc5 18:52:01 Removing intermediate container bb052833fdc5 18:52:01 ---> 6dc2c2212516 18:52:01 Step 11/35 : COPY . . 18:52:02 ---> 320c30edad1b 18:52:02 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:52:02 ---> Running in f782ab1d9c5b 18:52:03  % Total % Received % Xferd Average Speed Time Time Time Current 18:52:03 Dload Upload Total Spent Left Speed 18:52:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6473 0 --:--:-- --:--:-- --:--:-- 6515 18:52:04 Removing intermediate container f782ab1d9c5b 18:52:04 ---> 8045a5740081 18:52:04 Step 13/35 : RUN ${MAKE} 18:52:04 ---> Running in d7a959f8b385 18:52:08 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.5 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 18:54:45 Removing intermediate container d7a959f8b385 18:54:45 ---> cb1b5c1a072a 18:54:45 Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 18:54:45 v0.18.4: Pulling from aler9/rtsp-simple-server 18:54:45 eab2503cf8f4: Pulling fs layer 18:54:45 97cd0a44c592: Pulling fs layer 18:54:46 97cd0a44c592: Download complete 18:54:46 eab2503cf8f4: Verifying Checksum 18:54:46 eab2503cf8f4: Download complete 18:54:49 eab2503cf8f4: Pull complete 18:54:50 97cd0a44c592: Pull complete 18:54:50 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 18:54:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 18:54:50 ---> 7f763cca56b3 18:54:50 Step 15/35 : FROM alpine:3.16 18:54:50 3.16: Pulling from library/alpine 18:54:50 6875df1f5354: Pulling fs layer 18:54:50 6875df1f5354: Verifying Checksum 18:54:50 6875df1f5354: Download complete 18:54:51 6875df1f5354: Pull complete 18:54:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:54:51 Status: Downloaded newer image for alpine:3.16 18:54:51 ---> 2b4661558fb8 18:54:51 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:54:51 ---> Running in 7104000909b3 18:54:51 Removing intermediate container 7104000909b3 18:54:51 ---> c92c2114e05d 18:54:51 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 18:54:52 ---> Running in 0675411fcc81 18:54:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:54:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:54:54 (1/82) Installing dumb-init (1.2.5-r1) 18:54:54 (2/82) Installing sdl2 (2.0.22-r0) 18:54:54 (3/82) Installing libxau (1.0.9-r0) 18:54:54 (4/82) Installing libxdmcp (1.1.3-r0) 18:54:54 (5/82) Installing libxcb (1.15-r0) 18:54:54 (6/82) Installing libx11 (1.8-r0) 18:54:54 (7/82) Installing aom-libs (3.3.0-r0) 18:54:54 (8/82) Installing alsa-lib (1.2.7.2-r0) 18:54:54 (9/82) Installing expat (2.5.0-r0) 18:54:54 (10/82) Installing brotli-libs (1.0.9-r6) 18:54:54 (11/82) Installing libbz2 (1.0.8-r1) 18:54:54 (12/82) Installing libpng (1.6.37-r1) 18:54:54 (13/82) Installing freetype (2.12.1-r0) 18:54:54 (14/82) Installing fontconfig (2.14.0-r0) 18:54:54 (15/82) Installing fribidi (1.0.12-r0) 18:54:54 (16/82) Installing libffi (3.4.2-r1) 18:54:54 (17/82) Installing libintl (0.21-r2) 18:54:54 (18/82) Installing libblkid (2.38-r1) 18:54:54 (19/82) Installing libmount (2.38-r1) 18:54:54 (20/82) Installing pcre (8.45-r2) 18:54:55 (21/82) Installing glib (2.72.1-r0) 18:54:55 (22/82) Installing graphite2 (1.3.14-r1) 18:54:55 (23/82) Installing harfbuzz (4.3.0-r0) 18:54:55 (24/82) Installing libass (0.16.0-r0) 18:54:55 (25/82) Installing libdav1d (1.0.0-r0) 18:54:55 (26/82) Installing libdrm (2.4.110-r0) 18:54:55 (27/82) Installing gmp (6.2.1-r2) 18:54:55 (28/82) Installing nettle (3.7.3-r0) 18:54:55 (29/82) Installing p11-kit (0.24.1-r0) 18:54:55 (30/82) Installing libtasn1 (4.18.0-r1) 18:54:55 (31/82) Installing libunistring (1.0-r0) 18:54:55 (32/82) Installing gnutls (3.7.7-r0) 18:54:55 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 18:54:55 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 18:54:55 (35/82) Installing lame (3.100-r0) 18:54:55 (36/82) Installing opus (1.3.1-r1) 18:54:55 (37/82) Installing libasyncns (0.8-r1) 18:54:55 (38/82) Installing dbus-libs (1.14.4-r0) 18:54:55 (39/82) Installing libltdl (2.4.7-r0) 18:54:55 (40/82) Installing orc (0.4.32-r0) 18:54:55 (41/82) Installing libgcc (11.2.1_git20220219-r2) 18:54:55 (42/82) Installing libogg (1.3.5-r1) 18:54:55 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 18:54:55 (44/82) Installing flac (1.3.4-r0) 18:54:55 (45/82) Installing libvorbis (1.3.7-r0) 18:54:55 (46/82) Installing libsndfile (1.1.0-r0) 18:54:55 (47/82) Installing libgomp (11.2.1_git20220219-r2) 18:54:55 (48/82) Installing soxr (0.1.3-r2) 18:54:55 (49/82) Installing speexdsp (1.2.0-r0) 18:54:55 (50/82) Installing tdb-libs (1.4.6-r0) 18:54:55 (51/82) Installing libpulse (15.0-r2) 18:54:55 (52/82) Installing cjson (1.7.15-r3) 18:54:55 (53/82) Installing mbedtls (2.28.2-r0) 18:54:55 (54/82) Installing librist (0.2.6-r1) 18:54:55 (55/82) Installing libsrt (1.4.4-r0) 18:54:55 (56/82) Installing libssh (0.9.6-r1) 18:54:55 (57/82) Installing libtheora (1.1.1-r16) 18:54:55 (58/82) Installing libjpeg-turbo (2.1.3-r1) 18:54:55 (59/82) Installing v4l-utils-libs (1.22.1-r1) 18:54:55 (60/82) Installing libxext (1.3.4-r0) 18:54:55 (61/82) Installing libxfixes (6.0.0-r0) 18:54:55 (62/82) Installing wayland-libs-client (1.20.0-r0) 18:54:55 (63/82) Installing libva (2.14.0-r0) 18:54:55 (64/82) Installing libvdpau (1.5-r0) 18:54:55 (65/82) Installing vidstab (1.1.0-r1) 18:54:55 (66/82) Installing libvpx (1.11.0-r1) 18:54:55 (67/82) Installing libwebp (1.2.3-r0) 18:54:55 (68/82) Installing x264-libs (0.163_git20210613-r0) 18:54:55 (69/82) Installing numactl (2.0.14-r0) 18:54:55 (70/82) Installing x265-libs (3.5-r3) 18:54:56 (71/82) Installing xvidcore (1.3.7-r1) 18:54:56 (72/82) Installing ffmpeg-libs (5.0.1-r1) 18:54:56 (73/82) Installing ffmpeg (5.0.1-r1) 18:54:56 (74/82) Installing udev-init-scripts (35-r0) 18:54:56 Executing udev-init-scripts-35-r0.post-install 18:54:56 (75/82) Installing eudev-libs (3.2.11-r0) 18:54:56 (76/82) Installing xz-libs (5.2.5-r1) 18:54:56 (77/82) Installing zstd-libs (1.5.2-r1) 18:54:56 (78/82) Installing kmod-libs (29-r2) 18:54:56 (79/82) Installing eudev (3.2.11-r0) 18:54:56 (80/82) Installing libsodium (1.0.18-r0) 18:54:56 (81/82) Installing libzmq (4.3.4-r0) 18:54:56 (82/82) Installing zeromq (4.3.4-r0) 18:54:56 Executing busybox-1.35.0-r17.trigger 18:54:56 Executing eudev-3.2.11-r0.trigger 18:54:56 OK: 78 MiB in 96 packages 18:55:00 Removing intermediate container 0675411fcc81 18:55:00 ---> 0fb988685fac 18:55:00 Step 18/35 : WORKDIR / 18:55:00 ---> Running in f01ef945946a 18:55:00 Removing intermediate container f01ef945946a 18:55:00 ---> 24b14b399df4 18:55:00 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 18:55:02 ---> 2379f79ca6a6 18:55:02 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 18:55:02 ---> 7a12260eb533 18:55:02 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:55:03 ---> 9bd38eb0741c 18:55:03 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:55:03 ---> 8cbb21b4a87a 18:55:03 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:55:03 ---> 0d14cd9bbbfb 18:55:03 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 18:55:04 ---> e1b38a81f8cd 18:55:04 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 18:55:05 ---> 279268909f61 18:55:05 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:55:05 ---> Running in c1ea46fb148e 18:55:07 Removing intermediate container c1ea46fb148e 18:55:07 ---> 7a5383e14061 18:55:07 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:55:07 ---> Running in 600b2fc37155 18:55:08 Removing intermediate container 600b2fc37155 18:55:08 ---> 4b70cbec2c61 18:55:08 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:55:08 ---> Running in f0d12a959048 18:55:10 Removing intermediate container f0d12a959048 18:55:10 ---> c1785e9e32e7 18:55:10 Step 29/35 : EXPOSE 59983 18:55:10 ---> Running in deccc0b0afdc 18:55:10 Removing intermediate container deccc0b0afdc 18:55:10 ---> 8e66b31af960 18:55:10 Step 30/35 : EXPOSE 8554 18:55:10 ---> Running in 748f71dba251 18:55:10 Removing intermediate container 748f71dba251 18:55:10 ---> d7537fd58a5e 18:55:10 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:55:10 ---> Running in 1ac4a3c6e43f 18:55:11 Removing intermediate container 1ac4a3c6e43f 18:55:11 ---> eb7d54746dfc 18:55:11 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 18:55:11 ---> Running in 6a4e7ac220b8 18:55:11 Removing intermediate container 6a4e7ac220b8 18:55:11 ---> 4561ee7afbae 18:55:11 Step 33/35 : LABEL arch=arm64 18:55:11 ---> Running in fe18cb9379f8 18:55:11 Removing intermediate container fe18cb9379f8 18:55:11 ---> 302bc9709937 18:55:11 Step 34/35 : LABEL git_sha=aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:55:11 ---> Running in 2472fbd97bbe 18:55:12 Removing intermediate container 2472fbd97bbe 18:55:12 ---> 205a275fe978 18:55:12 Step 35/35 : LABEL version=3.0.0-dev.5 18:55:12 ---> Running in c38dcdeb30ca 18:55:12 Removing intermediate container c38dcdeb30ca 18:55:12 ---> 19240d52d89a 18:55:12 [Warning] One or more build-args [ARCH] were not consumed 18:55:12 Successfully built 19240d52d89a 18:55:12 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:55:12 provisioning config files... 18:55:12 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/69@tmp/config15936538681684610921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:55:12 ---> docker-login.sh 18:55:12 nexus3.edgexfoundry.org:10001 18:55:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:13 Configure a credential helper to remove this warning. See 18:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:13 18:55:13 Login Succeeded 18:55:13 nexus3.edgexfoundry.org:10002 18:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:13 Configure a credential helper to remove this warning. See 18:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:13 18:55:13 Login Succeeded 18:55:13 nexus3.edgexfoundry.org:10003 18:55:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:13 Configure a credential helper to remove this warning. See 18:55:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:13 18:55:13 Login Succeeded 18:55:13 nexus3.edgexfoundry.org:10004 18:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:14 Configure a credential helper to remove this warning. See 18:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:14 18:55:14 Login Succeeded 18:55:14 docker.io 18:55:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:55:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:55:14 Configure a credential helper to remove this warning. See 18:55:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:55:14 18:55:14 Login Succeeded 18:55:14 ---> docker-login.sh ends [Pipeline] } 18:55:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:55:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:55:14 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 18:55:14 aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:55:14 latest 18:55:14 3.0.0-dev.5 18:55:14 aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:55:14 main 18:55:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:15 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:15 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:55:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:55:15 a52b5a14af8a: Preparing 18:55:15 8c23aafb12b1: Preparing 18:55:15 b71aaca94a8a: Preparing 18:55:15 a43932d1df72: Preparing 18:55:15 1207169bf42c: Preparing 18:55:15 10b9b0c8fc16: Preparing 18:55:15 7d1ef1dc1ac5: Preparing 18:55:15 232e42a33ce7: Preparing 18:55:15 fb5f29dfd42c: Preparing 18:55:15 8bbdf202f97d: Preparing 18:55:15 5d3691bc8d5b: Preparing 18:55:15 17bec77d7fdc: Preparing 18:55:15 232e42a33ce7: Waiting 18:55:15 fb5f29dfd42c: Waiting 18:55:15 8bbdf202f97d: Waiting 18:55:15 5d3691bc8d5b: Waiting 18:55:15 10b9b0c8fc16: Waiting 18:55:15 17bec77d7fdc: Waiting 18:55:15 7d1ef1dc1ac5: Waiting 18:55:15 b71aaca94a8a: Pushed 18:55:15 1207169bf42c: Pushed 18:55:15 a52b5a14af8a: Pushed 18:55:15 8c23aafb12b1: Pushed 18:55:16 10b9b0c8fc16: Pushed 18:55:16 7d1ef1dc1ac5: Pushed 18:55:16 fb5f29dfd42c: Pushed 18:55:16 232e42a33ce7: Pushed 18:55:16 17bec77d7fdc: Layer already exists 18:55:20 a43932d1df72: Pushed 18:55:21 8bbdf202f97d: Pushed 18:55:34 5d3691bc8d5b: Pushed 18:55:34 aa9461ff516dbbb31bf7876f6a13f06d431dd475: digest: sha256:0491a6e6ecdd5fc06e6e3dc39635a4a1ced73b8cffd826a045a2170bb3c0e25b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:34 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:55:34 a52b5a14af8a: Preparing 18:55:34 8c23aafb12b1: Preparing 18:55:34 b71aaca94a8a: Preparing 18:55:34 a43932d1df72: Preparing 18:55:34 1207169bf42c: Preparing 18:55:34 10b9b0c8fc16: Preparing 18:55:34 7d1ef1dc1ac5: Preparing 18:55:34 232e42a33ce7: Preparing 18:55:34 fb5f29dfd42c: Preparing 18:55:34 8bbdf202f97d: Preparing 18:55:34 5d3691bc8d5b: Preparing 18:55:34 17bec77d7fdc: Preparing 18:55:34 10b9b0c8fc16: Waiting 18:55:34 7d1ef1dc1ac5: Waiting 18:55:34 232e42a33ce7: Waiting 18:55:34 fb5f29dfd42c: Waiting 18:55:34 8bbdf202f97d: Waiting 18:55:34 5d3691bc8d5b: Waiting 18:55:34 17bec77d7fdc: Waiting 18:55:34 b71aaca94a8a: Layer already exists 18:55:34 8c23aafb12b1: Layer already exists 18:55:34 1207169bf42c: Layer already exists 18:55:34 a43932d1df72: Layer already exists 18:55:34 a52b5a14af8a: Layer already exists 18:55:34 232e42a33ce7: Layer already exists 18:55:34 10b9b0c8fc16: Layer already exists 18:55:34 7d1ef1dc1ac5: Layer already exists 18:55:34 8bbdf202f97d: Layer already exists 18:55:34 fb5f29dfd42c: Layer already exists 18:55:34 5d3691bc8d5b: Layer already exists 18:55:34 17bec77d7fdc: Layer already exists 18:55:34 latest: digest: sha256:0491a6e6ecdd5fc06e6e3dc39635a4a1ced73b8cffd826a045a2170bb3c0e25b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:35 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:35 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.5 18:55:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:55:35 a52b5a14af8a: Preparing 18:55:35 8c23aafb12b1: Preparing 18:55:35 b71aaca94a8a: Preparing 18:55:35 a43932d1df72: Preparing 18:55:35 1207169bf42c: Preparing 18:55:35 10b9b0c8fc16: Preparing 18:55:35 7d1ef1dc1ac5: Preparing 18:55:35 232e42a33ce7: Preparing 18:55:35 fb5f29dfd42c: Preparing 18:55:35 8bbdf202f97d: Preparing 18:55:35 5d3691bc8d5b: Preparing 18:55:35 17bec77d7fdc: Preparing 18:55:35 fb5f29dfd42c: Waiting 18:55:35 8bbdf202f97d: Waiting 18:55:35 10b9b0c8fc16: Waiting 18:55:35 5d3691bc8d5b: Waiting 18:55:35 7d1ef1dc1ac5: Waiting 18:55:35 232e42a33ce7: Waiting 18:55:35 a43932d1df72: Layer already exists 18:55:35 8c23aafb12b1: Layer already exists 18:55:35 a52b5a14af8a: Layer already exists 18:55:35 1207169bf42c: Layer already exists 18:55:35 b71aaca94a8a: Layer already exists 18:55:35 7d1ef1dc1ac5: Layer already exists 18:55:35 10b9b0c8fc16: Layer already exists 18:55:35 8bbdf202f97d: Layer already exists 18:55:35 232e42a33ce7: Layer already exists 18:55:35 fb5f29dfd42c: Layer already exists 18:55:35 17bec77d7fdc: Layer already exists 18:55:35 5d3691bc8d5b: Layer already exists 18:55:35 3.0.0-dev.5: digest: sha256:0491a6e6ecdd5fc06e6e3dc39635a4a1ced73b8cffd826a045a2170bb3c0e25b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:36 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:36 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:55:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:55:36 a52b5a14af8a: Preparing 18:55:36 8c23aafb12b1: Preparing 18:55:36 b71aaca94a8a: Preparing 18:55:36 a43932d1df72: Preparing 18:55:36 1207169bf42c: Preparing 18:55:36 10b9b0c8fc16: Preparing 18:55:36 7d1ef1dc1ac5: Preparing 18:55:36 232e42a33ce7: Preparing 18:55:36 fb5f29dfd42c: Preparing 18:55:36 8bbdf202f97d: Preparing 18:55:36 5d3691bc8d5b: Preparing 18:55:36 17bec77d7fdc: Preparing 18:55:36 232e42a33ce7: Waiting 18:55:36 fb5f29dfd42c: Waiting 18:55:36 8bbdf202f97d: Waiting 18:55:36 5d3691bc8d5b: Waiting 18:55:36 17bec77d7fdc: Waiting 18:55:36 10b9b0c8fc16: Waiting 18:55:36 7d1ef1dc1ac5: Waiting 18:55:36 b71aaca94a8a: Layer already exists 18:55:36 1207169bf42c: Layer already exists 18:55:36 a52b5a14af8a: Layer already exists 18:55:36 8c23aafb12b1: Layer already exists 18:55:36 a43932d1df72: Layer already exists 18:55:36 fb5f29dfd42c: Layer already exists 18:55:36 232e42a33ce7: Layer already exists 18:55:36 7d1ef1dc1ac5: Layer already exists 18:55:36 10b9b0c8fc16: Layer already exists 18:55:36 8bbdf202f97d: Layer already exists 18:55:36 5d3691bc8d5b: Layer already exists 18:55:36 17bec77d7fdc: Layer already exists 18:55:36 aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5: digest: sha256:0491a6e6ecdd5fc06e6e3dc39635a4a1ced73b8cffd826a045a2170bb3c0e25b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:37 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:37 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 18:55:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:55:37 a52b5a14af8a: Preparing 18:55:37 8c23aafb12b1: Preparing 18:55:37 b71aaca94a8a: Preparing 18:55:37 a43932d1df72: Preparing 18:55:37 1207169bf42c: Preparing 18:55:37 10b9b0c8fc16: Preparing 18:55:37 7d1ef1dc1ac5: Preparing 18:55:37 232e42a33ce7: Preparing 18:55:37 fb5f29dfd42c: Preparing 18:55:37 8bbdf202f97d: Preparing 18:55:37 5d3691bc8d5b: Preparing 18:55:37 17bec77d7fdc: Preparing 18:55:37 fb5f29dfd42c: Waiting 18:55:37 8bbdf202f97d: Waiting 18:55:37 5d3691bc8d5b: Waiting 18:55:37 17bec77d7fdc: Waiting 18:55:37 10b9b0c8fc16: Waiting 18:55:37 7d1ef1dc1ac5: Waiting 18:55:37 232e42a33ce7: Waiting 18:55:37 b71aaca94a8a: Layer already exists 18:55:37 a52b5a14af8a: Layer already exists 18:55:37 8c23aafb12b1: Layer already exists 18:55:37 1207169bf42c: Layer already exists 18:55:37 a43932d1df72: Layer already exists 18:55:37 10b9b0c8fc16: Layer already exists 18:55:37 232e42a33ce7: Layer already exists 18:55:37 7d1ef1dc1ac5: Layer already exists 18:55:37 fb5f29dfd42c: Layer already exists 18:55:37 8bbdf202f97d: Layer already exists 18:55:37 5d3691bc8d5b: Layer already exists 18:55:37 17bec77d7fdc: Layer already exists 18:55:37 main: digest: sha256:0491a6e6ecdd5fc06e6e3dc39635a4a1ced73b8cffd826a045a2170bb3c0e25b size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:55:37 ===================================================== [Pipeline] echo 18:55:37 taggedImages: 18:55:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475 18:55:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:55:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.5 18:55:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:aa9461ff516dbbb31bf7876f6a13f06d431dd475-3.0.0-dev.5 18:55:37 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:38 18:55:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:38 arm64: Pulling from edgex-lftools-log-publisher 18:55:38 8998bd30e6a1: Pulling fs layer 18:55:38 04944245beec: Pulling fs layer 18:55:38 699f458cf7ca: Pulling fs layer 18:55:38 765212b225bb: Pulling fs layer 18:55:38 f23df028b6ca: Pulling fs layer 18:55:38 d65c8cfc05b1: Pulling fs layer 18:55:38 2437ff75d9bd: Pulling fs layer 18:55:38 765212b225bb: Waiting 18:55:38 f23df028b6ca: Waiting 18:55:38 d65c8cfc05b1: Waiting 18:55:38 2437ff75d9bd: Waiting 18:55:38 04944245beec: Verifying Checksum 18:55:38 04944245beec: Download complete 18:55:38 765212b225bb: Verifying Checksum 18:55:38 765212b225bb: Download complete 18:55:38 f23df028b6ca: Verifying Checksum 18:55:38 f23df028b6ca: Download complete 18:55:38 d65c8cfc05b1: Verifying Checksum 18:55:38 d65c8cfc05b1: Download complete 18:55:38 699f458cf7ca: Verifying Checksum 18:55:38 699f458cf7ca: Download complete 18:55:39 8998bd30e6a1: Verifying Checksum 18:55:41 2437ff75d9bd: Verifying Checksum 18:55:41 2437ff75d9bd: Download complete 18:55:42 8998bd30e6a1: Pull complete 18:55:43 04944245beec: Pull complete 18:55:44 699f458cf7ca: Pull complete 18:55:44 765212b225bb: Pull complete 18:55:45 f23df028b6ca: Pull complete 18:55:45 d65c8cfc05b1: Pull complete 18:55:57 2437ff75d9bd: Pull complete 18:55:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:58 prd-ubuntu20.04-docker-arm64-4c-16g-942 does not seem to be running inside a container 18:55: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/device-usb-camera/69 -v /w/workspace/device-usb-camera/69:/w/workspace/device-usb-camera/69:rw,z -v /w/workspace/device-usb-camera/69@tmp:/w/workspace/device-usb-camera/69@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:56:00 $ docker top 197aa2bece67f6eafce261012d2dd7f32751d2046a80f524808275bf526e3613 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:01 ---> job-cost.sh 18:56:01 lf-activate-venv: SKIPPING 18:56:01 INFO: No Stack... 18:56:02 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:02 INFO: Archiving Costs [Pipeline] sh 18:56:03 + cat /w/workspace/device-usb-camera/69/archives/cost.csv 18:56:03 + cut -d, -f6 [Pipeline] lock 18:56:03 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] 18:56:03 Resource [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] did not exist. Created. 18:56:03 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:03 /w/workspace/device-usb-camera/69@tmp/durable-25b110d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:03 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:03 Warning: overwriting stash ‘stack-cost’ 18:56:03 Stashed 1 file(s) [Pipeline] } 18:56:03 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-69-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:03 $ docker stop --time=1 197aa2bece67f6eafce261012d2dd7f32751d2046a80f524808275bf526e3613 18:56:05 $ docker rm -f --volumes 197aa2bece67f6eafce261012d2dd7f32751d2046a80f524808275bf526e3613 [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 18:56:05 provisioning config files... 18:56:05 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16662320653149589269tmp [Pipeline] { [Pipeline] sh 18:56:05 + set +x 18:56:05 + curl -s https://codecov.io/bash 18:56:05 + bash -s -- 18:56:05 18:56:05 _____ _ 18:56:05 / ____| | | 18:56:05 | | ___ __| | ___ ___ _____ __ 18:56:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:05 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:05 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:05 Bash-1.0.6 18:56:05 18:56:05 18:56:05 ==> git version 2.25.1 found 18:56:05 ==> 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 18:56:05 Release-Date: 2020-01-08 18:56:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:56:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:56:05 ==> Jenkins CI detected. 18:56:05 current dir:  /w/workspace/exfoundry_device-usb-camera_main 18:56:05 project root: . 18:56:05 --> token set from env 18:56:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:05 ==> Running gcov in . (disable via -X gcov) 18:56:05 ==> Python coveragepy not found 18:56:05 ==> Searching for coverage reports in: 18:56:05 + . 18:56:05 -> Found 1 reports 18:56:05 ==> Detecting git/mercurial file structure 18:56:05 ==> Reading reports 18:56:05 + ./coverage.out bytes=30666 18:56:05 ==> Appending adjustments 18:56:05 https://docs.codecov.io/docs/fixing-reports 18:56:06 + Found adjustments 18:56:06 ==> Gzipping contents 18:56:06 8.0K /tmp/codecov.YMGmbj.gz 18:56:06 ==> Uploading reports 18:56:06 url: https://codecov.io 18:56:06 query: branch=main&commit=aa9461ff516dbbb31bf7876f6a13f06d431dd475&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:06 -> Pinging Codecov 18:56:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=main&commit=aa9461ff516dbbb31bf7876f6a13f06d431dd475&build=69&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F69%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:06 -> Uploading to 18:56:06 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/73D8F5FF140700D3E01443B452E23636/aa9461ff516dbbb31bf7876f6a13f06d431dd475/99fb05a4-3743-4589-b002-2ec59626c6c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T185606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=debcfc0c01e682f7f3ec2eccaa4de0dc41246d50ac6cbd4c9c0d882f3a94bd9d 18:56:06 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:06 Dload Upload Total Spent Left Speed 18:56:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4335 0 0 100 4335 0 21250 --:--:-- --:--:-- --:--:-- 21146 100 4335 0 0 100 4335 0 18847 --:--:-- --:--:-- --:--:-- 18766 18:56:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] } 18:56:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:56:06 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:56:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:07 18:56:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:56:07 df9b9388f04a: Pulling fs layer 18:56:07 52dc419b0ee2: Pulling fs layer 18:56:07 25bc292e5bac: Pulling fs layer 18:56:07 114826534d7a: Pulling fs layer 18:56:07 4657fd5d0bcf: Pulling fs layer 18:56:07 6ad1cebc031e: Pulling fs layer 18:56:07 8a3aa393b2d8: Pulling fs layer 18:56:07 114826534d7a: Waiting 18:56:07 4657fd5d0bcf: Waiting 18:56:07 6ad1cebc031e: Waiting 18:56:07 25bc292e5bac: Verifying Checksum 18:56:07 25bc292e5bac: Download complete 18:56:07 52dc419b0ee2: Download complete 18:56:07 4657fd5d0bcf: Verifying Checksum 18:56:07 4657fd5d0bcf: Download complete 18:56:07 df9b9388f04a: Download complete 18:56:07 df9b9388f04a: Pull complete 18:56:07 6ad1cebc031e: Verifying Checksum 18:56:07 6ad1cebc031e: Download complete 18:56:07 52dc419b0ee2: Pull complete 18:56:07 25bc292e5bac: Pull complete 18:56:08 114826534d7a: Verifying Checksum 18:56:08 114826534d7a: Download complete 18:56:08 8a3aa393b2d8: Verifying Checksum 18:56:08 8a3aa393b2d8: Download complete 18:56:12 114826534d7a: Pull complete 18:56:12 4657fd5d0bcf: Pull complete 18:56:12 6ad1cebc031e: Pull complete 18:56:14 8a3aa393b2d8: Pull complete 18:56:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:56:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:14 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 18:56:19 $ docker top 214765fee6facf1d0a7b82dc11e3e593649828bf90f980d6030a041767617bd4 -eo pid,comm [Pipeline] { [Pipeline] echo 18:56:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 18:56:20 + set -o pipefail 18:56:20 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 18:56:25 18:56:25 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 18:56:25 18:56:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/8586f56b-49f3-41d4-af81-c3fd918e5750 18:56:25 18:56:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:56:25 18:56:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:56:25 18:56:25 18:56:25 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:56:25 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:56:25 More details here: https://snyk.co/ue1NS [Pipeline] } 18:56:25 $ docker stop --time=1 214765fee6facf1d0a7b82dc11e3e593649828bf90f980d6030a041767617bd4 18:56:29 $ docker rm -f --volumes 214765fee6facf1d0a7b82dc11e3e593649828bf90f980d6030a041767617bd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:30 + git log --format=format:%s -1 aa9461ff516dbbb31bf7876f6a13f06d431dd475 [Pipeline] sh 18:56:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:30 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:56:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:31 $ docker top 6703ed3925c4d28a17a8dcb2a833312ca29e73491f3ccc6486ff28c3065e051e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:31 [ssh-agent] Looking for ssh-agent implementation... 18:56:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:31 $ docker exec 6703ed3925c4d28a17a8dcb2a833312ca29e73491f3ccc6486ff28c3065e051e ssh-agent 18:56:31 SSH_AUTH_SOCK=/tmp/ssh-KNuT7M1RgbPe/agent.32 18:56:31 SSH_AGENT_PID=38 18:56:31 Running ssh-add (command line suppressed) 18:56:31 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11704735829517980035.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11704735829517980035.key) 18:56:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:31 + git semver tag 18:56:32 2023-01-03 18:56:32,182 [run_tag] DEBUG tag force:False 18:56:32 2023-01-03 18:56:32,182 [check_head_tag] DEBUG check head tag 18:56:32 2023-01-03 18:56:32,183 [execute] INFO git cat-file --batch-check 18:56:32 2023-01-03 18:56:32,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:56:32 2023-01-03 18:56:32,186 [execute] INFO git cat-file --batch 18:56:32 2023-01-03 18:56:32,186 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:56:32 2023-01-03 18:56:32,206 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:32 2023-01-03 18:56:32,206 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 18:56:32 2023-01-03 18:56:32,206 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:56:32 2023-01-03 18:56:32,211 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:32 3.0.0-dev.5 [Pipeline] } 18:56:32 $ docker exec --env ******** --env ******** 6703ed3925c4d28a17a8dcb2a833312ca29e73491f3ccc6486ff28c3065e051e ssh-agent -k 18:56:32 unset SSH_AUTH_SOCK; 18:56:32 unset SSH_AGENT_PID; 18:56:32 echo Agent pid 38 killed; 18:56:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:32 + git semver [Pipeline] } 18:56:32 $ docker stop --time=1 6703ed3925c4d28a17a8dcb2a833312ca29e73491f3ccc6486ff28c3065e051e 18:56:34 $ docker rm -f --volumes 6703ed3925c4d28a17a8dcb2a833312ca29e73491f3ccc6486ff28c3065e051e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:34 18:56:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:34 0.23.1-centos7: Pulling from edgex-lftools 18:56:34 ab5ef0e58194: Pulling fs layer 18:56:34 9712f1f96733: Pulling fs layer 18:56:34 63f879dbbcfc: Pulling fs layer 18:56:34 0d9ebad4ef96: Pulling fs layer 18:56:34 e9a5061849ea: Pulling fs layer 18:56:34 d747dcd14b5f: Pulling fs layer 18:56:34 2de7ff778b66: Pulling fs layer 18:56:34 0d9ebad4ef96: Waiting 18:56:34 e9a5061849ea: Waiting 18:56:34 d747dcd14b5f: Waiting 18:56:34 2de7ff778b66: Waiting 18:56:34 9712f1f96733: Verifying Checksum 18:56:34 9712f1f96733: Download complete 18:56:35 63f879dbbcfc: Verifying Checksum 18:56:35 63f879dbbcfc: Download complete 18:56:35 e9a5061849ea: Verifying Checksum 18:56:35 e9a5061849ea: Download complete 18:56:35 d747dcd14b5f: Download complete 18:56:35 0d9ebad4ef96: Verifying Checksum 18:56:35 0d9ebad4ef96: Download complete 18:56:35 ab5ef0e58194: Verifying Checksum 18:56:35 ab5ef0e58194: Download complete 18:56:35 2de7ff778b66: Verifying Checksum 18:56:35 2de7ff778b66: Download complete 18:56:39 ab5ef0e58194: Pull complete 18:56:39 9712f1f96733: Pull complete 18:56:39 63f879dbbcfc: Pull complete 18:56:42 0d9ebad4ef96: Pull complete 18:56:43 e9a5061849ea: Pull complete 18:56:43 d747dcd14b5f: Pull complete 18:56:43 2de7ff778b66: Pull complete 18:56:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:44 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:56:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 18:56:52 $ docker top 4468e51d9064c7e639a572fbade66251116f36bd52c0824db3ea37644c646478 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:56:52 provisioning config files... 18:56:52 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12471871360084220931tmp 18:56:52 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9454438786032018323tmp 18:56:52 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config16908486993730585299tmp [Pipeline] { [Pipeline] echo 18:56:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:56:53 ---> sigul-configuration.sh 18:56:53 gpg: directory `/root/.gnupg' created 18:56:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:56:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:56:53 gpg: keyring `/root/.gnupg/secring.gpg' created 18:56:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:56:53 gpg: CAST5 encrypted data 18:56:53 gpg: encrypted with 1 passphrase 18:56:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:56:53 + mkdir /home/jenkins 18:56:53 + mkdir /home/jenkins/sigul [Pipeline] sh 18:56:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:56:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:56:54 ---> sigul-install.sh 18:56:54 Sigul already installed; skipping installation. [Pipeline] sh 18:56:54 + git tag --list 18:56:54 v0.0.0 18:56:54 v0.0.1-dev.1 18:56:54 v0.0.1-dev.10 18:56:54 v0.0.1-dev.11 18:56:54 v0.0.1-dev.12 18:56:54 v0.0.1-dev.13 18:56:54 v0.0.1-dev.14 18:56:54 v0.0.1-dev.15 18:56:54 v0.0.1-dev.16 18:56:54 v0.0.1-dev.2 18:56:54 v0.0.1-dev.3 18:56:54 v0.0.1-dev.4 18:56:54 v0.0.1-dev.5 18:56:54 v0.0.1-dev.6 18:56:54 v0.0.1-dev.7 18:56:54 v0.0.1-dev.8 18:56:54 v0.0.1-dev.9 18:56:54 v2.2.0 18:56:54 v2.2.0-dev.17 18:56:54 v2.2.0-dev.18 18:56:54 v2.2.0-dev.19 18:56:54 v2.2.0-dev.20 18:56:54 v2.2.0-dev.21 18:56:54 v2.2.0-dev.22 18:56:54 v2.2.0-dev.23 18:56:54 v2.2.0-dev.24 18:56:54 v2.2.0-dev.25 18:56:54 v2.2.0-dev.26 18:56:54 v2.2.0-dev.27 18:56:54 v2.3.0-dev.1 18:56:54 v2.3.0-dev.10 18:56:54 v2.3.0-dev.11 18:56:54 v2.3.0-dev.12 18:56:54 v2.3.0-dev.13 18:56:54 v2.3.0-dev.14 18:56:54 v2.3.0-dev.15 18:56:54 v2.3.0-dev.16 18:56:54 v2.3.0-dev.17 18:56:54 v2.3.0-dev.18 18:56:54 v2.3.0-dev.19 18:56:54 v2.3.0-dev.2 18:56:54 v2.3.0-dev.20 18:56:54 v2.3.0-dev.21 18:56:54 v2.3.0-dev.22 18:56:54 v2.3.0-dev.23 18:56:54 v2.3.0-dev.3 18:56:54 v2.3.0-dev.4 18:56:54 v2.3.0-dev.5 18:56:54 v2.3.0-dev.6 18:56:54 v2.3.0-dev.7 18:56:54 v2.3.0-dev.8 18:56:54 v2.3.0-dev.9 18:56:54 v3.0.0-dev.1 18:56:54 v3.0.0-dev.2 18:56:54 v3.0.0-dev.3 18:56:54 v3.0.0-dev.4 18:56:54 v3.0.0-dev.5 [Pipeline] sh 18:56:54 + lftools sign git-tag v3.0.0-dev.5 18:56:55 Signing Git tag with Sigul... 18:56:55 Signing v3.0.0-dev.5 [Pipeline] echo 18:56:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:56:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:56:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:56:56 $ docker stop --time=1 4468e51d9064c7e639a572fbade66251116f36bd52c0824db3ea37644c646478 18:56:57 $ docker rm -f --volumes 4468e51d9064c7e639a572fbade66251116f36bd52c0824db3ea37644c646478 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:56:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:58 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:56:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:56:58 $ docker top 45d8434d7ef69fe76669145eaf241a9109c2630450f5dbcc495a384eaa67005d -eo pid,comm 18:56:58 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). 18:56:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:58 [ssh-agent] Looking for ssh-agent implementation... 18:56:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:58 $ docker exec 45d8434d7ef69fe76669145eaf241a9109c2630450f5dbcc495a384eaa67005d ssh-agent 18:56:58 SSH_AUTH_SOCK=/tmp/ssh-2BwiDWIZc282/agent.32 18:56:58 SSH_AGENT_PID=38 18:56:58 Running ssh-add (command line suppressed) 18:56:58 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6140546708457974493.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6140546708457974493.key) 18:56:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:59 + git semver bump pre 18:56:59 2023-01-03 18:56:59,404 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:59 2023-01-03 18:56:59,404 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 18:56:59 2023-01-03 18:56:59,404 [bump_version] DEBUG bumped version:3.0.0-dev.6 18:56:59 2023-01-03 18:56:59,404 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 18:56:59 2023-01-03 18:56:59,404 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:59 2023-01-03 18:56:59,405 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:59 2023-01-03 18:56:59,407 [execute] INFO git cat-file --batch-check 18:56:59 2023-01-03 18:56:59,407 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:59 2023-01-03 18:56:59,413 [execute] INFO git cat-file --batch 18:56:59 2023-01-03 18:56:59,413 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:56:59 2023-01-03 18:56:59,418 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:56:59 3.0.0-dev.6 [Pipeline] } 18:56:59 $ docker exec --env ******** --env ******** 45d8434d7ef69fe76669145eaf241a9109c2630450f5dbcc495a384eaa67005d ssh-agent -k 18:56:59 unset SSH_AUTH_SOCK; 18:56:59 unset SSH_AGENT_PID; 18:56:59 echo Agent pid 38 killed; 18:56:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:59 + git semver [Pipeline] } 18:57:00 $ docker stop --time=1 45d8434d7ef69fe76669145eaf241a9109c2630450f5dbcc495a384eaa67005d 18:57:01 $ docker rm -f --volumes 45d8434d7ef69fe76669145eaf241a9109c2630450f5dbcc495a384eaa67005d [Pipeline] // withDockerContainer [Pipeline] sh 18:57:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:02 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:57:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:57:02 $ docker top de7360b64e327e9b65ead54350272e070b7dda5c8eaf1e390c7b5bc6d4ecd2e7 -eo pid,comm 18:57:02 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). 18:57:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:02 [ssh-agent] Looking for ssh-agent implementation... 18:57:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:02 $ docker exec de7360b64e327e9b65ead54350272e070b7dda5c8eaf1e390c7b5bc6d4ecd2e7 ssh-agent 18:57:02 SSH_AUTH_SOCK=/tmp/ssh-ykrmYiTLwGM4/agent.32 18:57:02 SSH_AGENT_PID=38 18:57:02 Running ssh-add (command line suppressed) 18:57:02 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8238809573895745532.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8238809573895745532.key) 18:57:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:03 + git semver push 18:57:03 2023-01-03 18:57:03,369 [run_push] DEBUG push 18:57:03 2023-01-03 18:57:03,369 [execute] INFO git cat-file --batch-check 18:57:03 2023-01-03 18:57:03,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:03 2023-01-03 18:57:03,373 [execute] INFO git rev-list b5ff1a342980e79fd266414fab3dd0b92fccd253 -- 18:57:03 2023-01-03 18:57:03,373 [execute] DEBUG Popen(['git', 'rev-list', 'b5ff1a342980e79fd266414fab3dd0b92fccd253', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:03 2023-01-03 18:57:03,379 [execute] INFO git fetch -v origin 18:57:03 2023-01-03 18:57:03,379 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:57:04 2023-01-03 18:57:04,086 [run_push] DEBUG no remote changes detected 18:57:04 2023-01-03 18:57:04,086 [execute] INFO git push origin semver 18:57:04 2023-01-03 18:57:04,087 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:04 2023-01-03 18:57:04,922 [run_push] DEBUG push all version tags 18:57:04 2023-01-03 18:57:04,923 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:57:04 2023-01-03 18:57:04,923 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:57:06 2023-01-03 18:57:05,917 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:57:06 3.0.0-dev.6 [Pipeline] } 18:57:06 $ docker exec --env ******** --env ******** de7360b64e327e9b65ead54350272e070b7dda5c8eaf1e390c7b5bc6d4ecd2e7 ssh-agent -k 18:57:06 unset SSH_AUTH_SOCK; 18:57:06 unset SSH_AGENT_PID; 18:57:06 echo Agent pid 38 killed; 18:57:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:06 + git semver [Pipeline] } 18:57:07 $ docker stop --time=1 de7360b64e327e9b65ead54350272e070b7dda5c8eaf1e390c7b5bc6d4ecd2e7 18:57:08 $ docker rm -f --volumes de7360b64e327e9b65ead54350272e070b7dda5c8eaf1e390c7b5bc6d4ecd2e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 18:57:08 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 18:57:08 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:57:08 total 16 18:57:08 drwxr-xr-x 3 root root 4096 Jan 3 18:46 . 18:57:08 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:56 .. 18:57:08 drwxr-xr-x 2 root root 4096 Jan 3 18:46 cost 18:57:08 -rw-r--r-- 1 root root 88 Jan 3 18:46 cost.csv 18:57:08 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 18:57:08 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:57:08 total 16 18:57:08 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:46 . 18:57:08 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:56 .. 18:57:08 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:46 cost 18:57:08 -rw-r--r-- 1 jenkins jenkins 88 Jan 3 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:09 ---> package-listing.sh 18:57:09 ++ facter osfamily 18:57:09 ++ tr '[:upper:]' '[:lower:]' 18:57:10 + OS_FAMILY=debian 18:57:10 + workspace=/w/workspace/exfoundry_device-usb-camera_main 18:57:10 + START_PACKAGES=/tmp/packages_start.txt 18:57:10 + END_PACKAGES=/tmp/packages_end.txt 18:57:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:10 + PACKAGES=/tmp/packages_start.txt 18:57:10 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:57:10 + PACKAGES=/tmp/packages_end.txt 18:57:10 + case "${OS_FAMILY}" in 18:57:10 + dpkg -l 18:57:10 + grep '^ii' 18:57:10 + '[' -f /tmp/packages_start.txt ']' 18:57:10 + '[' -f /tmp/packages_end.txt ']' 18:57:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:10 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:57:10 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 18:57:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 18:57:10 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:57:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:11 prd-ubuntu20.04-docker-8c-8g-939 does not seem to be running inside a container 18:57:11 $ 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/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:57:11 $ docker top 133cf552edd0ab6a32bd98f9a716b0128c88e778fd3faa75e022b07b91325f6d -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:11 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:12 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:12 + ls /var/log/sa-host 18:57:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:12 provisioning config files... 18:57:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config127943177885995719tmp [Pipeline] { [Pipeline] echo 18:57:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:12 ---> create-netrc.sh [Pipeline] } 18:57:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> python-tools-install.sh [Pipeline] echo 18:57:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> sudo-logs.sh 18:57:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> job-cost.sh 18:57:13 lf-activate-venv: SKIPPING 18:57:13 DEBUG: total: 0.2199999988079071 18:57:13 INFO: Retrieving Stack Cost... 18:57:14 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:14 INFO: Archiving Costs [Pipeline] echo 18:57:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:14 ---> logs-deploy.sh 18:57:14 lf-activate-venv: SKIPPING 18:57:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/69 18:57:14 INFO: archiving workspace using pattern(s): 18:57:15 Archives upload complete. 18:57:15 INFO: archiving logs to Nexus