Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 03955ee09018b338b3036f15f61b85e23fce302f 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-ssh15168020608458684716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8914738471182764905.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7118031964492764061.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh14376278751777506370.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-ssh12725553692649835579.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9940 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 03955ee09018b338b3036f15f61b85e23fce302f (main) Commit message: "feat!: Remove snap packaging (#303)" > 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 03955ee09018b338b3036f15f61b85e23fce302f # timeout=10 > git rev-list --no-walk bda52fbadfd1c9962f4ac4f2e389a0a009478621 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:42:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:42:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:42:25 ========================================================= 15:42:25 EdgeX Global Pipelines Version Info 15:42:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:42:26 ------------------- 15:42:26 stable info: 15:42:26 ------------------- 15:42:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:42:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:42:26 Message: update stable to v1.0.254 15:42:26 ------------------- 15:42:26 experimental info: 15:42:26 ------------------- 15:42:26 Commited By: **** collab-it+edgex@linuxfoundation.org 15:42:26 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 15:42:26 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03955ee [Pipeline] echo 15:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:27 provisioning config files... 15:42:27 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config5421605529072729061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:27 ---> docker-login.sh 15:42:27 nexus3.edgexfoundry.org:10001 15:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 nexus3.edgexfoundry.org:10002 15:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 nexus3.edgexfoundry.org:10003 15:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 nexus3.edgexfoundry.org:10004 15:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 docker.io 15:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:28 Configure a credential helper to remove this warning. See 15:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:28 15:42:28 Login Succeeded 15:42:28 ---> docker-login.sh ends [Pipeline] } 15:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:42:29 + git rev-list -1 --merges 03955ee09018b338b3036f15f61b85e23fce302f~1..03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] echo 15:42:29 -----------> git rev-list -1 --merges 03955ee09018b338b3036f15f61b85e23fce302f~1..03955ee09018b338b3036f15f61b85e23fce302f 03955ee09018b338b3036f15f61b85e23fce302f [false] [Pipeline] sh 15:42:29 + git log --format=format:%s -1 03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] echo 15:42:29 ========================================================= 15:42:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:42:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:29 + git log --format=format:%s -1 03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] echo 15:42:29 [semverPrep] GIT_COMMIT: 03955ee09018b338b3036f15f61b85e23fce302f, Commit Message: feat!: Remove snap packaging (#303) [Pipeline] echo 15:42:29 [semverPrep] This is not a build commit. [Pipeline] sh 15:42:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:42:30 + grep -v github /etc/ssh/ssh_known_hosts 15:42:30 + [ -e /tmp/ssh_known_hosts ] 15:42:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:42:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:42:30 + sudo tee -a /etc/ssh/ssh_known_hosts 15:42:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:30 15:42:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:30 0.1.4: Pulling from edgex-devops/py-git-semver 15:42:30 b85a868b505f: Pulling fs layer 15:42:30 e2be974225ed: Pulling fs layer 15:42:30 339a4e72a1f5: Pulling fs layer 15:42:30 988bab9f4d93: Pulling fs layer 15:42:30 1469e6f7b9e6: Pulling fs layer 15:42:30 eaf3925da568: Pulling fs layer 15:42:30 bab4dde63d76: Pulling fs layer 15:42:30 bde34c3a00c8: Pulling fs layer 15:42:30 b352a97aabf1: Pulling fs layer 15:42:30 4872d77fe225: Pulling fs layer 15:42:30 5851b861e8e6: Pulling fs layer 15:42:30 988bab9f4d93: Waiting 15:42:30 bde34c3a00c8: Waiting 15:42:30 1469e6f7b9e6: Waiting 15:42:30 eaf3925da568: Waiting 15:42:30 bab4dde63d76: Waiting 15:42:30 b352a97aabf1: Waiting 15:42:30 5851b861e8e6: Waiting 15:42:30 4872d77fe225: Waiting 15:42:30 e2be974225ed: Download complete 15:42:30 988bab9f4d93: Download complete 15:42:31 1469e6f7b9e6: Download complete 15:42:31 eaf3925da568: Verifying Checksum 15:42:31 339a4e72a1f5: Verifying Checksum 15:42:31 339a4e72a1f5: Download complete 15:42:31 bde34c3a00c8: Verifying Checksum 15:42:31 bde34c3a00c8: Download complete 15:42:31 b352a97aabf1: Verifying Checksum 15:42:31 b352a97aabf1: Download complete 15:42:31 4872d77fe225: Verifying Checksum 15:42:31 4872d77fe225: Download complete 15:42:31 5851b861e8e6: Verifying Checksum 15:42:31 5851b861e8e6: Download complete 15:42:31 b85a868b505f: Verifying Checksum 15:42:31 b85a868b505f: Download complete 15:42:31 bab4dde63d76: Verifying Checksum 15:42:31 bab4dde63d76: Download complete 15:42:32 b85a868b505f: Pull complete 15:42:32 e2be974225ed: Pull complete 15:42:33 339a4e72a1f5: Pull complete 15:42:33 988bab9f4d93: Pull complete 15:42:33 1469e6f7b9e6: Pull complete 15:42:33 eaf3925da568: Pull complete 15:42:35 bab4dde63d76: Pull complete 15:42:35 bde34c3a00c8: Pull complete 15:42:36 b352a97aabf1: Pull complete 15:42:36 4872d77fe225: Pull complete 15:42:36 5851b861e8e6: Pull complete 15:42:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:42:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:36 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:42:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:42:39 $ docker top f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 -eo pid,comm 15:42:39 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). 15:42:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:42:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:39 [ssh-agent] Looking for ssh-agent implementation... 15:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:40 $ docker exec f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 ssh-agent 15:42:40 SSH_AUTH_SOCK=/tmp/ssh-AYBS2ckCkUA5/agent.33 15:42:40 SSH_AGENT_PID=39 15:42:40 Running ssh-add (command line suppressed) 15:42:40 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7613795667567112301.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7613795667567112301.key) 15:42:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:40 + git tag --points-at HEAD [Pipeline] } 15:42:40 $ docker exec --env ******** --env ******** f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 ssh-agent -k 15:42:40 unset SSH_AUTH_SOCK; 15:42:40 unset SSH_AGENT_PID; 15:42:40 echo Agent pid 39 killed; 15:42:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:42:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:42:40 [ssh-agent] Looking for ssh-agent implementation... 15:42:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:42:40 $ docker exec f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 ssh-agent 15:42:41 SSH_AUTH_SOCK=/tmp/ssh-ryS0HkTvynuh/agent.70 15:42:41 SSH_AGENT_PID=76 15:42:41 Running ssh-add (command line suppressed) 15:42:41 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4752526487677440186.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4752526487677440186.key) 15:42:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:42:41 + git semver init 15:42:41 2023-10-24 15:42:41,602 [run_init] DEBUG init version:0.0.0 force:False 15:42:41 2023-10-24 15:42:41,603 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 15:42:41 2023-10-24 15:42:41,604 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 15:42:41 2023-10-24 15:42:41,604 [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) 15:42:42 2023-10-24 15:42:42,408 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 15:42:42 2023-10-24 15:42:42,408 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 15:42:42 2023-10-24 15:42:42,409 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:42:42 2023-10-24 15:42:42,409 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:42:42 3.1.0-dev.32 [Pipeline] } 15:42:42 $ docker exec --env ******** --env ******** f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 ssh-agent -k 15:42:42 unset SSH_AUTH_SOCK; 15:42:42 unset SSH_AGENT_PID; 15:42:42 echo Agent pid 76 killed; 15:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:42:43 + git semver [Pipeline] } 15:42:43 $ docker stop --time=1 f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 15:42:44 $ docker rm -f --volumes f42bc05daee5c225e93a77bf588f81a3530884bbddc9da86359c1b231b377c38 [Pipeline] // withDockerContainer [Pipeline] sh 15:42:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:42:45 Stashed 1 file(s) [Pipeline] echo 15:42:45 [edgeXSemver]: initialized semver on version 3.1.0-dev.32 [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 15:42:45 provisioning config files... 15:42:45 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config531089105241661986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:45 ---> docker-login.sh 15:42:45 nexus3.edgexfoundry.org:10001 15:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:45 Configure a credential helper to remove this warning. See 15:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:45 15:42:45 Login Succeeded 15:42:45 nexus3.edgexfoundry.org:10002 15:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:45 Configure a credential helper to remove this warning. See 15:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:45 15:42:45 Login Succeeded 15:42:45 nexus3.edgexfoundry.org:10003 15:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:45 Configure a credential helper to remove this warning. See 15:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:45 15:42:45 Login Succeeded 15:42:45 nexus3.edgexfoundry.org:10004 15:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:45 Configure a credential helper to remove this warning. See 15:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:45 15:42:45 Login Succeeded 15:42:45 docker.io 15:42:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:46 Configure a credential helper to remove this warning. See 15:42:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:46 15:42:46 Login Succeeded 15:42:46 ---> docker-login.sh ends [Pipeline] } 15:42:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:46 ========================================================= 15:42:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 15:42:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:46 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:42:46 Sending build context to Docker daemon 2.248MB 15:42:46 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:42:46 Step 2/13 : FROM ${BASE} AS builder 15:42:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 15:42:46 7264a8db6415: Pulling fs layer 15:42:46 c4d48a809fc2: Pulling fs layer 15:42:46 4f1c88b9dad5: Pulling fs layer 15:42:46 ad3a456e5733: Pulling fs layer 15:42:46 33e27b845d1e: Pulling fs layer 15:42:46 c68163c4e522: Pulling fs layer 15:42:46 50da416c3ac9: Pulling fs layer 15:42:46 23d2d4c4bb30: Pulling fs layer 15:42:46 33e27b845d1e: Waiting 15:42:46 c68163c4e522: Waiting 15:42:46 50da416c3ac9: Waiting 15:42:46 23d2d4c4bb30: Waiting 15:42:46 c4d48a809fc2: Download complete 15:42:46 ad3a456e5733: Download complete 15:42:46 33e27b845d1e: Verifying Checksum 15:42:46 33e27b845d1e: Download complete 15:42:47 7264a8db6415: Verifying Checksum 15:42:47 7264a8db6415: Download complete 15:42:47 c68163c4e522: Verifying Checksum 15:42:47 c68163c4e522: Download complete 15:42:47 7264a8db6415: Pull complete 15:42:47 23d2d4c4bb30: Verifying Checksum 15:42:47 23d2d4c4bb30: Download complete 15:42:47 c4d48a809fc2: Pull complete 15:42:47 4f1c88b9dad5: Verifying Checksum 15:42:47 4f1c88b9dad5: Download complete 15:42:47 50da416c3ac9: Verifying Checksum 15:42:47 50da416c3ac9: Download complete 15:42:51 4f1c88b9dad5: Pull complete 15:42:51 ad3a456e5733: Pull complete 15:42:51 33e27b845d1e: Pull complete 15:42:51 c68163c4e522: Pull complete 15:42:53 50da416c3ac9: Pull complete 15:42:53 23d2d4c4bb30: Pull complete 15:42:53 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 15:42:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 15:42:53 ---> 0786185ac409 15:42:53 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:42:59 ---> Running in 36143dd679ff 15:42:59 Removing intermediate container 36143dd679ff 15:42:59 ---> 03106c6cd223 15:42:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:42:59 ---> Running in ce13a1dba4ef 15:42:59 Removing intermediate container ce13a1dba4ef 15:42:59 ---> 6f691973ab56 15:42:59 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:42:59 ---> Running in 1b870f420d7f 15:42:59 Removing intermediate container 1b870f420d7f 15:42:59 ---> 5c283c0f57ee 15:42:59 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:42:59 ---> Running in 75e4d9f05732 15:42:59 Removing intermediate container 75e4d9f05732 15:42:59 ---> a19799564a0b 15:42:59 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:42:59 ---> Running in 8521185463a4 15:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:43:00 Still waiting to schedule task 15:43:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:43:00 (1/13) Installing libintl (0.21.1-r7) 15:43:00 (2/13) Installing eudev-libs (3.2.11-r8) 15:43:00 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 15:43:00 (4/13) Installing v4l-utils-libs (1.24.1-r0) 15:43:00 (5/13) Installing v4l-utils (1.24.1-r0) 15:43:00 (6/13) Installing libdvbv5 (1.24.1-r0) 15:43:00 (7/13) Installing udev-init-scripts (35-r1) 15:43:00 (8/13) Installing libblkid (2.38.1-r8) 15:43:00 (9/13) Installing xz-libs (5.4.3-r0) 15:43:00 (10/13) Installing kmod-libs (30-r3) 15:43:00 (11/13) Installing eudev (3.2.11-r8) 15:43:00 (12/13) Installing eudev-dev (3.2.11-r8) 15:43:00 (13/13) Installing v4l-utils-dev (1.24.1-r0) 15:43:00 Executing busybox-1.36.1-r2.trigger 15:43:00 Executing eudev-3.2.11-r8.trigger 15:43:00 OK: 271 MiB in 65 packages 15:43:00 Removing intermediate container 8521185463a4 15:43:00 ---> 42e82f108561 15:43:00 Step 8/13 : WORKDIR /device-usb-camera 15:43:00 ---> Running in 29db47f84d7e 15:43:00 Removing intermediate container 29db47f84d7e 15:43:00 ---> a8e5c0cd6d1b 15:43:00 Step 9/13 : COPY go.mod vendor* ./ 15:43:01 ---> 042a548759b9 15:43:01 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:01 ---> Running in 3f9fcdab243d 15:43:57 Removing intermediate container 3f9fcdab243d 15:43:57 ---> f6f130d2afaf 15:43:57 Step 11/13 : COPY . . 15:43:57 ---> ea35754d52a6 15:43:57 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:43:57 ---> Running in 17f227237c28 15:43:57  % Total % Received % Xferd Average Speed Time Time Time Current 15:43:57 Dload Upload Total Spent Left Speed 15:43:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 11231 0 --:--:-- --:--:-- --:--:-- 11288 15:43:57 Removing intermediate container 17f227237c28 15:43:57 ---> 8b911df5304c 15:43:57 Step 13/13 : RUN ${MAKE} 15:43:57 ---> Running in f40d847bf843 15:43:57 noop 15:43:57 Removing intermediate container f40d847bf843 15:43:57 ---> e114ff785383 15:43:57 Successfully built e114ff785383 15:43:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:43:57 + docker inspect -f . ci-base-image-x86_64 15:43:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:43:57 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:43:57 $ 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 ******** ci-base-image-x86_64 cat 15:43:58 $ docker top 11d2d9db811966f5ebff1d7773f66fa14faaa13d471894b466cbd7f8ffe7e619 -eo pid,comm [Pipeline] { [Pipeline] sh 15:43:58 + go version 15:43:58 go version go1.21.0 linux/amd64 [Pipeline] } 15:43:58 $ docker stop --time=1 11d2d9db811966f5ebff1d7773f66fa14faaa13d471894b466cbd7f8ffe7e619 15:43:59 $ docker rm -f --volumes 11d2d9db811966f5ebff1d7773f66fa14faaa13d471894b466cbd7f8ffe7e619 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:00 + docker inspect -f . ci-base-image-x86_64 15:44:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:00 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:44:00 $ 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 ******** ci-base-image-x86_64 cat 15:44:00 $ docker top f57ac19823878e47630585e07e0f815216ae1be02bf5c83020553685a152f39c -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:00 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 15:44:01 + make test 15:44:01 go test ./... -coverprofile=coverage.out ./... 15:44:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:44:14 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:44:14 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.021s coverage: 4.4% of statements 15:44:20 go vet ./... 15:44:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:44:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:44:23 ./bin/test-attribution-txt.sh [Pipeline] echo 15:44:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:44:23 $ docker stop --time=1 f57ac19823878e47630585e07e0f815216ae1be02bf5c83020553685a152f39c 15:44:27 $ docker rm -f --volumes f57ac19823878e47630585e07e0f815216ae1be02bf5c83020553685a152f39c [Pipeline] // withDockerContainer [Pipeline] sh 15:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:44:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:44:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:44:28 + ls -al . 15:44:28 total 216 15:44:28 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 15:44 . 15:44:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:42 .. 15:44:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:44 .git 15:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:42 .github 15:44:28 -rw-rw-r-- 1 jenkins jenkins 429 Oct 24 15:42 .gitignore 15:44:28 -rw-rw-r-- 1 jenkins jenkins 45 Oct 24 15:42 .golangci.yml 15:44:28 -rw-rw-r-- 1 jenkins jenkins 77 Oct 24 15:42 .hadolint.yml 15:44:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:42 .semver 15:44:28 -rw-rw-r-- 1 jenkins jenkins 10851 Oct 24 15:42 Attribution.txt 15:44:28 -rw-rw-r-- 1 jenkins jenkins 11903 Oct 24 15:42 CHANGELOG.md 15:44:28 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 24 15:42 Dockerfile 15:44:28 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 15:42 GOVERNANCE.md 15:44:28 -rw-rw-r-- 1 jenkins jenkins 659 Oct 24 15:42 Jenkinsfile 15:44:28 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 15:42 LICENSE 15:44:28 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 24 15:42 Makefile 15:44:28 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:42 OWNERS.md 15:44:28 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 24 15:42 README.md 15:44:28 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:42 VERSION 15:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:42 bin 15:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:42 cmd 15:44:28 -rw-r--r-- 1 jenkins jenkins 54703 Oct 24 15:44 coverage.out 15:44:28 -rwxrwxr-x 1 jenkins jenkins 84 Oct 24 15:42 docker-entrypoint.sh 15:44:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:42 docs 15:44:28 -rw-rw-r-- 1 jenkins jenkins 3925 Oct 24 15:42 go.mod 15:44:28 -rw-rw-r-- 1 jenkins jenkins 34838 Oct 24 15:42 go.sum 15:44:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:42 internal 15:44:28 -rw-rw-r-- 1 jenkins jenkins 231 Oct 24 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:28 + 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=03955ee09018b338b3036f15f61b85e23fce302f --label arch=amd64 --label version=3.1.0-dev.32 . 15:44:28 Sending build context to Docker daemon 2.303MB 15:44:28 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 15:44:28 Step 2/36 : FROM ${BASE} AS builder 15:44:28 ---> e114ff785383 15:44:28 Step 3/36 : ARG ADD_BUILD_TAGS="" 15:44:28 ---> Running in d52ae8dbe05e 15:44:28 Removing intermediate container d52ae8dbe05e 15:44:28 ---> 577573362deb 15:44:28 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:44:28 ---> Running in 996a004cba12 15:44:28 Removing intermediate container 996a004cba12 15:44:28 ---> 2f2130779ea4 15:44:28 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:44:28 ---> Running in ba330652fa1f 15:44:29 Removing intermediate container ba330652fa1f 15:44:29 ---> 668f32856ef3 15:44:29 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:44:29 ---> Running in 4ad91c776dbe 15:44:29 Removing intermediate container 4ad91c776dbe 15:44:29 ---> a5f33cb45d27 15:44:29 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:44:29 ---> Running in eabef2e7014c 15:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:44:29 OK: 271 MiB in 65 packages 15:44:30 Removing intermediate container eabef2e7014c 15:44:30 ---> 65ce12d96558 15:44:30 Step 8/36 : WORKDIR /device-usb-camera 15:44:30 ---> Running in 33901c1a19ee 15:44:30 Removing intermediate container 33901c1a19ee 15:44:30 ---> 35687c219d56 15:44:30 Step 9/36 : COPY go.mod vendor* ./ 15:44:30 ---> d3276f4d91cc 15:44:30 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:30 ---> Running in 7fe4c1dd2fb7 15:44:31 Removing intermediate container 7fe4c1dd2fb7 15:44:31 ---> 0333c8babccb 15:44:31 Step 11/36 : COPY . . 15:44:31 ---> 3d0d7cadca5d 15:44:31 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:44:31 ---> Running in 6386b31cfc87 15:44:31  % Total % Received % Xferd Average Speed Time Time Time Current 15:44:31 Dload Upload Total Spent Left Speed 15:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 41213 0 --:--:-- --:--:-- --:--:-- 41766 15:44:32 Removing intermediate container 6386b31cfc87 15:44:32 ---> 8110d4ba5f2b 15:44:32 Step 13/36 : RUN ${MAKE} 15:44:32 ---> Running in 882eb7d2b41c 15:44:32 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:44:54 Removing intermediate container 882eb7d2b41c 15:44:54 ---> 5c8d53a3aa43 15:44:54 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 15:44:54 v0.21.6: Pulling from aler9/rtsp-simple-server 15:44:54 4acc49c71d14: Pulling fs layer 15:44:54 4acc49c71d14: Verifying Checksum 15:44:54 4acc49c71d14: Download complete 15:44:54 4acc49c71d14: Pull complete 15:44:54 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 15:44:54 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 15:44:54 ---> 01a2bd3e5fff 15:44:54 Step 15/36 : FROM alpine:3.18 15:44:54 3.18: Pulling from library/alpine 15:44:54 96526aa774ef: Pulling fs layer 15:44:54 96526aa774ef: Verifying Checksum 15:44:54 96526aa774ef: Download complete 15:44:54 96526aa774ef: Pull complete 15:44:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:44:54 Status: Downloaded newer image for alpine:3.18 15:44:54 ---> 8ca4688f4f35 15:44:54 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:44:54 ---> Running in 9cf28d8eaf85 15:44:54 Removing intermediate container 9cf28d8eaf85 15:44:54 ---> 64484af3c0fd 15:44:54 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:44:54 ---> Running in 0aea12d5bf26 15:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 15:44:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 15:44:55 (1/107) Installing dumb-init (1.2.5-r2) 15:44:55 (2/107) Installing sdl2 (2.26.5-r0) 15:44:55 (3/107) Installing svt-av1-libs (1.6.0-r0) 15:44:55 (4/107) Installing aom-libs (3.6.1-r0) 15:44:55 (5/107) Installing libxau (1.0.11-r2) 15:44:55 (6/107) Installing libmd (1.0.4-r2) 15:44:55 (7/107) Installing libbsd (0.11.7-r1) 15:44:55 (8/107) Installing libxdmcp (1.1.4-r2) 15:44:55 (9/107) Installing libxcb (1.15-r1) 15:44:55 (10/107) Installing libx11 (1.8.4-r4) 15:44:55 (11/107) Installing hwdata-pci (0.370-r0) 15:44:55 (12/107) Installing libpciaccess (0.17-r2) 15:44:55 (13/107) Installing libdrm (2.4.115-r4) 15:44:55 (14/107) Installing libxext (1.3.5-r2) 15:44:55 (15/107) Installing libxfixes (6.0.1-r2) 15:44:55 (16/107) Installing libffi (3.4.4-r2) 15:44:55 (17/107) Installing wayland-libs-client (1.22.0-r2) 15:44:55 (18/107) Installing libva (2.18.0-r1) 15:44:55 (19/107) Installing libvdpau (1.5-r1) 15:44:55 (20/107) Installing libgcc (12.2.1_git20220924-r10) 15:44:55 (21/107) Installing libstdc++ (12.2.1_git20220924-r10) 15:44:55 (22/107) Installing onevpl-libs (2023.2.1-r0) 15:44:55 (23/107) Installing ffmpeg-libavutil (6.0-r15) 15:44:55 (24/107) Installing libdav1d (1.2.1-r0) 15:44:55 (25/107) Installing brotli-libs (1.0.9-r14) 15:44:55 (26/107) Installing libhwy (1.0.4-r1) 15:44:55 (27/107) Installing lcms2 (2.15-r2) 15:44:55 (28/107) Installing libjxl (0.8.2-r0) 15:44:55 (29/107) Installing lame-libs (3.100-r5) 15:44:55 (30/107) Installing opus (1.4-r0) 15:44:55 (31/107) Installing libgomp (12.2.1_git20220924-r10) 15:44:55 (32/107) Installing soxr (0.1.3-r5) 15:44:55 (33/107) Installing ffmpeg-libswresample (6.0-r15) 15:44:55 (34/107) Installing libogg (1.3.5-r4) 15:44:56 (35/107) Installing libtheora (1.1.1-r17) 15:44:56 (36/107) Installing libvorbis (1.3.7-r1) 15:44:56 (37/107) Installing libvpx (1.13.0-r2) 15:44:56 (38/107) Installing libwebp (1.3.2-r0) 15:44:56 (39/107) Installing x264-libs (0.164_git20220602-r1) 15:44:56 (40/107) Installing numactl (2.0.16-r4) 15:44:56 (41/107) Installing x265-libs (3.5-r4) 15:44:56 (42/107) Installing xvidcore (1.3.7-r1) 15:44:56 (43/107) Installing ffmpeg-libavcodec (6.0-r15) 15:44:56 (44/107) Installing alsa-lib (1.2.9-r1) 15:44:56 (45/107) Installing libexpat (2.5.0-r1) 15:44:56 (46/107) Installing libbz2 (1.0.8-r5) 15:44:56 (47/107) Installing libpng (1.6.39-r3) 15:44:56 (48/107) Installing freetype (2.13.0-r5) 15:44:56 (49/107) Installing fontconfig (2.14.2-r3) 15:44:56 (50/107) Installing fribidi (1.0.13-r0) 15:44:56 (51/107) Installing libintl (0.21.1-r7) 15:44:56 (52/107) Installing libblkid (2.38.1-r8) 15:44:56 (53/107) Installing libmount (2.38.1-r8) 15:44:56 (54/107) Installing pcre2 (10.42-r1) 15:44:56 (55/107) Installing glib (2.76.4-r0) 15:44:56 (56/107) Installing graphite2 (1.3.14-r5) 15:44:56 (57/107) Installing harfbuzz (7.3.0-r0) 15:44:56 (58/107) Installing libunibreak (5.1-r0) 15:44:56 (59/107) Installing libass (0.17.1-r0) 15:44:56 (60/107) Installing libbluray (1.3.4-r0) 15:44:56 (61/107) Installing gmp (6.2.1-r3) 15:44:56 (62/107) Installing nettle (3.8.1-r2) 15:44:56 (63/107) Installing libunistring (1.1-r1) 15:44:56 (64/107) Installing libidn2 (2.3.4-r1) 15:44:56 (65/107) Installing p11-kit (0.24.1-r2) 15:44:56 (66/107) Installing libtasn1 (4.19.0-r1) 15:44:56 (67/107) Installing gnutls (3.8.0-r2) 15:44:56 (68/107) Installing mpg123-libs (1.31.3-r1) 15:44:56 (69/107) Installing libopenmpt (0.7.2-r0) 15:44:56 (70/107) Installing cjson (1.7.15-r4) 15:44:56 (71/107) Installing mbedtls (2.28.5-r0) 15:44:56 (72/107) Installing librist (0.2.7-r0) 15:44:56 (73/107) Installing libsrt (1.5.2-r0) 15:44:56 (74/107) Installing libssh (0.10.5-r0) 15:44:56 (75/107) Installing xz-libs (5.4.3-r0) 15:44:56 (76/107) Installing libxml2 (2.11.4-r0) 15:44:56 (77/107) Installing libsodium (1.0.18-r3) 15:44:56 (78/107) Installing libzmq (4.3.4-r4) 15:44:56 (79/107) Installing ffmpeg-libavformat (6.0-r15) 15:44:56 (80/107) Installing glslang-libs (1.3.243.0-r1) 15:44:56 (81/107) Installing spirv-tools (1.3.243.0-r1) 15:44:56 (82/107) Installing shaderc (2023.3-r1) 15:44:56 (83/107) Installing vulkan-loader (1.3.243.0-r1) 15:44:56 (84/107) Installing libplacebo (5.264.1-r1) 15:44:56 (85/107) Installing ffmpeg-libpostproc (6.0-r15) 15:44:56 (86/107) Installing ffmpeg-libswscale (6.0-r15) 15:44:56 (87/107) Installing vidstab (1.1.1-r0) 15:44:56 (88/107) Installing zimg (3.0.5-r0) 15:44:56 (89/107) Installing ffmpeg-libavfilter (6.0-r15) 15:44:56 (90/107) Installing libasyncns (0.8-r1) 15:44:56 (91/107) Installing dbus-libs (1.14.8-r0) 15:44:56 (92/107) Installing libltdl (2.4.7-r2) 15:44:56 (93/107) Installing orc (0.4.34-r0) 15:44:56 (94/107) Installing flac-libs (1.4.3-r0) 15:44:56 (95/107) Installing libsndfile (1.2.0-r2) 15:44:56 (96/107) Installing speexdsp (1.2.1-r1) 15:44:56 (97/107) Installing tdb-libs (1.4.8-r1) 15:44:56 (98/107) Installing libpulse (16.1-r10) 15:44:56 (99/107) Installing libjpeg-turbo (2.1.5.1-r3) 15:44:56 (100/107) Installing v4l-utils-libs (1.24.1-r0) 15:44:56 (101/107) Installing ffmpeg-libavdevice (6.0-r15) 15:44:56 (102/107) Installing ffmpeg (6.0-r15) 15:44:56 (103/107) Installing udev-init-scripts (35-r1) 15:44:56 (104/107) Installing eudev-libs (3.2.11-r8) 15:44:56 (105/107) Installing zstd-libs (1.5.5-r4) 15:44:56 (106/107) Installing kmod-libs (30-r3) 15:44:56 (107/107) Installing eudev (3.2.11-r8) 15:44:56 Executing busybox-1.36.1-r2.trigger 15:44:56 Executing glib-2.76.4-r0.trigger 15:44:56 Executing eudev-3.2.11-r8.trigger 15:44:56 OK: 131 MiB in 122 packages 15:45:00 Removing intermediate container 0aea12d5bf26 15:45:00 ---> de0efd6ca1ed 15:45:00 Step 18/36 : WORKDIR / 15:45:00 ---> Running in d3efb57944cb 15:45:00 Removing intermediate container d3efb57944cb 15:45:00 ---> 2f13e2b5488d 15:45:00 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 15:45:00 ---> fcd35de8a3ce 15:45:00 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 15:45:00 ---> ae952b75737c 15:45:00 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:45:00 ---> e167a36624a6 15:45:00 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:45:00 ---> f64ec54b303e 15:45:00 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:45:01 ---> 7ae062ebfacd 15:45:01 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 15:45:01 ---> e01dfa8d19c3 15:45:01 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 15:45:01 ---> 1577226c2ef5 15:45:01 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:45:02 ---> Running in 3bcde5611362 15:45:02 Removing intermediate container 3bcde5611362 15:45:02 ---> 83728f859c20 15:45:02 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:45:02 ---> Running in d1feddc1ac7c 15:45:02 Removing intermediate container d1feddc1ac7c 15:45:02 ---> c873e0a29611 15:45:02 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:45:02 ---> Running in 733e574f7993 15:45:03 Removing intermediate container 733e574f7993 15:45:03 ---> 3313fede944e 15:45:03 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 15:45:03 ---> Running in 95c382becab9 15:45:04 Removing intermediate container 95c382becab9 15:45:04 ---> 666fc587cc7e 15:45:04 Step 30/36 : EXPOSE 59983 15:45:04 ---> Running in 1f53d617b77b 15:45:04 Removing intermediate container 1f53d617b77b 15:45:04 ---> d721b69e2c7c 15:45:04 Step 31/36 : EXPOSE 8554 15:45:04 ---> Running in ce4529796249 15:45:04 Removing intermediate container ce4529796249 15:45:04 ---> b13a200b163a 15:45:04 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:45:04 ---> Running in 281902cc53a0 15:45:04 Removing intermediate container 281902cc53a0 15:45:04 ---> 710172e6023f 15:45:04 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:45:04 ---> Running in d1e4689ba18c 15:45:04 Removing intermediate container d1e4689ba18c 15:45:04 ---> 3d86d4d6e473 15:45:04 Step 34/36 : LABEL arch=amd64 15:45:04 ---> Running in 226e8483871b 15:45:04 Removing intermediate container 226e8483871b 15:45:04 ---> 46eab8496983 15:45:04 Step 35/36 : LABEL git_sha=03955ee09018b338b3036f15f61b85e23fce302f 15:45:04 ---> Running in bef3fe6d2af9 15:45:04 Removing intermediate container bef3fe6d2af9 15:45:04 ---> 2fb48f977a9b 15:45:04 Step 36/36 : LABEL version=3.1.0-dev.32 15:45:04 ---> Running in 1889c8538fc2 15:45:04 Removing intermediate container 1889c8538fc2 15:45:04 ---> 5a710b07406d 15:45:04 [Warning] One or more build-args [ARCH] were not consumed 15:45:04 Successfully built 5a710b07406d 15:45:04 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 15:45:04 provisioning config files... 15:45:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8230232790802040219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:04 ---> docker-login.sh 15:45:04 nexus3.edgexfoundry.org:10001 15:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:04 Configure a credential helper to remove this warning. See 15:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:04 15:45:04 Login Succeeded 15:45:04 nexus3.edgexfoundry.org:10002 15:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:04 Configure a credential helper to remove this warning. See 15:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:04 15:45:04 Login Succeeded 15:45:04 nexus3.edgexfoundry.org:10003 15:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:05 Configure a credential helper to remove this warning. See 15:45:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:05 15:45:05 Login Succeeded 15:45:05 nexus3.edgexfoundry.org:10004 15:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:05 Configure a credential helper to remove this warning. See 15:45:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:05 15:45:05 Login Succeeded 15:45:05 docker.io 15:45:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:45:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:45:05 Configure a credential helper to remove this warning. See 15:45:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:45:05 15:45:05 Login Succeeded 15:45:05 ---> docker-login.sh ends [Pipeline] } 15:45:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:45:05 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 15:45:05 03955ee09018b338b3036f15f61b85e23fce302f 15:45:05 latest 15:45:05 3.1.0-dev.32 15:45:05 03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:45:05 main 15:45:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:05 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f 15:45:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:45:06 8318c40e0267: Preparing 15:45:06 2914f3235fa5: Preparing 15:45:06 32c5973313d3: Preparing 15:45:06 c33fd0ef3f59: Preparing 15:45:06 3827b5b91e75: Preparing 15:45:06 acc83c6ca332: Preparing 15:45:06 6ba5d5640fa2: Preparing 15:45:06 aa720dddf7c7: Preparing 15:45:06 f3765651c03c: Preparing 15:45:06 8480ac4cd255: Preparing 15:45:06 544d69010686: Preparing 15:45:06 423f4c7cbd0a: Preparing 15:45:06 cc2447e1835a: Preparing 15:45:06 acc83c6ca332: Waiting 15:45:06 6ba5d5640fa2: Waiting 15:45:06 423f4c7cbd0a: Waiting 15:45:06 aa720dddf7c7: Waiting 15:45:06 cc2447e1835a: Waiting 15:45:06 f3765651c03c: Waiting 15:45:06 8480ac4cd255: Waiting 15:45:06 544d69010686: Waiting 15:45:06 c33fd0ef3f59: Pushed 15:45:06 32c5973313d3: Pushed 15:45:06 2914f3235fa5: Pushed 15:45:06 8318c40e0267: Pushed 15:45:06 acc83c6ca332: Pushed 15:45:06 f3765651c03c: Pushed 15:45:06 6ba5d5640fa2: Pushed 15:45:06 aa720dddf7c7: Pushed 15:45:06 cc2447e1835a: Layer already exists 15:45:06 8480ac4cd255: Pushed 15:45:08 3827b5b91e75: Pushed 15:45:09 544d69010686: Pushed 15:45:19 423f4c7cbd0a: Pushed 15:45:19 03955ee09018b338b3036f15f61b85e23fce302f: digest: sha256:f438a0803c19720eae544443ff8f2545a8ae4cff2c4d6ef9a8a84414316e7771 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:19 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:45:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:45:19 8318c40e0267: Preparing 15:45:19 2914f3235fa5: Preparing 15:45:19 32c5973313d3: Preparing 15:45:19 c33fd0ef3f59: Preparing 15:45:19 3827b5b91e75: Preparing 15:45:19 acc83c6ca332: Preparing 15:45:19 6ba5d5640fa2: Preparing 15:45:19 aa720dddf7c7: Preparing 15:45:19 f3765651c03c: Preparing 15:45:19 8480ac4cd255: Preparing 15:45:19 544d69010686: Preparing 15:45:19 423f4c7cbd0a: Preparing 15:45:19 cc2447e1835a: Preparing 15:45:19 aa720dddf7c7: Waiting 15:45:19 acc83c6ca332: Waiting 15:45:19 f3765651c03c: Waiting 15:45:19 8480ac4cd255: Waiting 15:45:19 6ba5d5640fa2: Waiting 15:45:19 544d69010686: Waiting 15:45:19 423f4c7cbd0a: Waiting 15:45:19 cc2447e1835a: Waiting 15:45:19 32c5973313d3: Layer already exists 15:45:19 2914f3235fa5: Layer already exists 15:45:19 8318c40e0267: Layer already exists 15:45:19 3827b5b91e75: Layer already exists 15:45:19 c33fd0ef3f59: Layer already exists 15:45:19 6ba5d5640fa2: Layer already exists 15:45:19 f3765651c03c: Layer already exists 15:45:19 acc83c6ca332: Layer already exists 15:45:19 aa720dddf7c7: Layer already exists 15:45:19 8480ac4cd255: Layer already exists 15:45:19 544d69010686: Layer already exists 15:45:19 423f4c7cbd0a: Layer already exists 15:45:19 cc2447e1835a: Layer already exists 15:45:19 latest: digest: sha256:f438a0803c19720eae544443ff8f2545a8ae4cff2c4d6ef9a8a84414316e7771 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:20 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.32 15:45:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:45:20 8318c40e0267: Preparing 15:45:20 2914f3235fa5: Preparing 15:45:20 32c5973313d3: Preparing 15:45:20 c33fd0ef3f59: Preparing 15:45:20 3827b5b91e75: Preparing 15:45:20 acc83c6ca332: Preparing 15:45:20 6ba5d5640fa2: Preparing 15:45:20 aa720dddf7c7: Preparing 15:45:20 f3765651c03c: Preparing 15:45:20 8480ac4cd255: Preparing 15:45:20 544d69010686: Preparing 15:45:20 423f4c7cbd0a: Preparing 15:45:20 cc2447e1835a: Preparing 15:45:20 8480ac4cd255: Waiting 15:45:20 acc83c6ca332: Waiting 15:45:20 f3765651c03c: Waiting 15:45:20 6ba5d5640fa2: Waiting 15:45:20 423f4c7cbd0a: Waiting 15:45:20 cc2447e1835a: Waiting 15:45:20 544d69010686: Waiting 15:45:20 aa720dddf7c7: Waiting 15:45:20 c33fd0ef3f59: Layer already exists 15:45:20 2914f3235fa5: Layer already exists 15:45:20 32c5973313d3: Layer already exists 15:45:20 8318c40e0267: Layer already exists 15:45:20 3827b5b91e75: Layer already exists 15:45:20 acc83c6ca332: Layer already exists 15:45:20 6ba5d5640fa2: Layer already exists 15:45:20 f3765651c03c: Layer already exists 15:45:20 8480ac4cd255: Layer already exists 15:45:20 aa720dddf7c7: Layer already exists 15:45:20 544d69010686: Layer already exists 15:45:20 423f4c7cbd0a: Layer already exists 15:45:20 cc2447e1835a: Layer already exists 15:45:20 3.1.0-dev.32: digest: sha256:f438a0803c19720eae544443ff8f2545a8ae4cff2c4d6ef9a8a84414316e7771 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:20 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:45:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:45:20 8318c40e0267: Preparing 15:45:20 2914f3235fa5: Preparing 15:45:20 32c5973313d3: Preparing 15:45:20 c33fd0ef3f59: Preparing 15:45:20 3827b5b91e75: Preparing 15:45:20 acc83c6ca332: Preparing 15:45:20 6ba5d5640fa2: Preparing 15:45:20 aa720dddf7c7: Preparing 15:45:20 f3765651c03c: Preparing 15:45:20 8480ac4cd255: Preparing 15:45:20 544d69010686: Preparing 15:45:20 423f4c7cbd0a: Preparing 15:45:20 aa720dddf7c7: Waiting 15:45:20 f3765651c03c: Waiting 15:45:20 544d69010686: Waiting 15:45:20 acc83c6ca332: Waiting 15:45:20 8480ac4cd255: Waiting 15:45:20 6ba5d5640fa2: Waiting 15:45:20 423f4c7cbd0a: Waiting 15:45:20 cc2447e1835a: Preparing 15:45:20 cc2447e1835a: Waiting 15:45:20 8318c40e0267: Layer already exists 15:45:20 2914f3235fa5: Layer already exists 15:45:20 c33fd0ef3f59: Layer already exists 15:45:20 32c5973313d3: Layer already exists 15:45:20 3827b5b91e75: Layer already exists 15:45:20 acc83c6ca332: Layer already exists 15:45:20 6ba5d5640fa2: Layer already exists 15:45:20 f3765651c03c: Layer already exists 15:45:20 aa720dddf7c7: Layer already exists 15:45:20 8480ac4cd255: Layer already exists 15:45:20 423f4c7cbd0a: Layer already exists 15:45:20 544d69010686: Layer already exists 15:45:20 cc2447e1835a: Layer already exists 15:45:20 03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32: digest: sha256:f438a0803c19720eae544443ff8f2545a8ae4cff2c4d6ef9a8a84414316e7771 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:21 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:21 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 15:45:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 15:45:21 8318c40e0267: Preparing 15:45:21 2914f3235fa5: Preparing 15:45:21 32c5973313d3: Preparing 15:45:21 c33fd0ef3f59: Preparing 15:45:21 3827b5b91e75: Preparing 15:45:21 acc83c6ca332: Preparing 15:45:21 6ba5d5640fa2: Preparing 15:45:21 aa720dddf7c7: Preparing 15:45:21 f3765651c03c: Preparing 15:45:21 8480ac4cd255: Preparing 15:45:21 544d69010686: Preparing 15:45:21 423f4c7cbd0a: Preparing 15:45:21 cc2447e1835a: Preparing 15:45:21 acc83c6ca332: Waiting 15:45:21 6ba5d5640fa2: Waiting 15:45:21 aa720dddf7c7: Waiting 15:45:21 f3765651c03c: Waiting 15:45:21 8480ac4cd255: Waiting 15:45:21 544d69010686: Waiting 15:45:21 c33fd0ef3f59: Layer already exists 15:45:21 32c5973313d3: Layer already exists 15:45:21 2914f3235fa5: Layer already exists 15:45:21 3827b5b91e75: Layer already exists 15:45:21 8318c40e0267: Layer already exists 15:45:21 acc83c6ca332: Layer already exists 15:45:21 6ba5d5640fa2: Layer already exists 15:45:21 aa720dddf7c7: Layer already exists 15:45:21 f3765651c03c: Layer already exists 15:45:21 8480ac4cd255: Layer already exists 15:45:21 544d69010686: Layer already exists 15:45:21 423f4c7cbd0a: Layer already exists 15:45:21 cc2447e1835a: Layer already exists 15:45:21 main: digest: sha256:f438a0803c19720eae544443ff8f2545a8ae4cff2c4d6ef9a8a84414316e7771 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:45:21 ===================================================== [Pipeline] echo 15:45:21 taggedImages: 15:45:21 - nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f 15:45:21 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 15:45:21 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.32 15:45:21 - nexus3.edgexfoundry.org:10004/device-usb-camera:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:45:21 - 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 15:45:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:22 15:45:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:22 latest: Pulling from edgex-lftools-log-publisher 15:45:22 5eb5b503b376: Pulling fs layer 15:45:22 5c69ac0246d0: Pulling fs layer 15:45:22 ec43610c2a17: Pulling fs layer 15:45:22 3a2ae6a8a46f: Pulling fs layer 15:45:22 33b1e0a273af: Pulling fs layer 15:45:22 3a2ae6a8a46f: Waiting 15:45:22 5d3b04190fa2: Pulling fs layer 15:45:22 2f39f015ded8: Pulling fs layer 15:45:22 33b1e0a273af: Waiting 15:45:22 5d3b04190fa2: Waiting 15:45:22 2f39f015ded8: Waiting 15:45:22 5c69ac0246d0: Verifying Checksum 15:45:22 5c69ac0246d0: Download complete 15:45:22 3a2ae6a8a46f: Download complete 15:45:22 33b1e0a273af: Verifying Checksum 15:45:22 33b1e0a273af: Download complete 15:45:22 5d3b04190fa2: Verifying Checksum 15:45:22 5d3b04190fa2: Download complete 15:45:22 ec43610c2a17: Verifying Checksum 15:45:22 ec43610c2a17: Download complete 15:45:22 5eb5b503b376: Verifying Checksum 15:45:22 5eb5b503b376: Download complete 15:45:23 2f39f015ded8: Download complete 15:45:23 5eb5b503b376: Pull complete 15:45:23 5c69ac0246d0: Pull complete 15:45:24 ec43610c2a17: Pull complete 15:45:24 3a2ae6a8a46f: Pull complete 15:45:24 33b1e0a273af: Pull complete 15:45:24 5d3b04190fa2: Pull complete 15:45:28 2f39f015ded8: Pull complete 15:45:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:45:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:28 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:45:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:45:33 $ docker top a3a9994f00d646001efca7ad02d2410dcaace0e8c5a8afd6721879bdb716ab2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:45:33 ---> job-cost.sh 15:45:33 lf-activate-venv: SKIPPING 15:45:33 INFO: No Stack... 15:45:33 INFO: Retrieving Pricing Info for: v3-standard-8 15:45:34 INFO: Archiving Costs [Pipeline] sh 15:45:34 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 15:45:34 + cut -d, -f6 [Pipeline] lock 15:45:34 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] 15:45:34 Resource [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] did not exist. Created. 15:45:34 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:45:34 + echo total: 0.2199999988079071 [Pipeline] stash 15:45:34 Stashed 1 file(s) [Pipeline] } 15:45:34 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 15:45:34 $ docker stop --time=1 a3a9994f00d646001efca7ad02d2410dcaace0e8c5a8afd6721879bdb716ab2e 15:45:36 $ docker rm -f --volumes a3a9994f00d646001efca7ad02d2410dcaace0e8c5a8afd6721879bdb716ab2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:46:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9942 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 15:46:24 Running in /w/workspace/device-usb-camera/158 [Pipeline] { [Pipeline] checkout 15:46:24 Selected Git installation does not exist. Using Default 15:46:24 The recommended git tool is: NONE 15:46:29 using credential edgex-jenkins-ssh 15:46:29 Cloning the remote Git repository 15:46:29 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 15:46:29 > git init /w/workspace/device-usb-camera/158 # timeout=10 15:46:29 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 15:46:29 > git --version # timeout=10 15:46:29 > git --version # 'git version 2.25.1' 15:46:29 using GIT_SSH to set credentials SSH Credentials for GitHub 15:46:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:31 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 15:46:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:46:31 Avoid second fetch 15:46:31 Checking out Revision 03955ee09018b338b3036f15f61b85e23fce302f (main) 15:46:32 Commit message: "feat!: Remove snap packaging (#303)" 15:46:32 > git config core.sparsecheckout # timeout=10 15:46:32 > git checkout -f 03955ee09018b338b3036f15f61b85e23fce302f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:46:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:46:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:46:33 Dload Upload Total Spent Left Speed 15:46:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 15:46:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:46:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:46:34 + sudo tee /etc/docker/daemon.new 15:46:34 { 15:46:34 "registry-mirrors": [ 15:46:34 "https://nexus3.edgexfoundry.org:10001" 15:46:34 ], 15:46:34 "bip": "10.250.0.254/24", 15:46:34 "hosts": [ 15:46:34 "tcp://0.0.0.0:5555", 15:46:34 "unix:///var/run/docker.sock" 15:46:34 ], 15:46:34 "mtu": 1458, 15:46:34 "selinux-enabled": true, 15:46:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:46:34 } [Pipeline] sh 15:46:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:46:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:46:53 provisioning config files... 15:46:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/158@tmp/config13089606819020760510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:53 ---> docker-login.sh 15:46:53 nexus3.edgexfoundry.org:10001 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 nexus3.edgexfoundry.org:10002 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:54 Configure a credential helper to remove this warning. See 15:46:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:54 15:46:54 Login Succeeded 15:46:54 nexus3.edgexfoundry.org:10003 15:46:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:55 Configure a credential helper to remove this warning. See 15:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:55 15:46:55 Login Succeeded 15:46:55 nexus3.edgexfoundry.org:10004 15:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:55 Configure a credential helper to remove this warning. See 15:46:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:55 15:46:55 Login Succeeded 15:46:55 docker.io 15:46:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:46:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:46:56 Configure a credential helper to remove this warning. See 15:46:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:46:56 15:46:56 Login Succeeded 15:46:56 ---> docker-login.sh ends [Pipeline] } 15:46:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:46:56 ========================================================= 15:46:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 15:46:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 15:46:56 Sending build context to Docker daemon 1.33MB 15:46:56 Step 1/13 : ARG BASE=golang:1.21-alpine3.18 15:46:56 Step 2/13 : FROM ${BASE} AS builder 15:46:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:46:57 9fda8d8052c6: Pulling fs layer 15:46:57 5d54e960e981: Pulling fs layer 15:46:57 c4a7e357bf2a: Pulling fs layer 15:46:57 f0e02332f6b5: Pulling fs layer 15:46:57 cefa15bbcfad: Pulling fs layer 15:46:57 17808c966233: Pulling fs layer 15:46:57 f4c1fc716caa: Pulling fs layer 15:46:57 f0e02332f6b5: Waiting 15:46:57 cefa15bbcfad: Waiting 15:46:57 17808c966233: Waiting 15:46:57 f4c1fc716caa: Waiting 15:46:57 5d54e960e981: Verifying Checksum 15:46:57 5d54e960e981: Download complete 15:46:57 f0e02332f6b5: Verifying Checksum 15:46:57 f0e02332f6b5: Download complete 15:46:57 cefa15bbcfad: Verifying Checksum 15:46:57 cefa15bbcfad: Download complete 15:46:57 9fda8d8052c6: Verifying Checksum 15:46:57 9fda8d8052c6: Download complete 15:46:57 f4c1fc716caa: Verifying Checksum 15:46:57 f4c1fc716caa: Download complete 15:46:58 9fda8d8052c6: Pull complete 15:46:58 5d54e960e981: Pull complete 15:46:59 c4a7e357bf2a: Verifying Checksum 15:46:59 c4a7e357bf2a: Download complete 15:47:00 17808c966233: Verifying Checksum 15:47:00 17808c966233: Download complete 15:47:15 c4a7e357bf2a: Pull complete 15:47:15 f0e02332f6b5: Pull complete 15:47:15 cefa15bbcfad: Pull complete 15:47:21 17808c966233: Pull complete 15:47:22 f4c1fc716caa: Pull complete 15:47:22 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 15:47:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 15:47:22 ---> ea914061e18c 15:47:22 Step 3/13 : ARG ADD_BUILD_TAGS="" 15:47:24 ---> Running in b6c77906077f 15:47:24 Removing intermediate container b6c77906077f 15:47:24 ---> b154d707ba6d 15:47:24 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:47:24 ---> Running in f772c0704025 15:47:25 Removing intermediate container f772c0704025 15:47:25 ---> b9c69c8bac90 15:47:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:47:25 ---> Running in d64c544aff3b 15:47:25 Removing intermediate container d64c544aff3b 15:47:25 ---> bc6e3781677f 15:47:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:47:25 ---> Running in 1449724e5a69 15:47:26 Removing intermediate container 1449724e5a69 15:47:26 ---> 66c42122d615 15:47:26 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:47:26 ---> Running in 2cc8a0b696ed 15:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:47:29 (1/13) Installing libintl (0.21.1-r7) 15:47:29 (2/13) Installing eudev-libs (3.2.11-r8) 15:47:29 (3/13) Installing libjpeg-turbo (2.1.5.1-r3) 15:47:29 (4/13) Installing v4l-utils-libs (1.24.1-r0) 15:47:29 (5/13) Installing v4l-utils (1.24.1-r0) 15:47:29 (6/13) Installing libdvbv5 (1.24.1-r0) 15:47:29 (7/13) Installing udev-init-scripts (35-r1) 15:47:29 (8/13) Installing libblkid (2.38.1-r8) 15:47:29 (9/13) Installing xz-libs (5.4.3-r0) 15:47:29 (10/13) Installing kmod-libs (30-r3) 15:47:29 (11/13) Installing eudev (3.2.11-r8) 15:47:29 (12/13) Installing eudev-dev (3.2.11-r8) 15:47:29 (13/13) Installing v4l-utils-dev (1.24.1-r0) 15:47:29 Executing busybox-1.36.1-r2.trigger 15:47:29 Executing eudev-3.2.11-r8.trigger 15:47:29 OK: 273 MiB in 65 packages 15:47:31 Removing intermediate container 2cc8a0b696ed 15:47:31 ---> 934d746a2f78 15:47:31 Step 8/13 : WORKDIR /device-usb-camera 15:47:31 ---> Running in 956923d50cbc 15:47:31 Removing intermediate container 956923d50cbc 15:47:31 ---> dcf5008a12e5 15:47:31 Step 9/13 : COPY go.mod vendor* ./ 15:47:32 ---> 3cb34687b6fc 15:47:32 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:47:32 ---> Running in ec3de73f6ae4 15:49:09 Removing intermediate container ec3de73f6ae4 15:49:09 ---> e378b7a83d12 15:49:09 Step 11/13 : COPY . . 15:49:09 ---> c5845745f7bb 15:49:09 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:49:09 ---> Running in 0872758d4448 15:49:09  % Total % Received % Xferd Average Speed Time Time Time Current 15:49:09   Dload Upload Total  Spent Left Speed 15:49:09 0  0 0  0 0 0  0 0 --:--:-- --:--:-- --:--:--  0 0 0 0 0 0  0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5274 0 --:--:-- --:--:-- --:--:-- 5286 15:49:09 Removing intermediate container 0872758d4448 15:49:09 ---> 4d87a4016e65 15:49:09 Step 13/13 : RUN ${MAKE} 15:49:09 ---> Running in b9570bf45bf7 15:49:09 noop 15:49:09 Removing intermediate container b9570bf45bf7 15:49:09 ---> 4addc99f9401 15:49:09 Successfully built 4addc99f9401 15:49:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:09 + docker inspect -f . ci-base-image-arm64 15:49:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:09 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 15:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/158 -v /w/workspace/device-usb-camera/158:/w/workspace/device-usb-camera/158:rw,z -v /w/workspace/device-usb-camera/158@tmp:/w/workspace/device-usb-camera/158@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 15:49:11 $ docker top e8fe40c3a5ad7cb4276bf3fd3ecbf9778324a8de2799bae4b05c728afec90b57 -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:11 + go version 15:49:11 go version go1.21.0 linux/arm64 [Pipeline] } 15:49:11 $ docker stop --time=1 e8fe40c3a5ad7cb4276bf3fd3ecbf9778324a8de2799bae4b05c728afec90b57 15:49:13 $ docker rm -f --volumes e8fe40c3a5ad7cb4276bf3fd3ecbf9778324a8de2799bae4b05c728afec90b57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:14 + docker inspect -f . ci-base-image-arm64 15:49:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:14 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 15:49:14 $ 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/158 -v /w/workspace/device-usb-camera/158:/w/workspace/device-usb-camera/158:rw,z -v /w/workspace/device-usb-camera/158@tmp:/w/workspace/device-usb-camera/158@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 15:49:15 $ docker top fba923510c06ab8a8ce214aabb041196f138e0b5bf2a2a35c113464e4c9e0a4e -eo pid,comm [Pipeline] { [Pipeline] sh 15:49:16 + git config --global --add safe.directory /w/workspace/device-usb-camera/158 [Pipeline] fileExists [Pipeline] sh 15:49:17 + make test 15:49:17 go test ./... -coverprofile=coverage.out ./... 15:49:22 ? github.com/edgexfoundry/device-usb-camera [no test files] 15:51:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 15:51:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.112s coverage: 4.4% of statements 15:51:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:51:29 go vet ./... 15:52:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:52:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:52:01 ./bin/test-attribution-txt.sh [Pipeline] echo 15:52:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:52:01 $ docker stop --time=1 fba923510c06ab8a8ce214aabb041196f138e0b5bf2a2a35c113464e4c9e0a4e 15:52:03 $ docker rm -f --volumes fba923510c06ab8a8ce214aabb041196f138e0b5bf2a2a35c113464e4c9e0a4e [Pipeline] // withDockerContainer [Pipeline] sh 15:52:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:05 Warning: overwriting stash ‘coverage-report’ 15:52:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:06 + ls -al . 15:52:06 total 212 15:52:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:49 . 15:52:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:46 .. 15:52:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:46 .git 15:52:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:46 .github 15:52:06 -rw-rw-r-- 1 jenkins jenkins 429 Oct 24 15:46 .gitignore 15:52:06 -rw-rw-r-- 1 jenkins jenkins 45 Oct 24 15:46 .golangci.yml 15:52:06 -rw-rw-r-- 1 jenkins jenkins 77 Oct 24 15:46 .hadolint.yml 15:52:06 -rw-rw-r-- 1 jenkins jenkins 10851 Oct 24 15:46 Attribution.txt 15:52:06 -rw-rw-r-- 1 jenkins jenkins 11903 Oct 24 15:46 CHANGELOG.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 2453 Oct 24 15:46 Dockerfile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 678 Oct 24 15:46 GOVERNANCE.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 659 Oct 24 15:46 Jenkinsfile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 24 15:46 LICENSE 15:52:06 -rw-rw-r-- 1 jenkins jenkins 2611 Oct 24 15:46 Makefile 15:52:06 -rw-rw-r-- 1 jenkins jenkins 622 Oct 24 15:46 OWNERS.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 2575 Oct 24 15:46 README.md 15:52:06 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 15:42 VERSION 15:52:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:46 bin 15:52:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:46 cmd 15:52:06 -rw-r--r-- 1 jenkins jenkins 54703 Oct 24 15:51 coverage.out 15:52:06 -rwxrwxr-x 1 jenkins jenkins 84 Oct 24 15:46 docker-entrypoint.sh 15:52:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:46 docs 15:52:06 -rw-rw-r-- 1 jenkins jenkins 3925 Oct 24 15:46 go.mod 15:52:06 -rw-rw-r-- 1 jenkins jenkins 34838 Oct 24 15:46 go.sum 15:52:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:46 internal 15:52:06 -rw-rw-r-- 1 jenkins jenkins 231 Oct 24 15:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:07 + 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=03955ee09018b338b3036f15f61b85e23fce302f --label arch=arm64 --label version=3.1.0-dev.32 . 15:52:07 Sending build context to Docker daemon 1.385MB 15:52:07 Step 1/36 : ARG BASE=golang:1.21-alpine3.18 15:52:07 Step 2/36 : FROM ${BASE} AS builder 15:52:07 ---> 4addc99f9401 15:52:07 Step 3/36 : ARG ADD_BUILD_TAGS="" 15:52:07 ---> Running in 16adfd02c376 15:52:07 Removing intermediate container 16adfd02c376 15:52:07 ---> a54816a174cf 15:52:07 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:52:08 ---> Running in 9a0c32b06c7b 15:52:08 Removing intermediate container 9a0c32b06c7b 15:52:08 ---> 56ce36405a44 15:52:08 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 15:52:08 ---> Running in dfe3b6df3b62 15:52:09 Removing intermediate container dfe3b6df3b62 15:52:09 ---> 5a4bb2412e83 15:52:09 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 15:52:09 ---> Running in 5d4368c15227 15:52:09 Removing intermediate container 5d4368c15227 15:52:09 ---> 766ae4eb07ac 15:52:09 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:52:09 ---> Running in 3fb1f29ef908 15:52:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:52:13 OK: 273 MiB in 65 packages 15:52:14 Removing intermediate container 3fb1f29ef908 15:52:14 ---> b2b95f327916 15:52:14 Step 8/36 : WORKDIR /device-usb-camera 15:52:14 ---> Running in f40e02379e7c 15:52:14 Removing intermediate container f40e02379e7c 15:52:14 ---> 456fd9076522 15:52:14 Step 9/36 : COPY go.mod vendor* ./ 15:52:16 ---> 1ed63a9ae905 15:52:16 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:16 ---> Running in 1d2ea8cf984c 15:52:19 Removing intermediate container 1d2ea8cf984c 15:52:19 ---> 928981722e34 15:52:19 Step 11/36 : COPY . . 15:52:20 ---> 80b019fe54c9 15:52:20 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 15:52:20 ---> Running in 4fe2ce9638b1 15:52:21   % Total    % Received % Xferd Average Speed Time Time Time Current 15:52:21   Dload Upload Total Spent Left Speed 15:52:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0    0    0     0    0     0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1253 100 1253 0 0 5049 0 --:--:-- --:--:-- --:--:-- 5052 15:52:22 Removing intermediate container 4fe2ce9638b1 15:52:22 ---> c0d10505e060 15:52:22 Step 13/36 : RUN ${MAKE} 15:52:22 ---> Running in b82ed860a7a7 15:52:23 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.32 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 15:55:00 Removing intermediate container b82ed860a7a7 15:55:00 ---> 43d8a1fe1cf2 15:55:00 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 15:55:00 v0.21.6: Pulling from aler9/rtsp-simple-server 15:55:00 8766b47fe142: Pulling fs layer 15:55:00 8766b47fe142: Verifying Checksum 15:55:00 8766b47fe142: Download complete 15:55:00 8766b47fe142: Pull complete 15:55:00 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 15:55:00 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 15:55:00 ---> 69d40e2cb93c 15:55:00 Step 15/36 : FROM alpine:3.18 15:55:00 3.18: Pulling from library/alpine 15:55:00 579b34f0a95b: Pulling fs layer 15:55:00 579b34f0a95b: Verifying Checksum 15:55:00 579b34f0a95b: Download complete 15:55:00 579b34f0a95b: Pull complete 15:55:00 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 15:55:00 Status: Downloaded newer image for alpine:3.18 15:55:00 ---> 3cc203321400 15:55:00 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 15:55:00 ---> Running in 3b0683d1eca2 15:55:00 Removing intermediate container 3b0683d1eca2 15:55:00 ---> aef21b5e6b9c 15:55:00 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 15:55:00 ---> Running in 7d180f93cbad 15:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 15:55:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 15:55:00 (1/104) Installing dumb-init (1.2.5-r2) 15:55:00 (2/104) Installing sdl2 (2.26.5-r0) 15:55:00 (3/104) Installing svt-av1-libs (1.6.0-r0) 15:55:00 (4/104) Installing aom-libs (3.6.1-r0) 15:55:00 (5/104) Installing libxau (1.0.11-r2) 15:55:00 (6/104) Installing libmd (1.0.4-r2) 15:55:00 (7/104) Installing libbsd (0.11.7-r1) 15:55:00 (8/104) Installing libxdmcp (1.1.4-r2) 15:55:00 (9/104) Installing libxcb (1.15-r1) 15:55:00 (10/104) Installing libx11 (1.8.4-r4) 15:55:00 (11/104) Installing libdrm (2.4.115-r4) 15:55:00 (12/104) Installing libxext (1.3.5-r2) 15:55:00 (13/104) Installing libxfixes (6.0.1-r2) 15:55:00 (14/104) Installing libffi (3.4.4-r2) 15:55:00 (15/104) Installing wayland-libs-client (1.22.0-r2) 15:55:00 (16/104) Installing libva (2.18.0-r1) 15:55:00 (17/104) Installing libvdpau (1.5-r1) 15:55:00 (18/104) Installing ffmpeg-libavutil (6.0-r15) 15:55:00 (19/104) Installing libdav1d (1.2.1-r0) 15:55:00 (20/104) Installing brotli-libs (1.0.9-r14) 15:55:00 (21/104) Installing libgcc (12.2.1_git20220924-r10) 15:55:00 (22/104) Installing libstdc++ (12.2.1_git20220924-r10) 15:55:00 (23/104) Installing libhwy (1.0.4-r1) 15:55:00 (24/104) Installing lcms2 (2.15-r2) 15:55:00 (25/104) Installing libjxl (0.8.2-r0) 15:55:00 (26/104) Installing lame-libs (3.100-r5) 15:55:00 (27/104) Installing opus (1.4-r0) 15:55:00 (28/104) Installing libgomp (12.2.1_git20220924-r10) 15:55:00 (29/104) Installing soxr (0.1.3-r5) 15:55:00 (30/104) Installing ffmpeg-libswresample (6.0-r15) 15:55:00 (31/104) Installing libogg (1.3.5-r4) 15:55:00 (32/104) Installing libtheora (1.1.1-r17) 15:55:00 (33/104) Installing libvorbis (1.3.7-r1) 15:55:00 (34/104) Installing libvpx (1.13.0-r2) 15:55:00 (35/104) Installing libwebp (1.3.2-r0) 15:55:00 (36/104) Installing x264-libs (0.164_git20220602-r1) 15:55:00 (37/104) Installing numactl (2.0.16-r4) 15:55:00 (38/104) Installing x265-libs (3.5-r4) 15:55:00 (39/104) Installing xvidcore (1.3.7-r1) 15:55:00 (40/104) Installing ffmpeg-libavcodec (6.0-r15) 15:55:01 (41/104) Installing alsa-lib (1.2.9-r1) 15:55:01 (42/104) Installing libexpat (2.5.0-r1) 15:55:01 (43/104) Installing libbz2 (1.0.8-r5) 15:55:01 (44/104) Installing libpng (1.6.39-r3) 15:55:01 (45/104) Installing freetype (2.13.0-r5) 15:55:01 (46/104) Installing fontconfig (2.14.2-r3) 15:55:01 (47/104) Installing fribidi (1.0.13-r0) 15:55:01 (48/104) Installing libintl (0.21.1-r7) 15:55:01 (49/104) Installing libblkid (2.38.1-r8) 15:55:01 (50/104) Installing libmount (2.38.1-r8) 15:55:01 (51/104) Installing pcre2 (10.42-r1) 15:55:01 (52/104) Installing glib (2.76.4-r0) 15:55:01 (53/104) Installing graphite2 (1.3.14-r5) 15:55:01 (54/104) Installing harfbuzz (7.3.0-r0) 15:55:01 (55/104) Installing libunibreak (5.1-r0) 15:55:01 (56/104) Installing libass (0.17.1-r0) 15:55:01 (57/104) Installing libbluray (1.3.4-r0) 15:55:01 (58/104) Installing gmp (6.2.1-r3) 15:55:01 (59/104) Installing nettle (3.8.1-r2) 15:55:01 (60/104) Installing libunistring (1.1-r1) 15:55:01 (61/104) Installing libidn2 (2.3.4-r1) 15:55:01 (62/104) Installing p11-kit (0.24.1-r2) 15:55:01 (63/104) Installing libtasn1 (4.19.0-r1) 15:55:02 (64/104) Installing gnutls (3.8.0-r2) 15:55:02 (65/104) Installing mpg123-libs (1.31.3-r1) 15:55:02 (66/104) Installing libopenmpt (0.7.2-r0) 15:55:02 (67/104) Installing cjson (1.7.15-r4) 15:55:02 (68/104) Installing mbedtls (2.28.5-r0) 15:55:02 (69/104) Installing librist (0.2.7-r0) 15:55:02 (70/104) Installing libsrt (1.5.2-r0) 15:55:02 (71/104) Installing libssh (0.10.5-r0) 15:55:02 (72/104) Installing xz-libs (5.4.3-r0) 15:55:02 (73/104) Installing libxml2 (2.11.4-r0) 15:55:02 (74/104) Installing libsodium (1.0.18-r3) 15:55:02 (75/104) Installing libzmq (4.3.4-r4) 15:55:02 (76/104) Installing ffmpeg-libavformat (6.0-r15) 15:55:02 (77/104) Installing glslang-libs (1.3.243.0-r1) 15:55:02 (78/104) Installing spirv-tools (1.3.243.0-r1) 15:55:02 (79/104) Installing shaderc (2023.3-r1) 15:55:02 (80/104) Installing vulkan-loader (1.3.243.0-r1) 15:55:02 (81/104) Installing libplacebo (5.264.1-r1) 15:55:02 (82/104) Installing ffmpeg-libpostproc (6.0-r15) 15:55:02 (83/104) Installing ffmpeg-libswscale (6.0-r15) 15:55:02 (84/104) Installing vidstab (1.1.1-r0) 15:55:02 (85/104) Installing zimg (3.0.5-r0) 15:55:02 (86/104) Installing ffmpeg-libavfilter (6.0-r15) 15:55:02 (87/104) Installing libasyncns (0.8-r1) 15:55:02 (88/104) Installing dbus-libs (1.14.8-r0) 15:55:02 (89/104) Installing libltdl (2.4.7-r2) 15:55:02 (90/104) Installing orc (0.4.34-r0) 15:55:02 (91/104) Installing flac-libs (1.4.3-r0) 15:55:02 (92/104) Installing libsndfile (1.2.0-r2) 15:55:02 (93/104) Installing speexdsp (1.2.1-r1) 15:55:02 (94/104) Installing tdb-libs (1.4.8-r1) 15:55:02 (95/104) Installing libpulse (16.1-r10) 15:55:02 (96/104) Installing libjpeg-turbo (2.1.5.1-r3) 15:55:02 (97/104) Installing v4l-utils-libs (1.24.1-r0) 15:55:03 (98/104) Installing ffmpeg-libavdevice (6.0-r15) 15:55:03 (99/104) Installing ffmpeg (6.0-r15) 15:55:03 (100/104) Installing udev-init-scripts (35-r1) 15:55:03 (101/104) Installing eudev-libs (3.2.11-r8) 15:55:03 (102/104) Installing zstd-libs (1.5.5-r4) 15:55:03 (103/104) Installing kmod-libs (30-r3) 15:55:03 (104/104) Installing eudev (3.2.11-r8) 15:55:03 Executing busybox-1.36.1-r2.trigger 15:55:03 Executing glib-2.76.4-r0.trigger 15:55:03 Executing eudev-3.2.11-r8.trigger 15:55:03 OK: 110 MiB in 119 packages 15:55:07 Removing intermediate container 7d180f93cbad 15:55:07 ---> e10ef76f1aa6 15:55:07 Step 18/36 : WORKDIR / 15:55:07 ---> Running in 18cc777233ba 15:55:07 Removing intermediate container 18cc777233ba 15:55:07 ---> 849bd036c6f2 15:55:07 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 15:55:09 ---> 10d79e8571ff 15:55:09 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 15:55:10 ---> b00452c71042 15:55:10 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 15:55:10 ---> bdbe344ec3cd 15:55:10 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 15:55:11 ---> eb0e655cc4a2 15:55:11 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 15:55:12 ---> 0736b2ce6601 15:55:12 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 15:55:12 ---> f3079c8c578d 15:55:12 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 15:55:14 ---> 1a368d3a344d 15:55:14 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 15:55:14 ---> Running in 40d2f82888f5 15:55:16 Removing intermediate container 40d2f82888f5 15:55:16 ---> 5cc8b1fc640b 15:55:16 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 15:55:16 ---> Running in 056ab8429d78 15:55:18 Removing intermediate container 056ab8429d78 15:55:18 ---> 749178e42c1a 15:55:18 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 15:55:18 ---> Running in 71cd534e3cab 15:55:20 Removing intermediate container 71cd534e3cab 15:55:20 ---> 08912ba7f5b2 15:55:20 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 15:55:20 ---> Running in c6f2bd0f2f03 15:55:22 Removing intermediate container c6f2bd0f2f03 15:55:22 ---> 050f0f0542fb 15:55:22 Step 30/36 : EXPOSE 59983 15:55:22 ---> Running in a35db279dcec 15:55:22 Removing intermediate container a35db279dcec 15:55:22 ---> 57145fe526bc 15:55:22 Step 31/36 : EXPOSE 8554 15:55:23 ---> Running in 9d4b30aa176f 15:55:23 Removing intermediate container 9d4b30aa176f 15:55:23 ---> 1d9d16f647c0 15:55:23 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 15:55:23 ---> Running in 7570761ddda9 15:55:23 Removing intermediate container 7570761ddda9 15:55:23 ---> 6c1d2fc92d31 15:55:23 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 15:55:23 ---> Running in 98d3420af884 15:55:24 Removing intermediate container 98d3420af884 15:55:24 ---> 4d1e59bdcb22 15:55:24 Step 34/36 : LABEL arch=arm64 15:55:24 ---> Running in bdf1be9d7b25 15:55:24 Removing intermediate container bdf1be9d7b25 15:55:24 ---> 49389a2a243e 15:55:24 Step 35/36 : LABEL git_sha=03955ee09018b338b3036f15f61b85e23fce302f 15:55:24 ---> Running in d498e8a5180e 15:55:24 Removing intermediate container d498e8a5180e 15:55:24 ---> 878d0efa1947 15:55:24 Step 36/36 : LABEL version=3.1.0-dev.32 15:55:24 ---> Running in f37a09e064bc 15:55:25 Removing intermediate container f37a09e064bc 15:55:25 ---> 2a7a7473afed 15:55:25 [Warning] One or more build-args [ARCH] were not consumed 15:55:25 Successfully built 2a7a7473afed 15:55:25 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 15:55:25 provisioning config files... 15:55:25 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/158@tmp/config17338962977344881634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:26 ---> docker-login.sh 15:55:26 nexus3.edgexfoundry.org:10001 15:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:26 Configure a credential helper to remove this warning. See 15:55:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:26 15:55:26 Login Succeeded 15:55:26 nexus3.edgexfoundry.org:10002 15:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:26 Configure a credential helper to remove this warning. See 15:55:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:26 15:55:26 Login Succeeded 15:55:26 nexus3.edgexfoundry.org:10003 15:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:27 Configure a credential helper to remove this warning. See 15:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:27 15:55:27 Login Succeeded 15:55:27 nexus3.edgexfoundry.org:10004 15:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:27 Configure a credential helper to remove this warning. See 15:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:27 15:55:27 Login Succeeded 15:55:27 docker.io 15:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:55:28 Configure a credential helper to remove this warning. See 15:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:55:28 15:55:28 Login Succeeded 15:55:28 ---> docker-login.sh ends [Pipeline] } 15:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:55:28 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 15:55:28 03955ee09018b338b3036f15f61b85e23fce302f 15:55:28 latest 15:55:28 3.1.0-dev.32 15:55:28 03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:55:28 main 15:55:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:28 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:30 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f 15:55:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:30 d67f8d52317f: Preparing 15:55:30 c90c04d313d2: Preparing 15:55:30 44dc207359cb: Preparing 15:55:30 f5be512a5f3d: Preparing 15:55:30 608d194cb50c: Preparing 15:55:30 acc83c6ca332: Preparing 15:55:30 28ae53c4d656: Preparing 15:55:30 293c5093b88f: Preparing 15:55:30 a793c2c1a13f: Preparing 15:55:30 5e1336cc3714: Preparing 15:55:30 33fb1d558019: Preparing 15:55:30 7d7d077a9af8: Preparing 15:55:30 5f4d9fc4d98d: Preparing 15:55:30 acc83c6ca332: Waiting 15:55:30 28ae53c4d656: Waiting 15:55:30 293c5093b88f: Waiting 15:55:30 a793c2c1a13f: Waiting 15:55:30 5e1336cc3714: Waiting 15:55:30 33fb1d558019: Waiting 15:55:30 7d7d077a9af8: Waiting 15:55:30 5f4d9fc4d98d: Waiting 15:55:30 d67f8d52317f: Pushed 15:55:30 f5be512a5f3d: Pushed 15:55:30 44dc207359cb: Pushed 15:55:30 c90c04d313d2: Pushed 15:55:30 acc83c6ca332: Pushed 15:55:30 28ae53c4d656: Pushed 15:55:30 a793c2c1a13f: Pushed 15:55:30 293c5093b88f: Pushed 15:55:30 5f4d9fc4d98d: Layer already exists 15:55:30 5e1336cc3714: Pushed 15:55:37 608d194cb50c: Pushed 15:55:37 33fb1d558019: Pushed 15:55:52 7d7d077a9af8: Pushed 15:55:52 03955ee09018b338b3036f15f61b85e23fce302f: digest: sha256:1eeb2081e8365e421d0212a7192da86b5db35bf0b7400e2155ae693f28c38007 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:53 + 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 15:55:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:55:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:53 d67f8d52317f: Preparing 15:55:53 c90c04d313d2: Preparing 15:55:53 44dc207359cb: Preparing 15:55:53 f5be512a5f3d: Preparing 15:55:53 608d194cb50c: Preparing 15:55:53 acc83c6ca332: Preparing 15:55:53 28ae53c4d656: Preparing 15:55:53 293c5093b88f: Preparing 15:55:53 a793c2c1a13f: Preparing 15:55:53 28ae53c4d656: Waiting 15:55:53 5e1336cc3714: Preparing 15:55:53 33fb1d558019: Preparing 15:55:53 7d7d077a9af8: Preparing 15:55:53 293c5093b88f: Waiting 15:55:53 a793c2c1a13f: Waiting 15:55:53 5f4d9fc4d98d: Preparing 15:55:53 33fb1d558019: Waiting 15:55:53 7d7d077a9af8: Waiting 15:55:53 5f4d9fc4d98d: Waiting 15:55:53 acc83c6ca332: Waiting 15:55:53 5e1336cc3714: Waiting 15:55:53 d67f8d52317f: Layer already exists 15:55:53 608d194cb50c: Layer already exists 15:55:53 f5be512a5f3d: Layer already exists 15:55:53 c90c04d313d2: Layer already exists 15:55:53 44dc207359cb: Layer already exists 15:55:53 293c5093b88f: Layer already exists 15:55:53 acc83c6ca332: Layer already exists 15:55:53 28ae53c4d656: Layer already exists 15:55:53 5e1336cc3714: Layer already exists 15:55:53 a793c2c1a13f: Layer already exists 15:55:53 7d7d077a9af8: Layer already exists 15:55:53 33fb1d558019: Layer already exists 15:55:53 5f4d9fc4d98d: Layer already exists 15:55:53 latest: digest: sha256:1eeb2081e8365e421d0212a7192da86b5db35bf0b7400e2155ae693f28c38007 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:54 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.32 15:55:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:57 d67f8d52317f: Preparing 15:55:57 c90c04d313d2: Preparing 15:55:57 44dc207359cb: Preparing 15:55:57 f5be512a5f3d: Preparing 15:55:57 608d194cb50c: Preparing 15:55:57 acc83c6ca332: Preparing 15:55:57 28ae53c4d656: Preparing 15:55:57 293c5093b88f: Preparing 15:55:57 a793c2c1a13f: Preparing 15:55:57 5e1336cc3714: Preparing 15:55:57 33fb1d558019: Preparing 15:55:57 7d7d077a9af8: Preparing 15:55:57 5f4d9fc4d98d: Preparing 15:55:57 293c5093b88f: Waiting 15:55:57 a793c2c1a13f: Waiting 15:55:57 5e1336cc3714: Waiting 15:55:57 33fb1d558019: Waiting 15:55:57 7d7d077a9af8: Waiting 15:55:57 5f4d9fc4d98d: Waiting 15:55:57 acc83c6ca332: Waiting 15:55:57 28ae53c4d656: Waiting 15:55:57 d67f8d52317f: Layer already exists 15:55:57 608d194cb50c: Layer already exists 15:55:57 c90c04d313d2: Layer already exists 15:55:57 44dc207359cb: Layer already exists 15:55:57 f5be512a5f3d: Layer already exists 15:55:57 28ae53c4d656: Layer already exists 15:55:57 5e1336cc3714: Layer already exists 15:55:57 acc83c6ca332: Layer already exists 15:55:57 a793c2c1a13f: Layer already exists 15:55:57 293c5093b88f: Layer already exists 15:55:57 33fb1d558019: Layer already exists 15:55:57 5f4d9fc4d98d: Layer already exists 15:55:57 7d7d077a9af8: Layer already exists 15:55:57 3.1.0-dev.32: digest: sha256:1eeb2081e8365e421d0212a7192da86b5db35bf0b7400e2155ae693f28c38007 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:58 d67f8d52317f: Preparing 15:55:58 c90c04d313d2: Preparing 15:55:58 44dc207359cb: Preparing 15:55:58 f5be512a5f3d: Preparing 15:55:58 608d194cb50c: Preparing 15:55:58 acc83c6ca332: Preparing 15:55:58 28ae53c4d656: Preparing 15:55:58 293c5093b88f: Preparing 15:55:58 a793c2c1a13f: Preparing 15:55:58 5e1336cc3714: Preparing 15:55:58 33fb1d558019: Preparing 15:55:58 7d7d077a9af8: Preparing 15:55:58 5f4d9fc4d98d: Preparing 15:55:58 acc83c6ca332: Waiting 15:55:58 28ae53c4d656: Waiting 15:55:58 5e1336cc3714: Waiting 15:55:58 33fb1d558019: Waiting 15:55:58 7d7d077a9af8: Waiting 15:55:58 5f4d9fc4d98d: Waiting 15:55:58 293c5093b88f: Waiting 15:55:58 a793c2c1a13f: Waiting 15:55:58 d67f8d52317f: Layer already exists 15:55:58 c90c04d313d2: Layer already exists 15:55:58 608d194cb50c: Layer already exists 15:55:58 44dc207359cb: Layer already exists 15:55:58 f5be512a5f3d: Layer already exists 15:55:58 293c5093b88f: Layer already exists 15:55:58 acc83c6ca332: Layer already exists 15:55:58 a793c2c1a13f: Layer already exists 15:55:58 5e1336cc3714: Layer already exists 15:55:58 28ae53c4d656: Layer already exists 15:55:58 33fb1d558019: Layer already exists 15:55:58 7d7d077a9af8: Layer already exists 15:55:58 5f4d9fc4d98d: Layer already exists 15:55:58 03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32: digest: sha256:1eeb2081e8365e421d0212a7192da86b5db35bf0b7400e2155ae693f28c38007 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:58 + 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 15:55:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 15:55:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 15:55:58 d67f8d52317f: Preparing 15:55:58 c90c04d313d2: Preparing 15:55:58 44dc207359cb: Preparing 15:55:58 f5be512a5f3d: Preparing 15:55:58 608d194cb50c: Preparing 15:55:58 acc83c6ca332: Preparing 15:55:58 28ae53c4d656: Preparing 15:55:58 293c5093b88f: Preparing 15:55:58 a793c2c1a13f: Preparing 15:55:58 5e1336cc3714: Preparing 15:55:58 33fb1d558019: Preparing 15:55:58 7d7d077a9af8: Preparing 15:55:58 5f4d9fc4d98d: Preparing 15:55:58 a793c2c1a13f: Waiting 15:55:58 5e1336cc3714: Waiting 15:55:58 acc83c6ca332: Waiting 15:55:58 33fb1d558019: Waiting 15:55:58 7d7d077a9af8: Waiting 15:55:58 5f4d9fc4d98d: Waiting 15:55:58 28ae53c4d656: Waiting 15:55:58 d67f8d52317f: Layer already exists 15:55:58 44dc207359cb: Layer already exists 15:55:58 f5be512a5f3d: Layer already exists 15:55:58 c90c04d313d2: Layer already exists 15:55:58 608d194cb50c: Layer already exists 15:55:58 293c5093b88f: Layer already exists 15:55:58 5e1336cc3714: Layer already exists 15:55:58 acc83c6ca332: Layer already exists 15:55:58 a793c2c1a13f: Layer already exists 15:55:58 28ae53c4d656: Layer already exists 15:55:58 7d7d077a9af8: Layer already exists 15:55:59 5f4d9fc4d98d: Layer already exists 15:55:59 33fb1d558019: Layer already exists 15:55:59 main: digest: sha256:1eeb2081e8365e421d0212a7192da86b5db35bf0b7400e2155ae693f28c38007 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:55:59 ===================================================== [Pipeline] echo 15:55:59 taggedImages: 15:55:59 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f 15:55:59 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 15:55:59 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.32 15:55:59 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:03955ee09018b338b3036f15f61b85e23fce302f-3.1.0-dev.32 15:55:59 - 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 15:55:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:59 15:55:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:00 arm64: Pulling from edgex-lftools-log-publisher 15:56:00 8998bd30e6a1: Pulling fs layer 15:56:00 04944245beec: Pulling fs layer 15:56:00 699f458cf7ca: Pulling fs layer 15:56:00 765212b225bb: Pulling fs layer 15:56:00 f23df028b6ca: Pulling fs layer 15:56:00 d65c8cfc05b1: Pulling fs layer 15:56:00 2437ff75d9bd: Pulling fs layer 15:56:00 f23df028b6ca: Waiting 15:56:00 d65c8cfc05b1: Waiting 15:56:00 2437ff75d9bd: Waiting 15:56:00 765212b225bb: Waiting 15:56:00 04944245beec: Verifying Checksum 15:56:00 04944245beec: Download complete 15:56:00 765212b225bb: Verifying Checksum 15:56:00 765212b225bb: Download complete 15:56:00 f23df028b6ca: Verifying Checksum 15:56:00 f23df028b6ca: Download complete 15:56:00 d65c8cfc05b1: Verifying Checksum 15:56:00 d65c8cfc05b1: Download complete 15:56:00 699f458cf7ca: Verifying Checksum 15:56:00 699f458cf7ca: Download complete 15:56:00 8998bd30e6a1: Verifying Checksum 15:56:00 8998bd30e6a1: Download complete 15:56:03 2437ff75d9bd: Verifying Checksum 15:56:03 2437ff75d9bd: Download complete 15:56:05 8998bd30e6a1: Pull complete 15:56:06 04944245beec: Pull complete 15:56:10 699f458cf7ca: Pull complete 15:56:10 765212b225bb: Pull complete 15:56:11 f23df028b6ca: Pull complete 15:56:11 d65c8cfc05b1: Pull complete 15:56:29 2437ff75d9bd: Pull complete 15:56:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:56:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:56:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:29 prd-ubuntu20.04-docker-arm64-4c-16g-9942 does not seem to be running inside a container 15:56:29 $ 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/158 -v /w/workspace/device-usb-camera/158:/w/workspace/device-usb-camera/158:rw,z -v /w/workspace/device-usb-camera/158@tmp:/w/workspace/device-usb-camera/158@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 15:56:33 $ docker top dfe645c72b2fdf46b00799905b169059e1890ec1134a98446086c3dd871a3f61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:33 ---> job-cost.sh 15:56:33 lf-activate-venv: SKIPPING 15:56:33 INFO: No Stack... 15:56:34 INFO: Retrieving Pricing Info for: v3-standard-4 15:56:35 INFO: Archiving Costs [Pipeline] sh 15:56:35 + cut -d, -f6 15:56:35 + cat /w/workspace/device-usb-camera/158/archives/cost.csv [Pipeline] lock 15:56:35 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] 15:56:35 Resource [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] did not exist. Created. 15:56:35 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:56:36 /w/workspace/device-usb-camera/158@tmp/durable-ea067273/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:56:37 + echo total: 0.10999999940395355 [Pipeline] stash 15:56:37 Warning: overwriting stash ‘stack-cost’ 15:56:37 Stashed 1 file(s) [Pipeline] } 15:56:37 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-158-stack-cost] [Pipeline] // lock [Pipeline] } 15:56:37 $ docker stop --time=1 dfe645c72b2fdf46b00799905b169059e1890ec1134a98446086c3dd871a3f61 15:56:40 $ docker rm -f --volumes dfe645c72b2fdf46b00799905b169059e1890ec1134a98446086c3dd871a3f61 [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 15:56:40 provisioning config files... 15:56:40 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2806625570070817031tmp [Pipeline] { [Pipeline] sh 15:56:40 + set +x 15:56:40 + curl -s https://codecov.io/bash 15:56:40 + bash -s -- 15:56:40 15:56:40 _____ _ 15:56:40 / ____| | | 15:56:40 | | ___ __| | ___ ___ _____ __ 15:56:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:56:40 | |___| (_) | (_| | __/ (_| (_) \ V / 15:56:40 \_____\___/ \__,_|\___|\___\___/ \_/ 15:56:40 Bash-1.0.6 15:56:40 15:56:40 15:56:40 ==> git version 2.25.1 found 15:56:40 ==> 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 15:56:40 Release-Date: 2020-01-08 15:56:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:56:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:56:40 ==> Jenkins CI detected. 15:56:40 current dir:  /w/workspace/exfoundry_device-usb-camera_main 15:56:40 project root: . 15:56:40 --> token set from env 15:56:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:56:40 ==> Running gcov in . (disable via -X gcov) 15:56:40 ==> Python coveragepy not found 15:56:40 ==> Searching for coverage reports in: 15:56:40 + . 15:56:40 -> Found 1 reports 15:56:40 ==> Detecting git/mercurial file structure 15:56:40 ==> Reading reports 15:56:41 + ./coverage.out bytes=54703 15:56:41 ==> Appending adjustments 15:56:41 https://docs.codecov.io/docs/fixing-reports 15:56:41 + Found adjustments 15:56:41 ==> Gzipping contents 15:56:41 8.0K /tmp/codecov.Yu2EOi.gz 15:56:41 ==> Uploading reports 15:56:41 url: https://codecov.io 15:56:41 query: branch=main&commit=03955ee09018b338b3036f15f61b85e23fce302f&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:41 -> Pinging Codecov 15:56:41 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=03955ee09018b338b3036f15f61b85e23fce302f&build=158&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F158%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 15:56:41 -> Uploading to 15:56:41 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/73D8F5FF140700D3E01443B452E23636/03955ee09018b338b3036f15f61b85e23fce302f/60f4566e-7705-4983-864e-0a22cedc8afc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T155641Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f5d2e56080b4a5b033f32e92709e5e0e12f1d7405ee01bcf2600373911560d40 15:56:41 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:41 Dload Upload Total Spent Left Speed 15:56:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6805 0 0 100 6805 0 22759 --:--:-- --:--:-- --:--:-- 22683 100 6805 0 0 100 6805 0 22759 --:--:-- --:--:-- --:--:-- 22683 15:56:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] } 15:56:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:56:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:56:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:42 15:56:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:56:42 df9b9388f04a: Pulling fs layer 15:56:42 52dc419b0ee2: Pulling fs layer 15:56:42 25bc292e5bac: Pulling fs layer 15:56:42 114826534d7a: Pulling fs layer 15:56:42 4657fd5d0bcf: Pulling fs layer 15:56:42 6ad1cebc031e: Pulling fs layer 15:56:42 8a3aa393b2d8: Pulling fs layer 15:56:42 114826534d7a: Waiting 15:56:42 4657fd5d0bcf: Waiting 15:56:42 6ad1cebc031e: Waiting 15:56:42 8a3aa393b2d8: Waiting 15:56:42 25bc292e5bac: Verifying Checksum 15:56:42 25bc292e5bac: Download complete 15:56:42 52dc419b0ee2: Download complete 15:56:42 4657fd5d0bcf: Verifying Checksum 15:56:42 4657fd5d0bcf: Download complete 15:56:42 df9b9388f04a: Download complete 15:56:42 6ad1cebc031e: Verifying Checksum 15:56:42 6ad1cebc031e: Download complete 15:56:42 df9b9388f04a: Pull complete 15:56:43 52dc419b0ee2: Pull complete 15:56:43 25bc292e5bac: Pull complete 15:56:43 114826534d7a: Verifying Checksum 15:56:43 114826534d7a: Download complete 15:56:43 8a3aa393b2d8: Verifying Checksum 15:56:43 8a3aa393b2d8: Download complete 15:56:46 114826534d7a: Pull complete 15:56:46 4657fd5d0bcf: Pull complete 15:56:47 6ad1cebc031e: Pull complete 15:56:50 8a3aa393b2d8: Pull complete 15:56:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:56:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:50 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:56:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:56:59 $ docker top d4737453d1cc400f9ee9d6620d606819a12ae948493b41c8cc4f446d917ed90f -eo pid,comm [Pipeline] { [Pipeline] echo 15:57:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 15:57:00 + set -o pipefail 15:57:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 15:57:06 15:57:06 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 15:57:06 15:57:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/078b3757-75f9-490a-a12f-0babc669a9aa 15:57:06 15:57:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:57:06 15:57:06 15:57:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:57:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:57:06 More details here: https://snyk.co/ue1NS [Pipeline] } 15:57:06 $ docker stop --time=1 d4737453d1cc400f9ee9d6620d606819a12ae948493b41c8cc4f446d917ed90f 15:57:11 $ docker rm -f --volumes d4737453d1cc400f9ee9d6620d606819a12ae948493b41c8cc4f446d917ed90f [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 15:57:12 + git log --format=format:%s -1 03955ee09018b338b3036f15f61b85e23fce302f [Pipeline] sh 15:57:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:57:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:57:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:12 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:57:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:57:13 $ docker top 07cb6eddde25a673fa7e981e19a5fa621ac1e028d418d22c1d4c97bfabcdfcee -eo pid,comm 15:57:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:57:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:57:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:57:13 [ssh-agent] Looking for ssh-agent implementation... 15:57:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:57:13 $ docker exec 07cb6eddde25a673fa7e981e19a5fa621ac1e028d418d22c1d4c97bfabcdfcee ssh-agent 15:57:13 SSH_AUTH_SOCK=/tmp/ssh-1QMsItk0qxrM/agent.33 15:57:13 SSH_AGENT_PID=39 15:57:13 Running ssh-add (command line suppressed) 15:57:13 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_242938363918135767.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_242938363918135767.key) 15:57:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:57:14 + git semver tag 15:57:14 2023-10-24 15:57:14,230 [run_tag] DEBUG tag force:False 15:57:14 2023-10-24 15:57:14,230 [check_head_tag] DEBUG check head tag 15:57:14 2023-10-24 15:57:14,233 [execute] INFO git cat-file --batch-check 15:57:14 2023-10-24 15:57:14,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:57:14 2023-10-24 15:57:14,238 [execute] INFO git cat-file --batch 15:57:14 2023-10-24 15:57:14,238 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 15:57:14 2023-10-24 15:57:14,276 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:57:14 2023-10-24 15:57:14,277 [execute] INFO git tag -a v3.1.0-dev.32 -m v3.1.0-dev.32 15:57:14 2023-10-24 15:57:14,277 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.32', '-m', 'v3.1.0-dev.32'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 15:57:14 2023-10-24 15:57:14,281 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:57:14 3.1.0-dev.32 [Pipeline] } 15:57:14 $ docker exec --env ******** --env ******** 07cb6eddde25a673fa7e981e19a5fa621ac1e028d418d22c1d4c97bfabcdfcee ssh-agent -k 15:57:14 unset SSH_AUTH_SOCK; 15:57:14 unset SSH_AGENT_PID; 15:57:14 echo Agent pid 39 killed; 15:57:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:57:14 + git semver [Pipeline] } 15:57:15 $ docker stop --time=1 07cb6eddde25a673fa7e981e19a5fa621ac1e028d418d22c1d4c97bfabcdfcee 15:57:17 $ docker rm -f --volumes 07cb6eddde25a673fa7e981e19a5fa621ac1e028d418d22c1d4c97bfabcdfcee [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:17 15:57:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:57:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:18 0.23.1-centos7: Pulling from edgex-lftools 15:57:18 ab5ef0e58194: Pulling fs layer 15:57:18 9712f1f96733: Pulling fs layer 15:57:18 63f879dbbcfc: Pulling fs layer 15:57:18 0d9ebad4ef96: Pulling fs layer 15:57:18 e9a5061849ea: Pulling fs layer 15:57:18 d747dcd14b5f: Pulling fs layer 15:57:18 2de7ff778b66: Pulling fs layer 15:57:18 e9a5061849ea: Waiting 15:57:18 2de7ff778b66: Waiting 15:57:18 0d9ebad4ef96: Waiting 15:57:18 9712f1f96733: Verifying Checksum 15:57:18 9712f1f96733: Download complete 15:57:18 63f879dbbcfc: Verifying Checksum 15:57:18 63f879dbbcfc: Download complete 15:57:19 0d9ebad4ef96: Verifying Checksum 15:57:19 0d9ebad4ef96: Download complete 15:57:19 e9a5061849ea: Verifying Checksum 15:57:19 e9a5061849ea: Download complete 15:57:19 ab5ef0e58194: Verifying Checksum 15:57:19 ab5ef0e58194: Download complete 15:57:19 d747dcd14b5f: Verifying Checksum 15:57:19 d747dcd14b5f: Download complete 15:57:19 2de7ff778b66: Verifying Checksum 15:57:19 2de7ff778b66: Download complete 15:57:22 ab5ef0e58194: Pull complete 15:57:23 9712f1f96733: Pull complete 15:57:24 63f879dbbcfc: Pull complete 15:57:29 0d9ebad4ef96: Pull complete 15:57:30 e9a5061849ea: Pull complete 15:57:31 d747dcd14b5f: Pull complete 15:57:33 2de7ff778b66: Pull complete 15:57:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:57:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:57:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:57:34 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:57:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:58:41 $ docker top 55fad58002a55ab85902406f01466b108f8045ff6e3311645cf829ba5c15cfcb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:58:41 provisioning config files... 15:58:41 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config6789860996114330910tmp 15:58:41 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11481571370083562479tmp 15:58:41 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17706538557767807537tmp [Pipeline] { [Pipeline] echo 15:58:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:58:42 ---> sigul-configuration.sh 15:58:42 gpg: directory `/root/.gnupg' created 15:58:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:58:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:58:42 gpg: keyring `/root/.gnupg/secring.gpg' created 15:58:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:58:42 gpg: CAST5 encrypted data 15:58:42 gpg: encrypted with 1 passphrase 15:58:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:58:42 + mkdir /home/jenkins 15:58:42 + mkdir /home/jenkins/sigul [Pipeline] sh 15:58:43 + 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 15:58:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:58:43 ---> sigul-install.sh 15:58:43 Sigul already installed; skipping installation. [Pipeline] sh 15:58:43 + git tag --list 15:58:43 v0.0.0 15:58:43 v0.0.1-dev.1 15:58:43 v0.0.1-dev.10 15:58:43 v0.0.1-dev.11 15:58:43 v0.0.1-dev.12 15:58:43 v0.0.1-dev.13 15:58:43 v0.0.1-dev.14 15:58:43 v0.0.1-dev.15 15:58:43 v0.0.1-dev.16 15:58:43 v0.0.1-dev.2 15:58:43 v0.0.1-dev.3 15:58:43 v0.0.1-dev.4 15:58:43 v0.0.1-dev.5 15:58:43 v0.0.1-dev.6 15:58:43 v0.0.1-dev.7 15:58:43 v0.0.1-dev.8 15:58:43 v0.0.1-dev.9 15:58:43 v2.2.0 15:58:43 v2.2.0-dev.17 15:58:43 v2.2.0-dev.18 15:58:43 v2.2.0-dev.19 15:58:43 v2.2.0-dev.20 15:58:43 v2.2.0-dev.21 15:58:43 v2.2.0-dev.22 15:58:43 v2.2.0-dev.23 15:58:43 v2.2.0-dev.24 15:58:43 v2.2.0-dev.25 15:58:43 v2.2.0-dev.26 15:58:43 v2.2.0-dev.27 15:58:43 v2.3.0 15:58:43 v2.3.0-dev.1 15:58:43 v2.3.0-dev.10 15:58:43 v2.3.0-dev.11 15:58:43 v2.3.0-dev.12 15:58:43 v2.3.0-dev.13 15:58:43 v2.3.0-dev.14 15:58:43 v2.3.0-dev.15 15:58:43 v2.3.0-dev.16 15:58:43 v2.3.0-dev.17 15:58:43 v2.3.0-dev.18 15:58:43 v2.3.0-dev.19 15:58:43 v2.3.0-dev.2 15:58:43 v2.3.0-dev.20 15:58:43 v2.3.0-dev.21 15:58:43 v2.3.0-dev.22 15:58:43 v2.3.0-dev.23 15:58:43 v2.3.0-dev.24 15:58:43 v2.3.0-dev.25 15:58:43 v2.3.0-dev.26 15:58:43 v2.3.0-dev.27 15:58:43 v2.3.0-dev.28 15:58:43 v2.3.0-dev.3 15:58:43 v2.3.0-dev.4 15:58:43 v2.3.0-dev.5 15:58:43 v2.3.0-dev.6 15:58:43 v2.3.0-dev.7 15:58:43 v2.3.0-dev.8 15:58:43 v2.3.0-dev.9 15:58:43 v2.3.1 15:58:43 v2.3.1-dev.4 15:58:43 v2.3.1-dev.5 15:58:43 v2.3.1-dev.6 15:58:43 v3.0 15:58:43 v3.0.0 15:58:43 v3.0.0-dev.1 15:58:43 v3.0.0-dev.10 15:58:43 v3.0.0-dev.11 15:58:43 v3.0.0-dev.12 15:58:43 v3.0.0-dev.13 15:58:43 v3.0.0-dev.14 15:58:43 v3.0.0-dev.15 15:58:43 v3.0.0-dev.16 15:58:43 v3.0.0-dev.17 15:58:43 v3.0.0-dev.18 15:58:43 v3.0.0-dev.19 15:58:43 v3.0.0-dev.2 15:58:43 v3.0.0-dev.20 15:58:43 v3.0.0-dev.21 15:58:43 v3.0.0-dev.22 15:58:43 v3.0.0-dev.23 15:58:43 v3.0.0-dev.24 15:58:43 v3.0.0-dev.25 15:58:43 v3.0.0-dev.26 15:58:43 v3.0.0-dev.27 15:58:43 v3.0.0-dev.28 15:58:43 v3.0.0-dev.29 15:58:43 v3.0.0-dev.3 15:58:43 v3.0.0-dev.30 15:58:43 v3.0.0-dev.31 15:58:43 v3.0.0-dev.32 15:58:43 v3.0.0-dev.33 15:58:43 v3.0.0-dev.34 15:58:43 v3.0.0-dev.35 15:58:43 v3.0.0-dev.36 15:58:43 v3.0.0-dev.37 15:58:43 v3.0.0-dev.38 15:58:43 v3.0.0-dev.39 15:58:43 v3.0.0-dev.4 15:58:43 v3.0.0-dev.40 15:58:43 v3.0.0-dev.41 15:58:43 v3.0.0-dev.42 15:58:43 v3.0.0-dev.43 15:58:43 v3.0.0-dev.44 15:58:43 v3.0.0-dev.45 15:58:43 v3.0.0-dev.46 15:58:43 v3.0.0-dev.47 15:58:43 v3.0.0-dev.48 15:58:43 v3.0.0-dev.49 15:58:43 v3.0.0-dev.5 15:58:43 v3.0.0-dev.50 15:58:43 v3.0.0-dev.51 15:58:43 v3.0.0-dev.6 15:58:43 v3.0.0-dev.7 15:58:43 v3.0.0-dev.8 15:58:43 v3.0.0-dev.9 15:58:43 v3.1.0-dev.1 15:58:43 v3.1.0-dev.10 15:58:43 v3.1.0-dev.11 15:58:43 v3.1.0-dev.12 15:58:43 v3.1.0-dev.13 15:58:43 v3.1.0-dev.14 15:58:43 v3.1.0-dev.15 15:58:43 v3.1.0-dev.16 15:58:43 v3.1.0-dev.17 15:58:43 v3.1.0-dev.18 15:58:43 v3.1.0-dev.19 15:58:43 v3.1.0-dev.2 15:58:43 v3.1.0-dev.20 15:58:43 v3.1.0-dev.21 15:58:43 v3.1.0-dev.22 15:58:43 v3.1.0-dev.23 15:58:43 v3.1.0-dev.24 15:58:43 v3.1.0-dev.25 15:58:43 v3.1.0-dev.26 15:58:43 v3.1.0-dev.27 15:58:43 v3.1.0-dev.28 15:58:43 v3.1.0-dev.29 15:58:43 v3.1.0-dev.3 15:58:43 v3.1.0-dev.30 15:58:43 v3.1.0-dev.31 15:58:43 v3.1.0-dev.32 15:58:43 v3.1.0-dev.4 15:58:43 v3.1.0-dev.5 15:58:43 v3.1.0-dev.6 15:58:43 v3.1.0-dev.7 15:58:43 v3.1.0-dev.8 15:58:43 v3.1.0-dev.9 [Pipeline] sh 15:58:43 + lftools sign git-tag v3.1.0-dev.32 15:58:44 Signing Git tag with Sigul... 15:58:44 Signing v3.1.0-dev.32 [Pipeline] echo 15:58:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:58:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:58:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:58:45 $ docker stop --time=1 55fad58002a55ab85902406f01466b108f8045ff6e3311645cf829ba5c15cfcb 15:58:52 $ docker rm -f --volumes 55fad58002a55ab85902406f01466b108f8045ff6e3311645cf829ba5c15cfcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:58:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:54 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:58:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:02 $ docker top 3ed3d33391998881e2ab5f8c2e1cb2b6d1deb600fa7d0bc1a45d85f1c575b2d1 -eo pid,comm 15:59: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). 15:59:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:02 [ssh-agent] Looking for ssh-agent implementation... 15:59:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:02 $ docker exec 3ed3d33391998881e2ab5f8c2e1cb2b6d1deb600fa7d0bc1a45d85f1c575b2d1 ssh-agent 15:59:02 SSH_AUTH_SOCK=/tmp/ssh-tj1XmT6eZCUB/agent.15 15:59:02 SSH_AGENT_PID=21 15:59:02 Running ssh-add (command line suppressed) 15:59:02 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11974223695665883343.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11974223695665883343.key) 15:59:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:03 + git semver bump pre 15:59:03 2023-10-24 15:59:03,505 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:59:03 2023-10-24 15:59:03,505 [bump_version] DEBUG bumping version:3.1.0-dev.32 on axis:pre with prefix:dev 15:59:03 2023-10-24 15:59:03,505 [bump_version] DEBUG bumped version:3.1.0-dev.33 15:59:03 2023-10-24 15:59:03,505 [write_version] DEBUG write version:3.1.0-dev.33 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 15:59:03 2023-10-24 15:59:03,505 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:59:03 2023-10-24 15:59:03,505 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:59:03 2023-10-24 15:59:03,508 [execute] INFO git cat-file --batch-check 15:59:03 2023-10-24 15:59:03,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:03 2023-10-24 15:59:03,513 [execute] INFO git cat-file --batch 15:59:03 2023-10-24 15:59:03,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:03 2023-10-24 15:59:03,518 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:59:03 3.1.0-dev.33 [Pipeline] } 15:59:03 $ docker exec --env ******** --env ******** 3ed3d33391998881e2ab5f8c2e1cb2b6d1deb600fa7d0bc1a45d85f1c575b2d1 ssh-agent -k 15:59:03 unset SSH_AUTH_SOCK; 15:59:03 unset SSH_AGENT_PID; 15:59:03 echo Agent pid 21 killed; 15:59:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:04 + git semver [Pipeline] } 15:59:05 $ docker stop --time=1 3ed3d33391998881e2ab5f8c2e1cb2b6d1deb600fa7d0bc1a45d85f1c575b2d1 15:59:13 $ docker rm -f --volumes 3ed3d33391998881e2ab5f8c2e1cb2b6d1deb600fa7d0bc1a45d85f1c575b2d1 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:14 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:59:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:22 $ docker top 4c10865260c15c0a4c415abc36e80d02368860a9b49a2264bb025998f8017173 -eo pid,comm 15:59:22 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). 15:59:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:22 [ssh-agent] Looking for ssh-agent implementation... 15:59:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:22 $ docker exec 4c10865260c15c0a4c415abc36e80d02368860a9b49a2264bb025998f8017173 ssh-agent 15:59:23 SSH_AUTH_SOCK=/tmp/ssh-T3eD8fgj9tT5/agent.14 15:59:23 SSH_AGENT_PID=20 15:59:23 Running ssh-add (command line suppressed) 15:59:23 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10353258319570417530.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_10353258319570417530.key) 15:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:23 + git semver push 15:59:24 2023-10-24 15:59:24,031 [run_push] DEBUG push 15:59:24 2023-10-24 15:59:24,032 [execute] INFO git cat-file --batch-check 15:59:24 2023-10-24 15:59:24,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:24 2023-10-24 15:59:24,037 [execute] INFO git rev-list de1c36c816288ea69edc18c01e2b86b9dd42bf30 -- 15:59:24 2023-10-24 15:59:24,037 [execute] DEBUG Popen(['git', 'rev-list', 'de1c36c816288ea69edc18c01e2b86b9dd42bf30', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:24 2023-10-24 15:59:24,046 [execute] INFO git fetch -v origin 15:59:24 2023-10-24 15:59:24,047 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 15:59:24 2023-10-24 15:59:24,674 [run_push] DEBUG no remote changes detected 15:59:24 2023-10-24 15:59:24,674 [execute] INFO git push origin semver 15:59:24 2023-10-24 15:59:24,675 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:25 2023-10-24 15:59:25,598 [run_push] DEBUG push all version tags 15:59:25 2023-10-24 15:59:25,599 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:59:25 2023-10-24 15:59:25,599 [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) 15:59:26 2023-10-24 15:59:26,486 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 15:59:26 3.1.0-dev.33 [Pipeline] } 15:59:26 $ docker exec --env ******** --env ******** 4c10865260c15c0a4c415abc36e80d02368860a9b49a2264bb025998f8017173 ssh-agent -k 15:59:27 unset SSH_AUTH_SOCK; 15:59:27 unset SSH_AGENT_PID; 15:59:27 echo Agent pid 20 killed; 15:59:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:27 + git semver [Pipeline] } 15:59:28 $ docker stop --time=1 4c10865260c15c0a4c415abc36e80d02368860a9b49a2264bb025998f8017173 15:59:34 $ docker rm -f --volumes 4c10865260c15c0a4c415abc36e80d02368860a9b49a2264bb025998f8017173 [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 15:59:35 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 15:59:35 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:59:35 total 16 15:59:35 drwxr-xr-x 3 root root 4096 Oct 24 15:45 . 15:59:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:58 .. 15:59:35 drwxr-xr-x 2 root root 4096 Oct 24 15:45 cost 15:59:35 -rw-r--r-- 1 root root 89 Oct 24 15:45 cost.csv 15:59:35 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 15:59:35 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 15:59:35 total 16 15:59:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:45 . 15:59:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:58 .. 15:59:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:45 cost 15:59:35 -rw-r--r-- 1 jenkins jenkins 89 Oct 24 15:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:59:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:59:36 ---> package-listing.sh 15:59:36 ++ facter osfamily 15:59:36 ++ tr '[:upper:]' '[:lower:]' 15:59:36 + OS_FAMILY=debian 15:59:36 + workspace=/w/workspace/exfoundry_device-usb-camera_main 15:59:36 + START_PACKAGES=/tmp/packages_start.txt 15:59:36 + END_PACKAGES=/tmp/packages_end.txt 15:59:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:59:36 + PACKAGES=/tmp/packages_start.txt 15:59:36 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:59:36 + PACKAGES=/tmp/packages_end.txt 15:59:36 + case "${OS_FAMILY}" in 15:59:36 + dpkg -l 15:59:36 + grep '^ii' 15:59:36 + '[' -f /tmp/packages_start.txt ']' 15:59:36 + '[' -f /tmp/packages_end.txt ']' 15:59:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:59:36 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 15:59:36 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 15:59:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 15:59:36 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 15:59:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:37 prd-ubuntu20.04-docker-8c-8g-9940 does not seem to be running inside a container 15:59:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:59:44 $ docker top 5689e8ce5b9d8786da5af589d865ca90a87b28fedadc9368246927f26bffbeec -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:44 + touch /tmp/pre-build-complete [Pipeline] sh 15:59:44 + mkdir -p /var/log/sysstat [Pipeline] sh 15:59:45 + ls /var/log/sa-host 15:59:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:45 provisioning config files... 15:59:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2710549560973128872tmp [Pipeline] { [Pipeline] echo 15:59:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:59:45 ---> create-netrc.sh [Pipeline] } 15:59:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:59:45 ---> python-tools-install.sh [Pipeline] echo 15:59:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:59:46 ---> sudo-logs.sh 15:59:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:59:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:59:46 ---> job-cost.sh 15:59:46 lf-activate-venv: SKIPPING 15:59:46 DEBUG: total: 0.2199999988079071 15:59:46 INFO: Retrieving Stack Cost... 15:59:47 INFO: Retrieving Pricing Info for: v3-standard-8 15:59:47 INFO: Archiving Costs [Pipeline] echo 15:59:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:59:47 ---> logs-deploy.sh 15:59:47 lf-activate-venv: SKIPPING 15:59:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/158 15:59:47 INFO: archiving workspace using pattern(s): 15:59:48 Archives upload complete. 15:59:48 INFO: archiving logs to Nexus