Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd38f515c46efcd7844d1c84f55761450580435e 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-ssh4367456834248103667.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh2815544568842154677.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh13628592508764949340.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17965951984989400182.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-ssh12861798701828268021.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-3812’ Running on prd-ubuntu20.04-docker-8c-8g-3815 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 bd38f515c46efcd7844d1c84f55761450580435e (main) Commit message: "feat: implement get/set pixel format commands. (#269)" > 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 bd38f515c46efcd7844d1c84f55761450580435e # timeout=10 > git rev-list --no-walk 01aee5a5c41b4c067632ab994dacfc003f161152 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:17:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:17:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:17:38 ========================================================= 18:17:38 EdgeX Global Pipelines Version Info 18:17:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:17:39 ------------------- 18:17:39 stable info: 18:17:39 ------------------- 18:17:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:17:39 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 18:17:39 Message: update stable to v1.0.253 18:17:39 ------------------- 18:17:39 experimental info: 18:17:39 ------------------- 18:17:39 Commited By: **** collab-it+edgex@linuxfoundation.org 18:17:39 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 18:17:39 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd38f51 [Pipeline] echo 18:17:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:40 provisioning config files... 18:17:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8682102276955285857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:40 ---> docker-login.sh 18:17:40 nexus3.edgexfoundry.org:10001 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 nexus3.edgexfoundry.org:10002 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 nexus3.edgexfoundry.org:10003 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 nexus3.edgexfoundry.org:10004 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 docker.io 18:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:41 Configure a credential helper to remove this warning. See 18:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:41 18:17:41 Login Succeeded 18:17:41 ---> docker-login.sh ends [Pipeline] } 18:17:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:17:42 + git rev-list -1 --merges bd38f515c46efcd7844d1c84f55761450580435e~1..bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] echo 18:17:42 -----------> git rev-list -1 --merges bd38f515c46efcd7844d1c84f55761450580435e~1..bd38f515c46efcd7844d1c84f55761450580435e bd38f515c46efcd7844d1c84f55761450580435e [false] [Pipeline] sh 18:17:42 + git log --format=format:%s -1 bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] echo 18:17:42 ========================================================= 18:17:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:17:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:17:43 + git log --format=format:%s -1 bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] echo 18:17:43 [semverPrep] GIT_COMMIT: bd38f515c46efcd7844d1c84f55761450580435e, Commit Message: feat: implement get/set pixel format commands. (#269) [Pipeline] echo 18:17:43 [semverPrep] This is not a build commit. [Pipeline] sh 18:17:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:17:43 + grep -v github /etc/ssh/ssh_known_hosts 18:17:43 + [ -e /tmp/ssh_known_hosts ] 18:17:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:17:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:17:43 + sudo tee -a /etc/ssh/ssh_known_hosts 18:17:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:43 18:17:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:44 0.1.4: Pulling from edgex-devops/py-git-semver 18:17:44 b85a868b505f: Pulling fs layer 18:17:44 e2be974225ed: Pulling fs layer 18:17:44 339a4e72a1f5: Pulling fs layer 18:17:44 988bab9f4d93: Pulling fs layer 18:17:44 1469e6f7b9e6: Pulling fs layer 18:17:44 988bab9f4d93: Waiting 18:17:44 1469e6f7b9e6: Waiting 18:17:44 eaf3925da568: Pulling fs layer 18:17:44 bab4dde63d76: Pulling fs layer 18:17:44 bde34c3a00c8: Pulling fs layer 18:17:44 bab4dde63d76: Waiting 18:17:44 eaf3925da568: Waiting 18:17:44 b352a97aabf1: Pulling fs layer 18:17:44 4872d77fe225: Pulling fs layer 18:17:44 bde34c3a00c8: Waiting 18:17:44 5851b861e8e6: Pulling fs layer 18:17:44 5851b861e8e6: Waiting 18:17:44 e2be974225ed: Download complete 18:17:44 988bab9f4d93: Verifying Checksum 18:17:44 988bab9f4d93: Download complete 18:17:44 1469e6f7b9e6: Verifying Checksum 18:17:44 1469e6f7b9e6: Download complete 18:17:44 339a4e72a1f5: Verifying Checksum 18:17:44 339a4e72a1f5: Download complete 18:17:44 eaf3925da568: Verifying Checksum 18:17:44 eaf3925da568: Download complete 18:17:44 bde34c3a00c8: Download complete 18:17:44 b352a97aabf1: Download complete 18:17:44 4872d77fe225: Verifying Checksum 18:17:44 4872d77fe225: Download complete 18:17:44 5851b861e8e6: Verifying Checksum 18:17:44 5851b861e8e6: Download complete 18:17:44 b85a868b505f: Verifying Checksum 18:17:44 b85a868b505f: Download complete 18:17:44 bab4dde63d76: Verifying Checksum 18:17:44 bab4dde63d76: Download complete 18:17:45 b85a868b505f: Pull complete 18:17:45 e2be974225ed: Pull complete 18:17:46 339a4e72a1f5: Pull complete 18:17:46 988bab9f4d93: Pull complete 18:17:46 1469e6f7b9e6: Pull complete 18:17:46 eaf3925da568: Pull complete 18:17:48 bab4dde63d76: Pull complete 18:17:48 bde34c3a00c8: Pull complete 18:17:48 b352a97aabf1: Pull complete 18:17:48 4872d77fe225: Pull complete 18:17:48 5851b861e8e6: Pull complete 18:17:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:17:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:17:48 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:17:48 $ 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 18:17:52 $ docker top d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 -eo pid,comm 18:17:52 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:17:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:17:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:52 [ssh-agent] Looking for ssh-agent implementation... 18:17:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:52 $ docker exec d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 ssh-agent 18:17:52 SSH_AUTH_SOCK=/tmp/ssh-piKtlyeFW3oS/agent.32 18:17:52 SSH_AGENT_PID=38 18:17:52 Running ssh-add (command line suppressed) 18:17:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3957787597737143926.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_3957787597737143926.key) 18:17:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:53 + git tag --points-at HEAD [Pipeline] } 18:17:53 $ docker exec --env ******** --env ******** d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 ssh-agent -k 18:17:53 unset SSH_AUTH_SOCK; 18:17:53 unset SSH_AGENT_PID; 18:17:53 echo Agent pid 38 killed; 18:17:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:17:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:17:53 [ssh-agent] Looking for ssh-agent implementation... 18:17:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:17:53 $ docker exec d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 ssh-agent 18:17:53 SSH_AUTH_SOCK=/tmp/ssh-xb0v5NT5MWSV/agent.70 18:17:53 SSH_AGENT_PID=76 18:17:53 Running ssh-add (command line suppressed) 18:17:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4912194618721900480.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4912194618721900480.key) 18:17:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:17:54 + git semver init 18:17:54 2023-08-16 18:17:54,207 [run_init] DEBUG init version:0.0.0 force:False 18:17:54 2023-08-16 18:17:54,207 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 18:17:54 2023-08-16 18:17:54,208 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 18:17:54 2023-08-16 18:17:54,208 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/exfoundry_device-usb-camera_main/.semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:17:55 2023-08-16 18:17:54,965 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 18:17:55 2023-08-16 18:17:54,965 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 18:17:55 2023-08-16 18:17:54,965 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:17:55 2023-08-16 18:17:54,966 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:17:55 3.1.0-dev.7 [Pipeline] } 18:17:55 $ docker exec --env ******** --env ******** d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 ssh-agent -k 18:17:55 unset SSH_AUTH_SOCK; 18:17:55 unset SSH_AGENT_PID; 18:17:55 echo Agent pid 76 killed; 18:17:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:17:55 + git semver [Pipeline] } 18:17:55 $ docker stop --time=1 d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 18:17:57 $ docker rm -f --volumes d70c939117373c4b86656c3f8911c550664388195866295416b43f4485d91625 [Pipeline] // withDockerContainer [Pipeline] sh 18:17:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:17:57 Stashed 1 file(s) [Pipeline] echo 18:17:57 [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:17:57 provisioning config files... 18:17:57 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7204332257510624877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:17:58 ---> docker-login.sh 18:17:58 nexus3.edgexfoundry.org:10001 18:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:58 Configure a credential helper to remove this warning. See 18:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:58 18:17:58 Login Succeeded 18:17:58 nexus3.edgexfoundry.org:10002 18:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:58 Configure a credential helper to remove this warning. See 18:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:58 18:17:58 Login Succeeded 18:17:58 nexus3.edgexfoundry.org:10003 18:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:58 Configure a credential helper to remove this warning. See 18:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:58 18:17:58 Login Succeeded 18:17:58 nexus3.edgexfoundry.org:10004 18:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:58 Configure a credential helper to remove this warning. See 18:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:58 18:17:58 Login Succeeded 18:17:58 docker.io 18:17:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:58 Configure a credential helper to remove this warning. See 18:17:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:58 18:17:58 Login Succeeded 18:17:58 ---> docker-login.sh ends [Pipeline] } 18:17:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:17:58 ========================================================= 18:17:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:17:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:17:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:17:59 Sending build context to Docker daemon 2.048MB 18:17:59 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:17:59 Step 2/13 : FROM ${BASE} AS builder 18:17:59 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:17:59 4db1b89c0bd1: Pulling fs layer 18:17:59 6911f1a30b25: Pulling fs layer 18:17:59 e194b8c5c2a9: Pulling fs layer 18:17:59 6863d3e3a2b1: Pulling fs layer 18:17:59 6863d3e3a2b1: Waiting 18:17:59 ec0bb842ea78: Pulling fs layer 18:17:59 40a00589a448: Pulling fs layer 18:17:59 6c08303d61cc: Pulling fs layer 18:17:59 798269fcf238: Pulling fs layer 18:17:59 ec0bb842ea78: Waiting 18:17:59 40a00589a448: Waiting 18:17:59 6c08303d61cc: Waiting 18:17:59 798269fcf238: Waiting 18:17:59 6911f1a30b25: Verifying Checksum 18:17:59 6911f1a30b25: Download complete 18:17:59 6863d3e3a2b1: Download complete 18:17:59 ec0bb842ea78: Verifying Checksum 18:17:59 ec0bb842ea78: Download complete 18:17:59 4db1b89c0bd1: Verifying Checksum 18:17:59 4db1b89c0bd1: Download complete 18:17:59 40a00589a448: Verifying Checksum 18:17:59 40a00589a448: Download complete 18:17:59 4db1b89c0bd1: Pull complete 18:17:59 6911f1a30b25: Pull complete 18:17:59 e194b8c5c2a9: Download complete 18:17:59 798269fcf238: Verifying Checksum 18:17:59 798269fcf238: Download complete 18:18:00 6c08303d61cc: Verifying Checksum 18:18:00 6c08303d61cc: Download complete 18:18:03 e194b8c5c2a9: Pull complete 18:18:03 6863d3e3a2b1: Pull complete 18:18:03 ec0bb842ea78: Pull complete 18:18:03 40a00589a448: Pull complete 18:18:05 6c08303d61cc: Pull complete 18:18:06 798269fcf238: Pull complete 18:18:06 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 18:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:18:06 ---> ec979cd7f677 18:18:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:18:12 Still waiting to schedule task 18:18:12 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3813’ 18:18:13 ---> Running in 0d3eb90c0e28 18:18:13 Removing intermediate container 0d3eb90c0e28 18:18:13 ---> a2e50e89f5f0 18:18:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:18:13 ---> Running in ab38441c106c 18:18:13 Removing intermediate container ab38441c106c 18:18:13 ---> ca76664135ec 18:18:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:18:13 ---> Running in 5eeb7f669cd8 18:18:13 Removing intermediate container 5eeb7f669cd8 18:18:13 ---> 6db2d76c0552 18:18:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:18:13 ---> Running in 7c2c9bac9a6b 18:18:13 Removing intermediate container 7c2c9bac9a6b 18:18:13 ---> 8b54276f22c4 18:18:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:13 ---> Running in bb40639ee765 18:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:18:13 (1/14) Installing libintl (0.21.1-r1) 18:18:13 (2/14) Installing eudev-libs (3.2.11-r4) 18:18:13 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:18:13 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:18:13 (5/14) Installing v4l-utils (1.22.1-r2) 18:18:13 (6/14) Installing udev-init-scripts (35-r1) 18:18:13 (7/14) Installing libblkid (2.38.1-r1) 18:18:13 (8/14) Installing xz-libs (5.2.9-r0) 18:18:13 (9/14) Installing zstd-libs (1.5.5-r0) 18:18:13 (10/14) Installing kmod-libs (30-r1) 18:18:13 (11/14) Installing eudev (3.2.11-r4) 18:18:13 (12/14) Installing eudev-dev (3.2.11-r4) 18:18:13 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:18:13 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:18:13 Executing busybox-1.35.0-r29.trigger 18:18:13 Executing eudev-3.2.11-r4.trigger 18:18:13 OK: 272 MiB in 67 packages 18:18:14 Removing intermediate container bb40639ee765 18:18:14 ---> 3ff9aaea0c52 18:18:14 Step 8/13 : WORKDIR /device-usb-camera 18:18:14 ---> Running in b9dcf09fa80b 18:18:14 Removing intermediate container b9dcf09fa80b 18:18:14 ---> ab10b3415c89 18:18:14 Step 9/13 : COPY go.mod vendor* ./ 18:18:14 ---> 7e80819e7f55 18:18:14 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:14 ---> Running in e9628099364b 18:18:53 Removing intermediate container e9628099364b 18:18:53 ---> 14830849cd29 18:18:53 Step 11/13 : COPY . . 18:18:53 ---> 1ffcd03685d3 18:18:53 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:18:53 ---> Running in 3ade8a1c5ecc 18:18:53  % Total % Received % Xferd Average Speed Time Time Time Current 18:18:53 Dload  Upload Total Spent Left Speed 18:18:53 0 0 0 0 0 0  0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7338 0 --:--:-- --:--:-- --:--:-- 7375 18:18:53 Removing intermediate container 3ade8a1c5ecc 18:18:53 ---> 6ca1cdbc71c4 18:18:53 Step 13/13 : RUN ${MAKE} 18:18:53 ---> Running in 5b7c6fdcfbc8 18:18:53 noop 18:18:53 Removing intermediate container 5b7c6fdcfbc8 18:18:53 ---> f9452558bcac 18:18:53 Successfully built f9452558bcac 18:18:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:53 + docker inspect -f . ci-base-image-x86_64 18:18:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:53 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:18:53 $ 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 18:18:54 $ docker top feab844571d4f3204c33951777d62b588ce2eca0715d120a36825c7e97ba6ac2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:18:54 + go version 18:18:54 go version go1.20.6 linux/amd64 [Pipeline] } 18:18:54 $ docker stop --time=1 feab844571d4f3204c33951777d62b588ce2eca0715d120a36825c7e97ba6ac2 18:18:55 $ docker rm -f --volumes feab844571d4f3204c33951777d62b588ce2eca0715d120a36825c7e97ba6ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:18:56 + docker inspect -f . ci-base-image-x86_64 18:18:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:18:56 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:18:56 $ 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 18:18:56 $ docker top 281407ea236b551f49ffd76e42b19055d0247b1cc40d47efff8f35238c1dba49 -eo pid,comm [Pipeline] { [Pipeline] sh 18:18:57 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 18:18:57 + make test 18:18:57 go test ./... -coverprofile=coverage.out ./... 18:19:02 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:19:12 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:19:12 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 4.7% of statements 18:19:17 go vet ./... 18:19:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:19:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:19:21 ./bin/test-attribution-txt.sh [Pipeline] echo 18:19:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:19:21 $ docker stop --time=1 281407ea236b551f49ffd76e42b19055d0247b1cc40d47efff8f35238c1dba49 18:19:25 $ docker rm -f --volumes 281407ea236b551f49ffd76e42b19055d0247b1cc40d47efff8f35238c1dba49 [Pipeline] // withDockerContainer [Pipeline] sh 18:19:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:19:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:19:26 + ls -al . 18:19:26 total 212 18:19:26 drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 18:18 . 18:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 18:17 .. 18:19:26 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 18:17 .git 18:19:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:17 .github 18:19:26 -rw-rw-r-- 1 jenkins jenkins 414 Aug 16 18:17 .gitignore 18:19:26 -rw-rw-r-- 1 jenkins jenkins 45 Aug 16 18:17 .golangci.yml 18:19:26 -rw-rw-r-- 1 jenkins jenkins 77 Aug 16 18:17 .hadolint.yml 18:19:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 18:17 .semver 18:19:26 -rw-rw-r-- 1 jenkins jenkins 9783 Aug 16 18:17 Attribution.txt 18:19:26 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 16 18:17 CHANGELOG.md 18:19:26 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 16 18:17 Dockerfile 18:19:26 -rw-rw-r-- 1 jenkins jenkins 678 Aug 16 18:17 GOVERNANCE.md 18:19:26 -rw-rw-r-- 1 jenkins jenkins 659 Aug 16 18:17 Jenkinsfile 18:19:26 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 18:17 LICENSE 18:19:26 -rw-rw-r-- 1 jenkins jenkins 2364 Aug 16 18:17 Makefile 18:19:26 -rw-rw-r-- 1 jenkins jenkins 622 Aug 16 18:17 OWNERS.md 18:19:26 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 16 18:17 README.md 18:19:26 -rw-rw-r-- 1 jenkins jenkins 11 Aug 16 18:17 VERSION 18:19:26 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 18:17 bin 18:19:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:17 cmd 18:19:26 -rw-r--r-- 1 jenkins jenkins 50975 Aug 16 18:19 coverage.out 18:19:26 -rwxrwxr-x 1 jenkins jenkins 140 Aug 16 18:17 docker-entrypoint.sh 18:19:26 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 18:17 docs 18:19:26 -rw-rw-r-- 1 jenkins jenkins 3416 Aug 16 18:17 go.mod 18:19:26 -rw-rw-r-- 1 jenkins jenkins 31482 Aug 16 18:17 go.sum 18:19:26 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:17 internal 18:19:26 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 18:17 snap 18:19:26 -rw-rw-r-- 1 jenkins jenkins 231 Aug 16 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:19:27 + 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=bd38f515c46efcd7844d1c84f55761450580435e --label arch=amd64 --label version=3.1.0-dev.7 . 18:19:27 Sending build context to Docker daemon 2.1MB 18:19:27 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:19:27 Step 2/36 : FROM ${BASE} AS builder 18:19:27 ---> f9452558bcac 18:19:27 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:19:27 ---> Running in 362d8841769f 18:19:27 Removing intermediate container 362d8841769f 18:19:27 ---> a591cb54fa69 18:19:27 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:19:27 ---> Running in 7d6b21648f1b 18:19:27 Removing intermediate container 7d6b21648f1b 18:19:27 ---> 583d6987025f 18:19:27 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:19:27 ---> Running in 2546d240940b 18:19:27 Removing intermediate container 2546d240940b 18:19:27 ---> aab1a00f458e 18:19:27 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:19:27 ---> Running in bcc33ae2f342 18:19:27 Removing intermediate container bcc33ae2f342 18:19:27 ---> 8a888ff219fe 18:19:27 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:27 ---> Running in fab45fa986aa 18:19:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:19:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:19:28 OK: 272 MiB in 67 packages 18:19:28 Removing intermediate container fab45fa986aa 18:19:28 ---> 869469ac9a8c 18:19:28 Step 8/36 : WORKDIR /device-usb-camera 18:19:28 ---> Running in 0c719e7b6c52 18:19:28 Removing intermediate container 0c719e7b6c52 18:19:28 ---> 37ef5b59508d 18:19:28 Step 9/36 : COPY go.mod vendor* ./ 18:19:28 ---> 93ed0c1e000a 18:19:28 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:19:28 ---> Running in 5fb204498dad 18:19:29 Removing intermediate container 5fb204498dad 18:19:29 ---> 55472ade51a7 18:19:29 Step 11/36 : COPY . . 18:19:30 ---> 36efe0727f0a 18:19:30 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:19:30 ---> Running in 522897ac62e9 18:19:30  % Total % Received % Xferd Average Speed Time Time Time Current 18:19:30 Dload Upload Total Spent Left Speed 18:19:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21755 0 --:--:-- --:--:-- --:--:-- 22125 18:19:30 Removing intermediate container 522897ac62e9 18:19:30 ---> 54cee38d3d1d 18:19:30 Step 13/36 : RUN ${MAKE} 18:19:30 ---> Running in 46f3b9334b10 18:19:30 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:19:52 Removing intermediate container 46f3b9334b10 18:19:52 ---> 97f481baf544 18:19:52 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:19:52 v0.21.6: Pulling from aler9/rtsp-simple-server 18:19:52 4acc49c71d14: Pulling fs layer 18:19:52 4acc49c71d14: Verifying Checksum 18:19:52 4acc49c71d14: Download complete 18:19:52 4acc49c71d14: Pull complete 18:19:52 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:19:52 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:19:52 ---> 01a2bd3e5fff 18:19:52 Step 15/36 : FROM alpine:3.17 18:19:52 3.17: Pulling from library/alpine 18:19:52 9398808236ff: Pulling fs layer 18:19:53 9398808236ff: Verifying Checksum 18:19:53 9398808236ff: Download complete 18:19:53 9398808236ff: Pull complete 18:19:53 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 18:19:53 Status: Downloaded newer image for alpine:3.17 18:19:53 ---> 1e0b8b5322fc 18:19:53 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:19:53 ---> Running in 463a180c21b9 18:19:53 Removing intermediate container 463a180c21b9 18:19:53 ---> 70168e67046f 18:19:53 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:19:53 ---> Running in 0b8e3d689c57 18:19:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:19:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:19:54 (1/86) Installing dumb-init (1.2.5-r2) 18:19:54 (2/86) Installing sdl2 (2.26.5-r0) 18:19:54 (3/86) Installing svt-av1-libs (1.3.0-r0) 18:19:54 (4/86) Installing libxau (1.0.10-r0) 18:19:54 (5/86) Installing libmd (1.0.4-r0) 18:19:54 (6/86) Installing libbsd (0.11.7-r0) 18:19:54 (7/86) Installing libxdmcp (1.1.4-r0) 18:19:54 (8/86) Installing libxcb (1.15-r0) 18:19:54 (9/86) Installing libx11 (1.8.4-r1) 18:19:54 (10/86) Installing aom-libs (3.5.0-r0) 18:19:54 (11/86) Installing alsa-lib (1.2.8-r0) 18:19:54 (12/86) Installing libexpat (2.5.0-r0) 18:19:54 (13/86) Installing brotli-libs (1.0.9-r9) 18:19:54 (14/86) Installing libbz2 (1.0.8-r4) 18:19:54 (15/86) Installing libpng (1.6.39-r0) 18:19:54 (16/86) Installing freetype (2.12.1-r0) 18:19:54 (17/86) Installing fontconfig (2.14.1-r0) 18:19:54 (18/86) Installing fribidi (1.0.12-r0) 18:19:54 (19/86) Installing libffi (3.4.4-r0) 18:19:54 (20/86) Installing libintl (0.21.1-r1) 18:19:54 (21/86) Installing libblkid (2.38.1-r1) 18:19:54 (22/86) Installing libmount (2.38.1-r1) 18:19:54 (23/86) Installing pcre2 (10.42-r0) 18:19:54 (24/86) Installing glib (2.74.7-r0) 18:19:54 (25/86) Installing graphite2 (1.3.14-r2) 18:19:54 (26/86) Installing harfbuzz (5.3.1-r1) 18:19:54 (27/86) Installing libass (0.16.0-r1) 18:19:54 (28/86) Installing libdav1d (1.0.0-r2) 18:19:54 (29/86) Installing hwdata-pci (0.364-r0) 18:19:54 (30/86) Installing libpciaccess (0.17-r0) 18:19:54 (31/86) Installing libdrm (2.4.114-r0) 18:19:54 (32/86) Installing gmp (6.2.1-r2) 18:19:54 (33/86) Installing nettle (3.8.1-r0) 18:19:54 (34/86) Installing p11-kit (0.24.1-r1) 18:19:54 (35/86) Installing libtasn1 (4.19.0-r0) 18:19:54 (36/86) Installing libunistring (1.1-r0) 18:19:54 (37/86) Installing gnutls (3.7.8-r3) 18:19:54 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r1) 18:19:54 (39/86) Installing ncurses-libs (6.3_p20221119-r1) 18:19:54 (40/86) Installing lame (3.100-r2) 18:19:54 (41/86) Installing opus (1.3.1-r1) 18:19:54 (42/86) Installing libasyncns (0.8-r1) 18:19:54 (43/86) Installing dbus-libs (1.14.8-r0) 18:19:54 (44/86) Installing libltdl (2.4.7-r1) 18:19:54 (45/86) Installing orc (0.4.33-r0) 18:19:54 (46/86) Installing libgcc (12.2.1_git20220924-r4) 18:19:54 (47/86) Installing libogg (1.3.5-r2) 18:19:54 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 18:19:54 (49/86) Installing flac-libs (1.4.2-r0) 18:19:54 (50/86) Installing libvorbis (1.3.7-r0) 18:19:54 (51/86) Installing libsndfile (1.1.0-r2) 18:19:54 (52/86) Installing libgomp (12.2.1_git20220924-r4) 18:19:54 (53/86) Installing soxr (0.1.3-r3) 18:19:54 (54/86) Installing speexdsp (1.2.1-r0) 18:19:54 (55/86) Installing tdb-libs (1.4.6-r0) 18:19:54 (56/86) Installing libpulse (16.1-r6) 18:19:54 (57/86) Installing cjson (1.7.15-r3) 18:19:54 (58/86) Installing mbedtls (2.28.4-r0) 18:19:55 (59/86) Installing librist (0.2.7-r0) 18:19:55 (60/86) Installing libsrt (1.5.1-r0) 18:19:55 (61/86) Installing libssh (0.10.5-r0) 18:19:55 (62/86) Installing libtheora (1.1.1-r16) 18:19:55 (63/86) Installing libjpeg-turbo (2.1.4-r0) 18:19:55 (64/86) Installing v4l-utils-libs (1.22.1-r2) 18:19:55 (65/86) Installing libxext (1.3.5-r0) 18:19:55 (66/86) Installing libxfixes (6.0.0-r0) 18:19:55 (67/86) Installing wayland-libs-client (1.21.0-r1) 18:19:55 (68/86) Installing libva (2.16.0-r0) 18:19:55 (69/86) Installing libvdpau (1.5-r0) 18:19:55 (70/86) Installing vidstab (1.1.0-r2) 18:19:55 (71/86) Installing libvpx (1.12.0-r1) 18:19:55 (72/86) Installing libwebp (1.2.4-r2) 18:19:55 (73/86) Installing x264-libs (0.164_git20220602-r0) 18:19:55 (74/86) Installing numactl (2.0.16-r1) 18:19:55 (75/86) Installing x265-libs (3.5-r3) 18:19:55 (76/86) Installing xvidcore (1.3.7-r1) 18:19:55 (77/86) Installing libsodium (1.0.18-r2) 18:19:55 (78/86) Installing libzmq (4.3.4-r1) 18:19:55 (79/86) Installing ffmpeg-libs (5.1.3-r0) 18:19:55 (80/86) Installing ffmpeg (5.1.3-r0) 18:19:55 (81/86) Installing udev-init-scripts (35-r1) 18:19:55 (82/86) Installing eudev-libs (3.2.11-r4) 18:19:55 (83/86) Installing xz-libs (5.2.9-r0) 18:19:55 (84/86) Installing zstd-libs (1.5.5-r0) 18:19:55 (85/86) Installing kmod-libs (30-r1) 18:19:55 (86/86) Installing eudev (3.2.11-r4) 18:19:55 Executing busybox-1.35.0-r29.trigger 18:19:55 Executing eudev-3.2.11-r4.trigger 18:19:55 OK: 112 MiB in 101 packages 18:19:58 Removing intermediate container 0b8e3d689c57 18:19:58 ---> d7a8ea673aed 18:19:58 Step 18/36 : WORKDIR / 18:19:58 ---> Running in c49c2a7b3146 18:19:59 Removing intermediate container c49c2a7b3146 18:19:59 ---> 38e75ab9472e 18:19:59 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:19:59 ---> e4cfc786aba4 18:19:59 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:19:59 ---> d2f351a58b85 18:19:59 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:19:59 ---> 8279ddfa2a2e 18:19:59 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:20:00 ---> abcd4fdcdb62 18:20:00 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:20:00 ---> 474fc95f8782 18:20:00 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:20:00 ---> 5f135c322247 18:20:00 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:20:01 ---> 84914bd3e21a 18:20:01 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:20:01 ---> Running in 07418773d24b 18:20:01 Removing intermediate container 07418773d24b 18:20:01 ---> 6ac587c9138d 18:20:01 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:20:01 ---> Running in f3be23e58891 18:20:02 Removing intermediate container f3be23e58891 18:20:02 ---> dca0bb067738 18:20:02 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:20:02 ---> Running in 7d4a96cf9074 18:20:02 Removing intermediate container 7d4a96cf9074 18:20:02 ---> 1352fbd35f37 18:20:02 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:20:02 ---> Running in 5f33a0434faa 18:20:03 Removing intermediate container 5f33a0434faa 18:20:03 ---> 9a8bb761a686 18:20:03 Step 30/36 : EXPOSE 59983 18:20:03 ---> Running in 9c5e66dde648 18:20:03 Removing intermediate container 9c5e66dde648 18:20:03 ---> ea02190edfd4 18:20:03 Step 31/36 : EXPOSE 8554 18:20:03 ---> Running in f55cc7a865c5 18:20:03 Removing intermediate container f55cc7a865c5 18:20:03 ---> 69415051a833 18:20:03 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:20:03 ---> Running in ea072b2a5031 18:20:03 Removing intermediate container ea072b2a5031 18:20:03 ---> 9e35ea8db34f 18:20:03 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:20:03 ---> Running in 1eb1adbfd285 18:20:03 Removing intermediate container 1eb1adbfd285 18:20:03 ---> 72197a4b4259 18:20:03 Step 34/36 : LABEL arch=amd64 18:20:03 ---> Running in 0437269b1337 18:20:03 Removing intermediate container 0437269b1337 18:20:03 ---> 519822ba8197 18:20:03 Step 35/36 : LABEL git_sha=bd38f515c46efcd7844d1c84f55761450580435e 18:20:03 ---> Running in 5c6b3e224940 18:20:03 Removing intermediate container 5c6b3e224940 18:20:03 ---> 5b36250089b7 18:20:03 Step 36/36 : LABEL version=3.1.0-dev.7 18:20:03 ---> Running in 9d847f7a8e9a 18:20:03 Removing intermediate container 9d847f7a8e9a 18:20:03 ---> 2512989f52d7 18:20:03 [Warning] One or more build-args [ARCH] were not consumed 18:20:03 Successfully built 2512989f52d7 18:20:03 Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:20:03 provisioning config files... 18:20:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9035989121626586047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:04 ---> docker-login.sh 18:20:04 nexus3.edgexfoundry.org:10001 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10002 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10003 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 nexus3.edgexfoundry.org:10004 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 docker.io 18:20:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:20:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:20:04 Configure a credential helper to remove this warning. See 18:20:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:20:04 18:20:04 Login Succeeded 18:20:04 ---> docker-login.sh ends [Pipeline] } 18:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:20:04 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 18:20:04 bd38f515c46efcd7844d1c84f55761450580435e 18:20:04 latest 18:20:04 3.1.0-dev.7 18:20:04 bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:20:04 main 18:20:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:05 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:05 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e 18:20:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:20:05 dc649aee11aa: Preparing 18:20:05 23faa3fd6f62: Preparing 18:20:05 18d62336fa68: Preparing 18:20:05 e920225d1dae: Preparing 18:20:05 3827b5b91e75: Preparing 18:20:05 acc83c6ca332: Preparing 18:20:05 9c34944d4e5d: Preparing 18:20:05 3a32f23a2a42: Preparing 18:20:05 e3dab4c44bd9: Preparing 18:20:05 3bdc91d17ff4: Preparing 18:20:05 287f54824006: Preparing 18:20:05 0ebd6615d2e6: Preparing 18:20:05 36b50b131297: Preparing 18:20:05 3a32f23a2a42: Waiting 18:20:05 3bdc91d17ff4: Waiting 18:20:05 e3dab4c44bd9: Waiting 18:20:05 287f54824006: Waiting 18:20:05 0ebd6615d2e6: Waiting 18:20:05 acc83c6ca332: Waiting 18:20:05 36b50b131297: Waiting 18:20:05 9c34944d4e5d: Waiting 18:20:05 dc649aee11aa: Pushed 18:20:05 23faa3fd6f62: Pushed 18:20:05 18d62336fa68: Pushed 18:20:05 e920225d1dae: Pushed 18:20:05 3a32f23a2a42: Pushed 18:20:05 acc83c6ca332: Pushed 18:20:05 e3dab4c44bd9: Pushed 18:20:05 9c34944d4e5d: Pushed 18:20:05 36b50b131297: Layer already exists 18:20:05 3bdc91d17ff4: Pushed 18:20:08 3827b5b91e75: Pushed 18:20:08 287f54824006: Pushed 18:20:16 0ebd6615d2e6: Pushed 18:20:16 bd38f515c46efcd7844d1c84f55761450580435e: digest: sha256:8b3d0ab93c95da08d1ac146129f167489163369c08a638419c3c59b1020f5dbb size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:16 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:16 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 18:20:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:20:16 dc649aee11aa: Preparing 18:20:16 23faa3fd6f62: Preparing 18:20:16 18d62336fa68: Preparing 18:20:16 e920225d1dae: Preparing 18:20:16 3827b5b91e75: Preparing 18:20:16 acc83c6ca332: Preparing 18:20:16 9c34944d4e5d: Preparing 18:20:16 3a32f23a2a42: Preparing 18:20:16 e3dab4c44bd9: Preparing 18:20:16 3bdc91d17ff4: Preparing 18:20:16 287f54824006: Preparing 18:20:16 0ebd6615d2e6: Preparing 18:20:16 36b50b131297: Preparing 18:20:16 9c34944d4e5d: Waiting 18:20:16 3a32f23a2a42: Waiting 18:20:16 e3dab4c44bd9: Waiting 18:20:16 0ebd6615d2e6: Waiting 18:20:16 287f54824006: Waiting 18:20:16 36b50b131297: Waiting 18:20:16 e920225d1dae: Layer already exists 18:20:16 18d62336fa68: Layer already exists 18:20:16 dc649aee11aa: Layer already exists 18:20:16 23faa3fd6f62: Layer already exists 18:20:16 3827b5b91e75: Layer already exists 18:20:16 acc83c6ca332: Layer already exists 18:20:16 9c34944d4e5d: Layer already exists 18:20:16 3a32f23a2a42: Layer already exists 18:20:16 3bdc91d17ff4: Layer already exists 18:20:16 e3dab4c44bd9: Layer already exists 18:20:16 287f54824006: Layer already exists 18:20:16 0ebd6615d2e6: Layer already exists 18:20:16 36b50b131297: Layer already exists 18:20:16 latest: digest: sha256:8b3d0ab93c95da08d1ac146129f167489163369c08a638419c3c59b1020f5dbb size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.7 18:20:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:20:17 dc649aee11aa: Preparing 18:20:17 23faa3fd6f62: Preparing 18:20:17 18d62336fa68: Preparing 18:20:17 e920225d1dae: Preparing 18:20:17 3827b5b91e75: Preparing 18:20:17 acc83c6ca332: Preparing 18:20:17 9c34944d4e5d: Preparing 18:20:17 3a32f23a2a42: Preparing 18:20:17 e3dab4c44bd9: Preparing 18:20:17 3bdc91d17ff4: Preparing 18:20:17 287f54824006: Preparing 18:20:17 0ebd6615d2e6: Preparing 18:20:17 36b50b131297: Preparing 18:20:17 3bdc91d17ff4: Waiting 18:20:17 e3dab4c44bd9: Waiting 18:20:17 9c34944d4e5d: Waiting 18:20:17 287f54824006: Waiting 18:20:17 0ebd6615d2e6: Waiting 18:20:17 36b50b131297: Waiting 18:20:17 3a32f23a2a42: Waiting 18:20:17 acc83c6ca332: Waiting 18:20:17 18d62336fa68: Layer already exists 18:20:17 dc649aee11aa: Layer already exists 18:20:17 3827b5b91e75: Layer already exists 18:20:17 23faa3fd6f62: Layer already exists 18:20:17 e920225d1dae: Layer already exists 18:20:17 acc83c6ca332: Layer already exists 18:20:17 9c34944d4e5d: Layer already exists 18:20:17 3a32f23a2a42: Layer already exists 18:20:17 e3dab4c44bd9: Layer already exists 18:20:17 3bdc91d17ff4: Layer already exists 18:20:17 287f54824006: Layer already exists 18:20:17 0ebd6615d2e6: Layer already exists 18:20:17 36b50b131297: Layer already exists 18:20:17 3.1.0-dev.7: digest: sha256:8b3d0ab93c95da08d1ac146129f167489163369c08a638419c3c59b1020f5dbb size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:17 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:20:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:20:18 dc649aee11aa: Preparing 18:20:18 23faa3fd6f62: Preparing 18:20:18 18d62336fa68: Preparing 18:20:18 e920225d1dae: Preparing 18:20:18 3827b5b91e75: Preparing 18:20:18 acc83c6ca332: Preparing 18:20:18 9c34944d4e5d: Preparing 18:20:18 3a32f23a2a42: Preparing 18:20:18 e3dab4c44bd9: Preparing 18:20:18 3bdc91d17ff4: Preparing 18:20:18 287f54824006: Preparing 18:20:18 0ebd6615d2e6: Preparing 18:20:18 36b50b131297: Preparing 18:20:18 3bdc91d17ff4: Waiting 18:20:18 acc83c6ca332: Waiting 18:20:18 287f54824006: Waiting 18:20:18 9c34944d4e5d: Waiting 18:20:18 3a32f23a2a42: Waiting 18:20:18 e3dab4c44bd9: Waiting 18:20:18 0ebd6615d2e6: Waiting 18:20:18 3827b5b91e75: Layer already exists 18:20:18 dc649aee11aa: Layer already exists 18:20:18 18d62336fa68: Layer already exists 18:20:18 e920225d1dae: Layer already exists 18:20:18 23faa3fd6f62: Layer already exists 18:20:18 acc83c6ca332: Layer already exists 18:20:18 9c34944d4e5d: Layer already exists 18:20:18 3a32f23a2a42: Layer already exists 18:20:18 e3dab4c44bd9: Layer already exists 18:20:18 3bdc91d17ff4: Layer already exists 18:20:18 287f54824006: Layer already exists 18:20:18 0ebd6615d2e6: Layer already exists 18:20:18 36b50b131297: Layer already exists 18:20:18 bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7: digest: sha256:8b3d0ab93c95da08d1ac146129f167489163369c08a638419c3c59b1020f5dbb size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:18 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 18:20:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 18:20:18 dc649aee11aa: Preparing 18:20:18 23faa3fd6f62: Preparing 18:20:18 18d62336fa68: Preparing 18:20:18 e920225d1dae: Preparing 18:20:18 3827b5b91e75: Preparing 18:20:18 acc83c6ca332: Preparing 18:20:18 9c34944d4e5d: Preparing 18:20:18 3a32f23a2a42: Preparing 18:20:18 e3dab4c44bd9: Preparing 18:20:18 3bdc91d17ff4: Preparing 18:20:18 287f54824006: Preparing 18:20:18 0ebd6615d2e6: Preparing 18:20:18 36b50b131297: Preparing 18:20:18 0ebd6615d2e6: Waiting 18:20:18 36b50b131297: Waiting 18:20:18 acc83c6ca332: Waiting 18:20:18 e3dab4c44bd9: Waiting 18:20:18 3a32f23a2a42: Waiting 18:20:18 3bdc91d17ff4: Waiting 18:20:18 287f54824006: Waiting 18:20:18 dc649aee11aa: Layer already exists 18:20:18 3827b5b91e75: Layer already exists 18:20:18 23faa3fd6f62: Layer already exists 18:20:18 18d62336fa68: Layer already exists 18:20:18 e920225d1dae: Layer already exists 18:20:18 acc83c6ca332: Layer already exists 18:20:18 9c34944d4e5d: Layer already exists 18:20:18 3a32f23a2a42: Layer already exists 18:20:18 3bdc91d17ff4: Layer already exists 18:20:18 e3dab4c44bd9: Layer already exists 18:20:18 36b50b131297: Layer already exists 18:20:18 287f54824006: Layer already exists 18:20:18 0ebd6615d2e6: Layer already exists 18:20:18 main: digest: sha256:8b3d0ab93c95da08d1ac146129f167489163369c08a638419c3c59b1020f5dbb size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:20:18 ===================================================== [Pipeline] echo 18:20:18 taggedImages: 18:20:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e 18:20:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 18:20:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.1.0-dev.7 18:20:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:20:18 - nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:19 18:20:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:20:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:19 latest: Pulling from edgex-lftools-log-publisher 18:20:19 5eb5b503b376: Pulling fs layer 18:20:19 5c69ac0246d0: Pulling fs layer 18:20:19 ec43610c2a17: Pulling fs layer 18:20:19 3a2ae6a8a46f: Pulling fs layer 18:20:19 33b1e0a273af: Pulling fs layer 18:20:19 5d3b04190fa2: Pulling fs layer 18:20:19 2f39f015ded8: Pulling fs layer 18:20:19 33b1e0a273af: Waiting 18:20:19 5d3b04190fa2: Waiting 18:20:19 2f39f015ded8: Waiting 18:20:19 3a2ae6a8a46f: Waiting 18:20:19 5c69ac0246d0: Download complete 18:20:19 3a2ae6a8a46f: Verifying Checksum 18:20:19 3a2ae6a8a46f: Download complete 18:20:19 33b1e0a273af: Verifying Checksum 18:20:19 33b1e0a273af: Download complete 18:20:19 5d3b04190fa2: Verifying Checksum 18:20:19 5d3b04190fa2: Download complete 18:20:19 ec43610c2a17: Verifying Checksum 18:20:19 ec43610c2a17: Download complete 18:20:19 5eb5b503b376: Verifying Checksum 18:20:19 5eb5b503b376: Download complete 18:20:20 2f39f015ded8: Download complete 18:20:20 5eb5b503b376: Pull complete 18:20:20 5c69ac0246d0: Pull complete 18:20:21 ec43610c2a17: Pull complete 18:20:21 3a2ae6a8a46f: Pull complete 18:20:21 33b1e0a273af: Pull complete 18:20:21 5d3b04190fa2: Pull complete 18:20:25 2f39f015ded8: Pull complete 18:20:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:20:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:20:25 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:20:26 $ 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 18:20:30 $ docker top 6134b52deb460858edcf52d18e91e3b654e18a38026f1d4c6d366367378ca69a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:20:30 ---> job-cost.sh 18:20:30 lf-activate-venv: SKIPPING 18:20:30 INFO: No Stack... 18:20:30 INFO: Retrieving Pricing Info for: v3-standard-8 18:20:30 INFO: Archiving Costs [Pipeline] sh 18:20:31 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 18:20:31 + cut -d, -f6 [Pipeline] lock 18:20:31 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] 18:20:31 Resource [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] did not exist. Created. 18:20:31 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:20:31 + echo total: 0.2199999988079071 [Pipeline] stash 18:20:31 Stashed 1 file(s) [Pipeline] } 18:20:31 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] [Pipeline] // lock [Pipeline] } 18:20:31 $ docker stop --time=1 6134b52deb460858edcf52d18e91e3b654e18a38026f1d4c6d366367378ca69a 18:20:33 $ docker rm -f --volumes 6134b52deb460858edcf52d18e91e3b654e18a38026f1d4c6d366367378ca69a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:21:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3816 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 18:21:39 Running in /w/workspace/device-usb-camera/131 [Pipeline] { [Pipeline] checkout 18:21:39 Selected Git installation does not exist. Using Default 18:21:39 The recommended git tool is: NONE 18:21:45 using credential edgex-jenkins-ssh 18:21:45 Cloning the remote Git repository 18:21:45 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 18:21:45 > git init /w/workspace/device-usb-camera/131 # timeout=10 18:21:45 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 18:21:45 > git --version # timeout=10 18:21:45 > git --version # 'git version 2.25.1' 18:21:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:21:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:21:46 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 18:21:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:21:47 Avoid second fetch 18:21:47 Checking out Revision bd38f515c46efcd7844d1c84f55761450580435e (main) 18:21:48 Commit message: "feat: implement get/set pixel format commands. (#269)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 18:21:47 > git config core.sparsecheckout # timeout=10 18:21:47 > git checkout -f bd38f515c46efcd7844d1c84f55761450580435e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 18:21:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:21:49 % Total % Received % Xferd Average Speed Time Time Time Current 18:21:49 Dload Upload Total Spent Left Speed 18:21:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh 18:21:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:21:50 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 18:21:50 tee /etc/docker/daemon.new 18:21:50 { 18:21:50 "registry-mirrors": [ 18:21:50 "https://nexus3.edgexfoundry.org:10001" 18:21:50 ], 18:21:50 "bip": "10.250.0.254/24", 18:21:50 "hosts": [ 18:21:50 "tcp://0.0.0.0:5555", 18:21:50 "unix:///var/run/docker.sock" 18:21:50 ], 18:21:50 "mtu": 1458, 18:21:50 "selinux-enabled": true, 18:21:50 "seccomp-profile": "/etc/docker/seccomp.json" 18:21:50 } [Pipeline] sh 18:21:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:21:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:22:08 provisioning config files... 18:22:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/131@tmp/config2137196007095118186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:22:09 ---> docker-login.sh 18:22:09 nexus3.edgexfoundry.org:10001 18:22:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:09 Configure a credential helper to remove this warning. See 18:22:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:09 18:22:09 Login Succeeded 18:22:09 nexus3.edgexfoundry.org:10002 18:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:10 Configure a credential helper to remove this warning. See 18:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:10 18:22:10 Login Succeeded 18:22:10 nexus3.edgexfoundry.org:10003 18:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:10 Configure a credential helper to remove this warning. See 18:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:10 18:22:10 Login Succeeded 18:22:10 nexus3.edgexfoundry.org:10004 18:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:10 Configure a credential helper to remove this warning. See 18:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:10 18:22:10 Login Succeeded 18:22:10 docker.io 18:22:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:22:11 Configure a credential helper to remove this warning. See 18:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:22:11 18:22:11 Login Succeeded 18:22:11 ---> docker-login.sh ends [Pipeline] } 18:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:22:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:22:11 ========================================================= 18:22:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:22:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:22:12 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 18:22:12 Sending build context to Docker daemon 1.22MB 18:22:12 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 18:22:12 Step 2/13 : FROM ${BASE} AS builder 18:22:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:22:12 edb6bdbacee9: Pulling fs layer 18:22:12 5f9638ab2659: Pulling fs layer 18:22:12 8d51d6327a98: Pulling fs layer 18:22:12 8b374f2dd631: Pulling fs layer 18:22:12 ec14aa9079de: Pulling fs layer 18:22:12 2f466654f4bb: Pulling fs layer 18:22:12 554e91adad29: Pulling fs layer 18:22:12 ec14aa9079de: Waiting 18:22:12 8b374f2dd631: Waiting 18:22:12 2f466654f4bb: Waiting 18:22:12 554e91adad29: Waiting 18:22:12 5f9638ab2659: Verifying Checksum 18:22:12 5f9638ab2659: Download complete 18:22:12 8b374f2dd631: Verifying Checksum 18:22:12 8b374f2dd631: Download complete 18:22:12 ec14aa9079de: Verifying Checksum 18:22:12 ec14aa9079de: Download complete 18:22:12 edb6bdbacee9: Verifying Checksum 18:22:12 edb6bdbacee9: Download complete 18:22:13 edb6bdbacee9: Pull complete 18:22:14 554e91adad29: Verifying Checksum 18:22:14 554e91adad29: Download complete 18:22:14 5f9638ab2659: Pull complete 18:22:15 8d51d6327a98: Download complete 18:22:15 2f466654f4bb: Download complete 18:22:27 8d51d6327a98: Pull complete 18:22:27 8b374f2dd631: Pull complete 18:22:27 ec14aa9079de: Pull complete 18:22:33 2f466654f4bb: Pull complete 18:22:35 554e91adad29: Pull complete 18:22:36 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 18:22:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:22:36 ---> 1e15ea492957 18:22:36 Step 3/13 : ARG ADD_BUILD_TAGS="" 18:22:38 ---> Running in 81ba5c49dac7 18:22:38 Removing intermediate container 81ba5c49dac7 18:22:38 ---> dab2a837204e 18:22:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:22:38 ---> Running in f47b31c9518b 18:22:38 Removing intermediate container f47b31c9518b 18:22:38 ---> 18abb3e272ed 18:22:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:22:38 ---> Running in b7515bf80aa2 18:22:39 Removing intermediate container b7515bf80aa2 18:22:39 ---> 868eb5586453 18:22:39 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:22:39 ---> Running in 2be51643b23a 18:22:39 Removing intermediate container 2be51643b23a 18:22:39 ---> 7063b3774a5e 18:22:39 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:39 ---> Running in c02fc5c03515 18:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:22:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:22:42 (1/14) Installing libintl (0.21.1-r1) 18:22:42 (2/14) Installing eudev-libs (3.2.11-r4) 18:22:42 (3/14) Installing libjpeg-turbo (2.1.4-r0) 18:22:42 (4/14) Installing v4l-utils-libs (1.22.1-r2) 18:22:42 (5/14) Installing v4l-utils (1.22.1-r2) 18:22:42 (6/14) Installing udev-init-scripts (35-r1) 18:22:42 (7/14) Installing libblkid (2.38.1-r1) 18:22:42 (8/14) Installing xz-libs (5.2.9-r0) 18:22:42 (9/14) Installing zstd-libs (1.5.5-r0) 18:22:42 (10/14) Installing kmod-libs (30-r1) 18:22:42 (11/14) Installing eudev (3.2.11-r4) 18:22:42 (12/14) Installing eudev-dev (3.2.11-r4) 18:22:42 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 18:22:42 (14/14) Installing v4l-utils-dev (1.22.1-r2) 18:22:42 Executing busybox-1.35.0-r29.trigger 18:22:42 Executing eudev-3.2.11-r4.trigger 18:22:42 OK: 271 MiB in 67 packages 18:22:45 Removing intermediate container c02fc5c03515 18:22:45 ---> 679adb65fdcc 18:22:45 Step 8/13 : WORKDIR /device-usb-camera 18:22:45 ---> Running in 41c0953dc078 18:22:45 Removing intermediate container 41c0953dc078 18:22:45 ---> bf19290bb0ad 18:22:45 Step 9/13 : COPY go.mod vendor* ./ 18:22:45 ---> 668c27aecb99 18:22:45 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:45 ---> Running in 84a0b23c9c85 18:23:53 Removing intermediate container 84a0b23c9c85 18:23:53 ---> 57ad7b978247 18:23:53 Step 11/13 : COPY . . 18:23:53 ---> 3c5280297e35 18:23:53 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:23:53 ---> Running in 61f14630ab67 18:23:53  % Total % Received % Xferd Average Speed Time Time Time Current 18:23:53 Dload Upload Total Spent Left Speed 18:23:53  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4161 0 --:--:-- --:--:-- --:--:-- 4164 18:23:53 Removing intermediate container 61f14630ab67 18:23:53 ---> 0b8781010cfa 18:23:53 Step 13/13 : RUN ${MAKE} 18:23:53 ---> Running in efa150469e24 18:23:53 noop 18:23:53 Removing intermediate container efa150469e24 18:23:53 ---> 38b278ecab3a 18:23:53 Successfully built 38b278ecab3a 18:23:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:54 + docker inspect -f . ci-base-image-arm64 18:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:54 prd-ubuntu20.04-docker-arm64-4c-16g-3816 does not seem to be running inside a container 18:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/131 -v /w/workspace/device-usb-camera/131:/w/workspace/device-usb-camera/131:rw,z -v /w/workspace/device-usb-camera/131@tmp:/w/workspace/device-usb-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:23:55 $ docker top 07bd463c355aa739a9c72a8f0ca3f3738216912af9d0abcac3b1b1e7992ae8bf -eo pid,comm [Pipeline] { [Pipeline] sh 18:23:56 + go version 18:23:56 go version go1.20.6 linux/arm64 [Pipeline] } 18:23:56 $ docker stop --time=1 07bd463c355aa739a9c72a8f0ca3f3738216912af9d0abcac3b1b1e7992ae8bf 18:23:58 $ docker rm -f --volumes 07bd463c355aa739a9c72a8f0ca3f3738216912af9d0abcac3b1b1e7992ae8bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:23:58 + docker inspect -f . ci-base-image-arm64 18:23:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-3816 does not seem to be running inside a container 18:23:58 $ 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/131 -v /w/workspace/device-usb-camera/131:/w/workspace/device-usb-camera/131:rw,z -v /w/workspace/device-usb-camera/131@tmp:/w/workspace/device-usb-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:24:00 $ docker top e2eef3e6874019cb8569d5a53f46b6c43a1a58b0eef18d357a3d01f1709e633b -eo pid,comm [Pipeline] { [Pipeline] sh 18:24:00 + git config --global --add safe.directory /w/workspace/device-usb-camera/131 [Pipeline] fileExists [Pipeline] sh 18:24:00 + make test 18:24:01 go test ./... -coverprofile=coverage.out ./... 18:24:33 ? github.com/edgexfoundry/device-usb-camera [no test files] 18:26:40 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 18:26:45 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.100s coverage: 4.7% of statements 18:26:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:26:46 go vet ./... 18:27:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:27:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:27:12 ./bin/test-attribution-txt.sh [Pipeline] echo 18:27:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:27:13 $ docker stop --time=1 e2eef3e6874019cb8569d5a53f46b6c43a1a58b0eef18d357a3d01f1709e633b 18:27:14 $ docker rm -f --volumes e2eef3e6874019cb8569d5a53f46b6c43a1a58b0eef18d357a3d01f1709e633b [Pipeline] // withDockerContainer [Pipeline] sh 18:27:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:27:16 Warning: overwriting stash ‘coverage-report’ 18:27:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:27:17 + ls -al . 18:27:17 total 208 18:27:17 drwxrwxr-x 9 jenkins jenkins 4096 Aug 16 18:24 . 18:27:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 18:21 .. 18:27:17 drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 18:21 .git 18:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:21 .github 18:27:17 -rw-rw-r-- 1 jenkins jenkins 414 Aug 16 18:21 .gitignore 18:27:17 -rw-rw-r-- 1 jenkins jenkins 45 Aug 16 18:21 .golangci.yml 18:27:17 -rw-rw-r-- 1 jenkins jenkins 77 Aug 16 18:21 .hadolint.yml 18:27:17 -rw-rw-r-- 1 jenkins jenkins 9783 Aug 16 18:21 Attribution.txt 18:27:17 -rw-rw-r-- 1 jenkins jenkins 11903 Aug 16 18:21 CHANGELOG.md 18:27:17 -rw-rw-r-- 1 jenkins jenkins 2453 Aug 16 18:21 Dockerfile 18:27:17 -rw-rw-r-- 1 jenkins jenkins 678 Aug 16 18:21 GOVERNANCE.md 18:27:17 -rw-rw-r-- 1 jenkins jenkins 659 Aug 16 18:21 Jenkinsfile 18:27:17 -rw-rw-r-- 1 jenkins jenkins 11348 Aug 16 18:21 LICENSE 18:27:17 -rw-rw-r-- 1 jenkins jenkins 2364 Aug 16 18:21 Makefile 18:27:17 -rw-rw-r-- 1 jenkins jenkins 622 Aug 16 18:21 OWNERS.md 18:27:17 -rw-rw-r-- 1 jenkins jenkins 2575 Aug 16 18:21 README.md 18:27:17 -rw-rw-r-- 1 jenkins jenkins 11 Aug 16 18:17 VERSION 18:27:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 18:21 bin 18:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:21 cmd 18:27:17 -rw-r--r-- 1 jenkins jenkins 50975 Aug 16 18:26 coverage.out 18:27:17 -rwxrwxr-x 1 jenkins jenkins 140 Aug 16 18:21 docker-entrypoint.sh 18:27:17 drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 18:21 docs 18:27:17 -rw-rw-r-- 1 jenkins jenkins 3416 Aug 16 18:21 go.mod 18:27:17 -rw-rw-r-- 1 jenkins jenkins 31482 Aug 16 18:21 go.sum 18:27:17 drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 18:21 internal 18:27:17 drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 18:21 snap 18:27:17 -rw-rw-r-- 1 jenkins jenkins 231 Aug 16 18:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:17 + 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=bd38f515c46efcd7844d1c84f55761450580435e --label arch=arm64 --label version=3.1.0-dev.7 . 18:27:17 Sending build context to Docker daemon 1.272MB 18:27:17 Step 1/36 : ARG BASE=golang:1.20-alpine3.17 18:27:17 Step 2/36 : FROM ${BASE} AS builder 18:27:17 ---> 38b278ecab3a 18:27:17 Step 3/36 : ARG ADD_BUILD_TAGS="" 18:27:18 ---> Running in 5d233a36d652 18:27:18 Removing intermediate container 5d233a36d652 18:27:18 ---> 1201f8780bb9 18:27:18 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:27:18 ---> Running in 1d49e887bb58 18:27:18 Removing intermediate container 1d49e887bb58 18:27:18 ---> d75ce0eb6c53 18:27:18 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 18:27:18 ---> Running in b2722b818880 18:27:18 Removing intermediate container b2722b818880 18:27:18 ---> 30a507d9f00f 18:27:18 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 18:27:18 ---> Running in e25d458e1a58 18:27:19 Removing intermediate container e25d458e1a58 18:27:19 ---> 924f2d0ca313 18:27:19 Step 7/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:27:19 ---> Running in 4cde9b8536f0 18:27:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:27:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:27:22 OK: 271 MiB in 67 packages 18:27:22 Removing intermediate container 4cde9b8536f0 18:27:22 ---> 5b1c233484c3 18:27:22 Step 8/36 : WORKDIR /device-usb-camera 18:27:22 ---> Running in 627c92c724aa 18:27:23 Removing intermediate container 627c92c724aa 18:27:23 ---> 52d973c0c6d3 18:27:23 Step 9/36 : COPY go.mod vendor* ./ 18:27:23 ---> 551c708dabdf 18:27:23 Step 10/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:27:23 ---> Running in d9ae02f356d0 18:27:28 Removing intermediate container d9ae02f356d0 18:27:28 ---> b770571c7cca 18:27:28 Step 11/36 : COPY . . 18:27:29 ---> 0a328bd81184 18:27:29 Step 12/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 18:27:29 ---> Running in ac8f09f82d3a 18:27:30  % Total % Received % Xferd Average Speed Time Time Time Current 18:27:30 Dload Upload Total Spent Left Speed 18:27:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3170 0 --:--:-- --:--:-- --:--:-- 3179 18:27:31 Removing intermediate container ac8f09f82d3a 18:27:31 ---> eb4f041f4fb6 18:27:31 Step 13/36 : RUN ${MAKE} 18:27:31 ---> Running in d3119c469eaf 18:27:32 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.1.0-dev.7" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 18:30:08 Removing intermediate container d3119c469eaf 18:30:08 ---> 7ed585b81d3d 18:30:08 Step 14/36 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 18:30:08 v0.21.6: Pulling from aler9/rtsp-simple-server 18:30:08 8766b47fe142: Pulling fs layer 18:30:08 8766b47fe142: Verifying Checksum 18:30:08 8766b47fe142: Download complete 18:30:08 8766b47fe142: Pull complete 18:30:08 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 18:30:08 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 18:30:08 ---> 69d40e2cb93c 18:30:08 Step 15/36 : FROM alpine:3.17 18:30:08 3.17: Pulling from library/alpine 18:30:08 4060ece20d7a: Pulling fs layer 18:30:08 4060ece20d7a: Verifying Checksum 18:30:08 4060ece20d7a: Download complete 18:30:08 4060ece20d7a: Pull complete 18:30:08 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 18:30:08 Status: Downloaded newer image for alpine:3.17 18:30:08 ---> 8650cd65339b 18:30:08 Step 16/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 18:30:08 ---> Running in fe396d835046 18:30:08 Removing intermediate container fe396d835046 18:30:08 ---> 5b7a0d3d0b6f 18:30:08 Step 17/36 : RUN apk add --update --no-cache dumb-init ffmpeg udev 18:30:08 ---> Running in eaef029fe725 18:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:30:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:30:08 (1/83) Installing dumb-init (1.2.5-r2) 18:30:08 (2/83) Installing sdl2 (2.26.5-r0) 18:30:08 (3/83) Installing libxau (1.0.10-r0) 18:30:08 (4/83) Installing libmd (1.0.4-r0) 18:30:08 (5/83) Installing libbsd (0.11.7-r0) 18:30:08 (6/83) Installing libxdmcp (1.1.4-r0) 18:30:08 (7/83) Installing libxcb (1.15-r0) 18:30:08 (8/83) Installing libx11 (1.8.4-r1) 18:30:08 (9/83) Installing aom-libs (3.5.0-r0) 18:30:08 (10/83) Installing alsa-lib (1.2.8-r0) 18:30:08 (11/83) Installing libexpat (2.5.0-r0) 18:30:08 (12/83) Installing brotli-libs (1.0.9-r9) 18:30:08 (13/83) Installing libbz2 (1.0.8-r4) 18:30:08 (14/83) Installing libpng (1.6.39-r0) 18:30:08 (15/83) Installing freetype (2.12.1-r0) 18:30:08 (16/83) Installing fontconfig (2.14.1-r0) 18:30:08 (17/83) Installing fribidi (1.0.12-r0) 18:30:08 (18/83) Installing libffi (3.4.4-r0) 18:30:08 (19/83) Installing libintl (0.21.1-r1) 18:30:08 (20/83) Installing libblkid (2.38.1-r1) 18:30:08 (21/83) Installing libmount (2.38.1-r1) 18:30:08 (22/83) Installing pcre2 (10.42-r0) 18:30:08 (23/83) Installing glib (2.74.7-r0) 18:30:08 (24/83) Installing graphite2 (1.3.14-r2) 18:30:08 (25/83) Installing harfbuzz (5.3.1-r1) 18:30:08 (26/83) Installing libass (0.16.0-r1) 18:30:08 (27/83) Installing libdav1d (1.0.0-r2) 18:30:08 (28/83) Installing libdrm (2.4.114-r0) 18:30:08 (29/83) Installing gmp (6.2.1-r2) 18:30:08 (30/83) Installing nettle (3.8.1-r0) 18:30:08 (31/83) Installing p11-kit (0.24.1-r1) 18:30:08 (32/83) Installing libtasn1 (4.19.0-r0) 18:30:08 (33/83) Installing libunistring (1.1-r0) 18:30:08 (34/83) Installing gnutls (3.7.8-r3) 18:30:08 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r1) 18:30:08 (36/83) Installing ncurses-libs (6.3_p20221119-r1) 18:30:08 (37/83) Installing lame (3.100-r2) 18:30:08 (38/83) Installing opus (1.3.1-r1) 18:30:08 (39/83) Installing libasyncns (0.8-r1) 18:30:08 (40/83) Installing dbus-libs (1.14.8-r0) 18:30:08 (41/83) Installing libltdl (2.4.7-r1) 18:30:08 (42/83) Installing orc (0.4.33-r0) 18:30:08 (43/83) Installing libgcc (12.2.1_git20220924-r4) 18:30:08 (44/83) Installing libogg (1.3.5-r2) 18:30:08 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 18:30:08 (46/83) Installing flac-libs (1.4.2-r0) 18:30:08 (47/83) Installing libvorbis (1.3.7-r0) 18:30:08 (48/83) Installing libsndfile (1.1.0-r2) 18:30:08 (49/83) Installing libgomp (12.2.1_git20220924-r4) 18:30:08 (50/83) Installing soxr (0.1.3-r3) 18:30:08 (51/83) Installing speexdsp (1.2.1-r0) 18:30:08 (52/83) Installing tdb-libs (1.4.6-r0) 18:30:08 (53/83) Installing libpulse (16.1-r6) 18:30:08 (54/83) Installing cjson (1.7.15-r3) 18:30:08 (55/83) Installing mbedtls (2.28.4-r0) 18:30:08 (56/83) Installing librist (0.2.7-r0) 18:30:08 (57/83) Installing libsrt (1.5.1-r0) 18:30:08 (58/83) Installing libssh (0.10.5-r0) 18:30:08 (59/83) Installing libtheora (1.1.1-r16) 18:30:08 (60/83) Installing libjpeg-turbo (2.1.4-r0) 18:30:08 (61/83) Installing v4l-utils-libs (1.22.1-r2) 18:30:08 (62/83) Installing libxext (1.3.5-r0) 18:30:08 (63/83) Installing libxfixes (6.0.0-r0) 18:30:08 (64/83) Installing wayland-libs-client (1.21.0-r1) 18:30:08 (65/83) Installing libva (2.16.0-r0) 18:30:08 (66/83) Installing libvdpau (1.5-r0) 18:30:08 (67/83) Installing vidstab (1.1.0-r2) 18:30:08 (68/83) Installing libvpx (1.12.0-r1) 18:30:08 (69/83) Installing libwebp (1.2.4-r2) 18:30:08 (70/83) Installing x264-libs (0.164_git20220602-r0) 18:30:08 (71/83) Installing numactl (2.0.16-r1) 18:30:08 (72/83) Installing x265-libs (3.5-r3) 18:30:08 (73/83) Installing xvidcore (1.3.7-r1) 18:30:08 (74/83) Installing libsodium (1.0.18-r2) 18:30:08 (75/83) Installing libzmq (4.3.4-r1) 18:30:08 (76/83) Installing ffmpeg-libs (5.1.3-r0) 18:30:09 (77/83) Installing ffmpeg (5.1.3-r0) 18:30:09 (78/83) Installing udev-init-scripts (35-r1) 18:30:09 (79/83) Installing eudev-libs (3.2.11-r4) 18:30:09 (80/83) Installing xz-libs (5.2.9-r0) 18:30:09 (81/83) Installing zstd-libs (1.5.5-r0) 18:30:09 (82/83) Installing kmod-libs (30-r1) 18:30:09 (83/83) Installing eudev (3.2.11-r4) 18:30:09 Executing busybox-1.35.0-r29.trigger 18:30:09 Executing eudev-3.2.11-r4.trigger 18:30:09 OK: 86 MiB in 98 packages 18:30:12 Removing intermediate container eaef029fe725 18:30:12 ---> ee7624b80559 18:30:12 Step 18/36 : WORKDIR / 18:30:12 ---> Running in 55916fcefb88 18:30:12 Removing intermediate container 55916fcefb88 18:30:12 ---> cd1cd98b3b97 18:30:12 Step 19/36 : COPY --from=builder /device-usb-camera/cmd / 18:30:14 ---> ebb57581faa6 18:30:14 Step 20/36 : COPY --from=builder /device-usb-camera/LICENSE / 18:30:14 ---> 0d596afa5a44 18:30:14 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 18:30:15 ---> b99c4309a7b7 18:30:15 Step 22/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 18:30:15 ---> ac5220444172 18:30:15 Step 23/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 18:30:16 ---> fb0a9206db77 18:30:16 Step 24/36 : COPY --from=rtsp /rtsp-simple-server.yml / 18:30:16 ---> eae955575e62 18:30:16 Step 25/36 : COPY --from=rtsp /rtsp-simple-server / 18:30:18 ---> 84e278be717b 18:30:18 Step 26/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 18:30:18 ---> Running in e77a0f8f25f1 18:30:19 Removing intermediate container e77a0f8f25f1 18:30:19 ---> 76107d1f77a8 18:30:19 Step 27/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 18:30:20 ---> Running in 726c50166a0f 18:30:25 Removing intermediate container 726c50166a0f 18:30:25 ---> 6fcfeef2cb69 18:30:25 Step 28/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 18:30:25 ---> Running in 33fbbac6c85d 18:30:26 Removing intermediate container 33fbbac6c85d 18:30:26 ---> 86f51dae5f4b 18:30:26 Step 29/36 : RUN sed -i 's,externalAuthenticationURL:,externalAuthenticationURL: http://localhost:8000/rtspauth,g' rtsp-simple-server.yml 18:30:26 ---> Running in 9a196607650d 18:30:27 Removing intermediate container 9a196607650d 18:30:27 ---> 145b043fc071 18:30:27 Step 30/36 : EXPOSE 59983 18:30:27 ---> Running in e0d0c1dbb051 18:30:28 Removing intermediate container e0d0c1dbb051 18:30:28 ---> a8950c2d1706 18:30:28 Step 31/36 : EXPOSE 8554 18:30:28 ---> Running in 8c96f5b1527c 18:30:28 Removing intermediate container 8c96f5b1527c 18:30:28 ---> b9292976f4a6 18:30:28 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 18:30:28 ---> Running in adebea4d920c 18:30:28 Removing intermediate container adebea4d920c 18:30:28 ---> 7e1e3a7852bb 18:30:28 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 18:30:28 ---> Running in e1f840ceaf93 18:30:29 Removing intermediate container e1f840ceaf93 18:30:29 ---> 56ee97900008 18:30:29 Step 34/36 : LABEL arch=arm64 18:30:29 ---> Running in 7e030b473362 18:30:29 Removing intermediate container 7e030b473362 18:30:29 ---> 399f003c16d2 18:30:29 Step 35/36 : LABEL git_sha=bd38f515c46efcd7844d1c84f55761450580435e 18:30:29 ---> Running in 5740c9dcfa50 18:30:29 Removing intermediate container 5740c9dcfa50 18:30:29 ---> 6e7b78ad3dca 18:30:29 Step 36/36 : LABEL version=3.1.0-dev.7 18:30:29 ---> Running in 1f6f41f7a488 18:30:30 Removing intermediate container 1f6f41f7a488 18:30:30 ---> e6411c1e1de4 18:30:30 [Warning] One or more build-args [ARCH] were not consumed 18:30:30 Successfully built e6411c1e1de4 18:30:30 Successfully tagged device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:30:30 provisioning config files... 18:30:30 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/131@tmp/config13868036375212731695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:30:30 ---> docker-login.sh 18:30:30 nexus3.edgexfoundry.org:10001 18:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:30 Configure a credential helper to remove this warning. See 18:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:30 18:30:30 Login Succeeded 18:30:30 nexus3.edgexfoundry.org:10002 18:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:31 Configure a credential helper to remove this warning. See 18:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:31 18:30:31 Login Succeeded 18:30:31 nexus3.edgexfoundry.org:10003 18:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:31 Configure a credential helper to remove this warning. See 18:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:31 18:30:31 Login Succeeded 18:30:31 nexus3.edgexfoundry.org:10004 18:30:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:32 Configure a credential helper to remove this warning. See 18:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:32 18:30:32 Login Succeeded 18:30:32 docker.io 18:30:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:30:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:30:32 Configure a credential helper to remove this warning. See 18:30:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:30:32 18:30:32 Login Succeeded 18:30:32 ---> docker-login.sh ends [Pipeline] } 18:30:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:30:32 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 18:30:32 bd38f515c46efcd7844d1c84f55761450580435e 18:30:32 latest 18:30:32 3.1.0-dev.7 18:30:32 bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:30:32 main 18:30:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e 18:30:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:30:33 808ab27c6080: Preparing 18:30:33 b3172d5d7528: Preparing 18:30:33 4fcd60689326: Preparing 18:30:33 0a3a0b2acb47: Preparing 18:30:33 608d194cb50c: Preparing 18:30:33 acc83c6ca332: Preparing 18:30:33 24e981d4b977: Preparing 18:30:33 9c4f882eedf6: Preparing 18:30:33 51015107524b: Preparing 18:30:33 204ccf36c657: Preparing 18:30:33 1ec0ff7a8790: Preparing 18:30:33 9aa10f991bc9: Preparing 18:30:33 d2d9d24a8c2a: Preparing 18:30:33 51015107524b: Waiting 18:30:33 acc83c6ca332: Waiting 18:30:33 204ccf36c657: Waiting 18:30:33 24e981d4b977: Waiting 18:30:33 1ec0ff7a8790: Waiting 18:30:33 9c4f882eedf6: Waiting 18:30:33 9aa10f991bc9: Waiting 18:30:33 d2d9d24a8c2a: Waiting 18:30:33 808ab27c6080: Pushed 18:30:33 0a3a0b2acb47: Pushed 18:30:33 b3172d5d7528: Pushed 18:30:33 4fcd60689326: Pushed 18:30:33 acc83c6ca332: Pushed 18:30:33 9c4f882eedf6: Pushed 18:30:33 24e981d4b977: Pushed 18:30:33 51015107524b: Pushed 18:30:33 d2d9d24a8c2a: Layer already exists 18:30:33 204ccf36c657: Pushed 18:30:39 608d194cb50c: Pushed 18:30:39 1ec0ff7a8790: Pushed 18:30:51 9aa10f991bc9: Pushed 18:30:51 bd38f515c46efcd7844d1c84f55761450580435e: digest: sha256:625565671fd1c247c31de53712cafd0c4177f121186e26240a5dcb1b5f983858 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:51 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:30:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:30:52 808ab27c6080: Preparing 18:30:52 b3172d5d7528: Preparing 18:30:52 4fcd60689326: Preparing 18:30:52 0a3a0b2acb47: Preparing 18:30:52 608d194cb50c: Preparing 18:30:52 acc83c6ca332: Preparing 18:30:52 24e981d4b977: Preparing 18:30:52 9c4f882eedf6: Preparing 18:30:52 51015107524b: Preparing 18:30:52 204ccf36c657: Preparing 18:30:52 1ec0ff7a8790: Preparing 18:30:52 9aa10f991bc9: Preparing 18:30:52 d2d9d24a8c2a: Preparing 18:30:52 51015107524b: Waiting 18:30:52 204ccf36c657: Waiting 18:30:52 acc83c6ca332: Waiting 18:30:52 24e981d4b977: Waiting 18:30:52 9c4f882eedf6: Waiting 18:30:52 d2d9d24a8c2a: Waiting 18:30:52 9aa10f991bc9: Waiting 18:30:52 0a3a0b2acb47: Layer already exists 18:30:52 808ab27c6080: Layer already exists 18:30:52 608d194cb50c: Layer already exists 18:30:52 b3172d5d7528: Layer already exists 18:30:52 4fcd60689326: Layer already exists 18:30:52 acc83c6ca332: Layer already exists 18:30:52 51015107524b: Layer already exists 18:30:52 9c4f882eedf6: Layer already exists 18:30:52 204ccf36c657: Layer already exists 18:30:52 24e981d4b977: Layer already exists 18:30:52 1ec0ff7a8790: Layer already exists 18:30:52 9aa10f991bc9: Layer already exists 18:30:52 d2d9d24a8c2a: Layer already exists 18:30:52 latest: digest: sha256:625565671fd1c247c31de53712cafd0c4177f121186e26240a5dcb1b5f983858 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:52 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.7 18:30:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:30:53 808ab27c6080: Preparing 18:30:53 b3172d5d7528: Preparing 18:30:53 4fcd60689326: Preparing 18:30:53 0a3a0b2acb47: Preparing 18:30:53 608d194cb50c: Preparing 18:30:53 acc83c6ca332: Preparing 18:30:53 24e981d4b977: Preparing 18:30:53 9c4f882eedf6: Preparing 18:30:53 51015107524b: Preparing 18:30:53 204ccf36c657: Preparing 18:30:53 1ec0ff7a8790: Preparing 18:30:53 9aa10f991bc9: Preparing 18:30:53 d2d9d24a8c2a: Preparing 18:30:53 acc83c6ca332: Waiting 18:30:53 24e981d4b977: Waiting 18:30:53 9c4f882eedf6: Waiting 18:30:53 51015107524b: Waiting 18:30:53 204ccf36c657: Waiting 18:30:53 1ec0ff7a8790: Waiting 18:30:53 9aa10f991bc9: Waiting 18:30:53 d2d9d24a8c2a: Waiting 18:30:53 608d194cb50c: Layer already exists 18:30:53 0a3a0b2acb47: Layer already exists 18:30:53 b3172d5d7528: Layer already exists 18:30:53 808ab27c6080: Layer already exists 18:30:53 4fcd60689326: Layer already exists 18:30:53 24e981d4b977: Layer already exists 18:30:53 9c4f882eedf6: Layer already exists 18:30:53 acc83c6ca332: Layer already exists 18:30:53 51015107524b: Layer already exists 18:30:53 1ec0ff7a8790: Layer already exists 18:30:53 d2d9d24a8c2a: Layer already exists 18:30:53 9aa10f991bc9: Layer already exists 18:30:53 204ccf36c657: Layer already exists 18:30:53 3.1.0-dev.7: digest: sha256:625565671fd1c247c31de53712cafd0c4177f121186e26240a5dcb1b5f983858 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:53 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:30:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:30:54 808ab27c6080: Preparing 18:30:54 b3172d5d7528: Preparing 18:30:54 4fcd60689326: Preparing 18:30:54 0a3a0b2acb47: Preparing 18:30:54 608d194cb50c: Preparing 18:30:54 acc83c6ca332: Preparing 18:30:54 24e981d4b977: Preparing 18:30:54 9c4f882eedf6: Preparing 18:30:54 51015107524b: Preparing 18:30:54 204ccf36c657: Preparing 18:30:54 1ec0ff7a8790: Preparing 18:30:54 9aa10f991bc9: Preparing 18:30:54 d2d9d24a8c2a: Preparing 18:30:54 51015107524b: Waiting 18:30:54 acc83c6ca332: Waiting 18:30:54 24e981d4b977: Waiting 18:30:54 9c4f882eedf6: Waiting 18:30:54 204ccf36c657: Waiting 18:30:54 1ec0ff7a8790: Waiting 18:30:54 9aa10f991bc9: Waiting 18:30:54 d2d9d24a8c2a: Waiting 18:30:54 0a3a0b2acb47: Layer already exists 18:30:54 b3172d5d7528: Layer already exists 18:30:54 608d194cb50c: Layer already exists 18:30:54 808ab27c6080: Layer already exists 18:30:54 4fcd60689326: Layer already exists 18:30:54 acc83c6ca332: Layer already exists 18:30:54 9c4f882eedf6: Layer already exists 18:30:54 24e981d4b977: Layer already exists 18:30:54 51015107524b: Layer already exists 18:30:54 204ccf36c657: Layer already exists 18:30:54 1ec0ff7a8790: Layer already exists 18:30:54 d2d9d24a8c2a: Layer already exists 18:30:54 9aa10f991bc9: Layer already exists 18:30:54 bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7: digest: sha256:625565671fd1c247c31de53712cafd0c4177f121186e26240a5dcb1b5f983858 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:54 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 18:30:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 18:30:55 808ab27c6080: Preparing 18:30:55 b3172d5d7528: Preparing 18:30:55 4fcd60689326: Preparing 18:30:55 0a3a0b2acb47: Preparing 18:30:55 608d194cb50c: Preparing 18:30:55 acc83c6ca332: Preparing 18:30:55 24e981d4b977: Preparing 18:30:55 9c4f882eedf6: Preparing 18:30:55 51015107524b: Preparing 18:30:55 24e981d4b977: Waiting 18:30:55 9c4f882eedf6: Waiting 18:30:55 acc83c6ca332: Waiting 18:30:55 204ccf36c657: Preparing 18:30:55 51015107524b: Waiting 18:30:55 1ec0ff7a8790: Preparing 18:30:55 9aa10f991bc9: Preparing 18:30:55 d2d9d24a8c2a: Preparing 18:30:55 9aa10f991bc9: Waiting 18:30:55 204ccf36c657: Waiting 18:30:55 d2d9d24a8c2a: Waiting 18:30:55 1ec0ff7a8790: Waiting 18:30:55 608d194cb50c: Layer already exists 18:30:55 b3172d5d7528: Layer already exists 18:30:55 0a3a0b2acb47: Layer already exists 18:30:55 808ab27c6080: Layer already exists 18:30:55 4fcd60689326: Layer already exists 18:30:55 9c4f882eedf6: Layer already exists 18:30:55 acc83c6ca332: Layer already exists 18:30:55 24e981d4b977: Layer already exists 18:30:55 51015107524b: Layer already exists 18:30:55 204ccf36c657: Layer already exists 18:30:55 d2d9d24a8c2a: Layer already exists 18:30:55 1ec0ff7a8790: Layer already exists 18:30:55 9aa10f991bc9: Layer already exists 18:30:55 main: digest: sha256:625565671fd1c247c31de53712cafd0c4177f121186e26240a5dcb1b5f983858 size: 3034 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:30:55 ===================================================== [Pipeline] echo 18:30:55 taggedImages: 18:30:55 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e 18:30:55 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 18:30:55 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.1.0-dev.7 18:30:55 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:bd38f515c46efcd7844d1c84f55761450580435e-3.1.0-dev.7 18:30:55 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:55 18:30:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:30:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:30:56 arm64: Pulling from edgex-lftools-log-publisher 18:30:56 8998bd30e6a1: Pulling fs layer 18:30:56 04944245beec: Pulling fs layer 18:30:56 699f458cf7ca: Pulling fs layer 18:30:56 765212b225bb: Pulling fs layer 18:30:56 f23df028b6ca: Pulling fs layer 18:30:56 d65c8cfc05b1: Pulling fs layer 18:30:56 2437ff75d9bd: Pulling fs layer 18:30:56 f23df028b6ca: Waiting 18:30:56 d65c8cfc05b1: Waiting 18:30:56 2437ff75d9bd: Waiting 18:30:56 765212b225bb: Waiting 18:30:56 04944245beec: Verifying Checksum 18:30:56 04944245beec: Download complete 18:30:56 765212b225bb: Verifying Checksum 18:30:56 765212b225bb: Download complete 18:30:56 f23df028b6ca: Verifying Checksum 18:30:56 f23df028b6ca: Download complete 18:30:56 d65c8cfc05b1: Verifying Checksum 18:30:56 d65c8cfc05b1: Download complete 18:30:56 699f458cf7ca: Verifying Checksum 18:30:56 699f458cf7ca: Download complete 18:30:56 8998bd30e6a1: Verifying Checksum 18:30:56 8998bd30e6a1: Download complete 18:30:59 2437ff75d9bd: Verifying Checksum 18:30:59 2437ff75d9bd: Download complete 18:31:00 8998bd30e6a1: Pull complete 18:31:01 04944245beec: Pull complete 18:31:02 699f458cf7ca: Pull complete 18:31:02 765212b225bb: Pull complete 18:31:04 f23df028b6ca: Pull complete 18:31:05 d65c8cfc05b1: Pull complete 18:31:20 2437ff75d9bd: Pull complete 18:31:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:31:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:31:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:20 prd-ubuntu20.04-docker-arm64-4c-16g-3816 does not seem to be running inside a container 18:31:20 $ 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/131 -v /w/workspace/device-usb-camera/131:/w/workspace/device-usb-camera/131:rw,z -v /w/workspace/device-usb-camera/131@tmp:/w/workspace/device-usb-camera/131@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:31:22 $ docker top d1afdaf8f2709ed114d9d8f0f959bbf24e1dae66c02ff6ae1f22b0ab416254cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:31:23 ---> job-cost.sh 18:31:23 lf-activate-venv: SKIPPING 18:31:23 INFO: No Stack... 18:31:24 INFO: Retrieving Pricing Info for: v3-standard-4 18:31:24 INFO: Archiving Costs [Pipeline] sh 18:31:25 + cat /w/workspace/device-usb-camera/131/archives/cost.csv 18:31:25 + cut -d, -f6 [Pipeline] lock 18:31:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] 18:31:25 Resource [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] did not exist. Created. 18:31:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:26 /w/workspace/device-usb-camera/131@tmp/durable-ef313e26/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:31:26 + echo total: 0.10999999940395355 [Pipeline] stash 18:31:26 Warning: overwriting stash ‘stack-cost’ 18:31:26 Stashed 1 file(s) [Pipeline] } 18:31:26 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-131-stack-cost] [Pipeline] // lock [Pipeline] } 18:31:26 $ docker stop --time=1 d1afdaf8f2709ed114d9d8f0f959bbf24e1dae66c02ff6ae1f22b0ab416254cf 18:31:28 $ docker rm -f --volumes d1afdaf8f2709ed114d9d8f0f959bbf24e1dae66c02ff6ae1f22b0ab416254cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:31:28 provisioning config files... 18:31:28 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config13889554665985456392tmp [Pipeline] { [Pipeline] sh 18:31:29 + set +x 18:31:29 + curl -s https://codecov.io/bash 18:31:29 + bash -s -- 18:31:29 18:31:29 _____ _ 18:31:29 / ____| | | 18:31:29 | | ___ __| | ___ ___ _____ __ 18:31:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:31:29 | |___| (_) | (_| | __/ (_| (_) \ V / 18:31:29 \_____\___/ \__,_|\___|\___\___/ \_/ 18:31:29 Bash-1.0.6 18:31:29 18:31:29 18:31:29 ==> git version 2.25.1 found 18:31:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:31:29 Release-Date: 2020-01-08 18:31:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:31:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:31:29 ==> Jenkins CI detected. 18:31:29 current dir:  /w/workspace/exfoundry_device-usb-camera_main 18:31:29 project root: . 18:31:29 --> token set from env 18:31:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:31:29 ==> Running gcov in . (disable via -X gcov) 18:31:29 ==> Python coveragepy not found 18:31:29 ==> Searching for coverage reports in: 18:31:29 + . 18:31:29 -> Found 1 reports 18:31:29 ==> Detecting git/mercurial file structure 18:31:29 ==> Reading reports 18:31:29 + ./coverage.out bytes=50975 18:31:29 ==> Appending adjustments 18:31:29 https://docs.codecov.io/docs/fixing-reports 18:31:29 + Found adjustments 18:31:29 ==> Gzipping contents 18:31:29 8.0K /tmp/codecov.DG8HmA.gz 18:31:29 ==> Uploading reports 18:31:29 url: https://codecov.io 18:31:29 query: branch=main&commit=bd38f515c46efcd7844d1c84f55761450580435e&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:29 -> Pinging Codecov 18:31:29 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=bd38f515c46efcd7844d1c84f55761450580435e&build=131&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F131%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 18:31:29 -> Uploading to 18:31:29 https://storage.googleapis.com/codecov/v4/raw/2023-08-16/73D8F5FF140700D3E01443B452E23636/bd38f515c46efcd7844d1c84f55761450580435e/991947e9-baac-41b1-993b-4ae7d47c642f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230816T183129Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=919e16303a3ebb226c3af9cec39fb787004b82fa78b3d1ea2588189a1c2ac50b 18:31:29 % Total % Received % Xferd Average Speed Time Time Time Current 18:31:29 Dload Upload Total Spent Left Speed 18:31:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 6572 0 0 100 6572 0 33702 --:--:-- --:--:-- --:--:-- 33702 18:31:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] } 18:31:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:31:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:31:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:30 18:31:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:30 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:31:30 df9b9388f04a: Pulling fs layer 18:31:30 52dc419b0ee2: Pulling fs layer 18:31:30 25bc292e5bac: Pulling fs layer 18:31:30 114826534d7a: Pulling fs layer 18:31:30 4657fd5d0bcf: Pulling fs layer 18:31:30 6ad1cebc031e: Pulling fs layer 18:31:30 8a3aa393b2d8: Pulling fs layer 18:31:30 114826534d7a: Waiting 18:31:30 4657fd5d0bcf: Waiting 18:31:30 8a3aa393b2d8: Waiting 18:31:30 6ad1cebc031e: Waiting 18:31:30 25bc292e5bac: Verifying Checksum 18:31:30 25bc292e5bac: Download complete 18:31:30 52dc419b0ee2: Verifying Checksum 18:31:30 52dc419b0ee2: Download complete 18:31:30 4657fd5d0bcf: Verifying Checksum 18:31:30 df9b9388f04a: Download complete 18:31:31 6ad1cebc031e: Verifying Checksum 18:31:31 6ad1cebc031e: Download complete 18:31:31 df9b9388f04a: Pull complete 18:31:31 52dc419b0ee2: Pull complete 18:31:31 25bc292e5bac: Pull complete 18:31:31 114826534d7a: Verifying Checksum 18:31:31 114826534d7a: Download complete 18:31:31 8a3aa393b2d8: Verifying Checksum 18:31:31 8a3aa393b2d8: Download complete 18:31:34 114826534d7a: Pull complete 18:31:34 4657fd5d0bcf: Pull complete 18:31:34 6ad1cebc031e: Pull complete 18:31:37 8a3aa393b2d8: Pull complete 18:31:37 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:31:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:31:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:37 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:31:37 $ 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 18:31:41 $ docker top 6507f42d147bb7dd18619acd03d7460a7c861f40709c70e64dc59f1cfe37531c -eo pid,comm [Pipeline] { [Pipeline] echo 18:31:41 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 18:31:42 + set -o pipefail 18:31:42 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 18:31:47 18:31:47 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 18:31:47 18:31:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/4b4418c4-476a-46b9-a831-61784dd0b059 18:31:47 18:31:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:31:47 18:31:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:31:47 18:31:47 18:31:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:31:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:31:47 More details here: https://snyk.co/ue1NS [Pipeline] } 18:31:47 $ docker stop --time=1 6507f42d147bb7dd18619acd03d7460a7c861f40709c70e64dc59f1cfe37531c 18:31:51 $ docker rm -f --volumes 6507f42d147bb7dd18619acd03d7460a7c861f40709c70e64dc59f1cfe37531c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:31:52 + git log --format=format:%s -1 bd38f515c46efcd7844d1c84f55761450580435e [Pipeline] sh 18:31:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:31:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:31:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:52 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:31:52 $ 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 18:31:53 $ docker top 9f8686e71bf3c1e5f4a5872c7db78b8264dbcb5485bb99fee9fd6cfed747e6ad -eo pid,comm 18:31:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:31:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:31:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:31:53 [ssh-agent] Looking for ssh-agent implementation... 18:31:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:31:53 $ docker exec 9f8686e71bf3c1e5f4a5872c7db78b8264dbcb5485bb99fee9fd6cfed747e6ad ssh-agent 18:31:53 SSH_AUTH_SOCK=/tmp/ssh-DBM7ZcCXna8P/agent.34 18:31:53 SSH_AGENT_PID=40 18:31:53 Running ssh-add (command line suppressed) 18:31:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4721056635300849479.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4721056635300849479.key) 18:31:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:31:53 + git semver tag 18:31:54 2023-08-16 18:31:53,958 [run_tag] DEBUG tag force:False 18:31:54 2023-08-16 18:31:53,958 [check_head_tag] DEBUG check head tag 18:31:54 2023-08-16 18:31:53,960 [execute] INFO git cat-file --batch-check 18:31:54 2023-08-16 18:31:53,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:31:54 2023-08-16 18:31:53,963 [execute] INFO git cat-file --batch 18:31:54 2023-08-16 18:31:53,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 18:31:54 2023-08-16 18:31:53,996 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:31:54 2023-08-16 18:31:53,996 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 18:31:54 2023-08-16 18:31:53,996 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:31:54 2023-08-16 18:31:54,000 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:31:54 3.1.0-dev.7 [Pipeline] } 18:31:54 $ docker exec --env ******** --env ******** 9f8686e71bf3c1e5f4a5872c7db78b8264dbcb5485bb99fee9fd6cfed747e6ad ssh-agent -k 18:31:54 unset SSH_AUTH_SOCK; 18:31:54 unset SSH_AGENT_PID; 18:31:54 echo Agent pid 40 killed; 18:31:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:31:54 + git semver [Pipeline] } 18:31:54 $ docker stop --time=1 9f8686e71bf3c1e5f4a5872c7db78b8264dbcb5485bb99fee9fd6cfed747e6ad 18:31:55 $ docker rm -f --volumes 9f8686e71bf3c1e5f4a5872c7db78b8264dbcb5485bb99fee9fd6cfed747e6ad [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:56 18:31:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:31:56 0.23.1-centos7: Pulling from edgex-lftools 18:31:56 ab5ef0e58194: Pulling fs layer 18:31:56 9712f1f96733: Pulling fs layer 18:31:56 63f879dbbcfc: Pulling fs layer 18:31:56 0d9ebad4ef96: Pulling fs layer 18:31:56 e9a5061849ea: Pulling fs layer 18:31:56 d747dcd14b5f: Pulling fs layer 18:31:56 2de7ff778b66: Pulling fs layer 18:31:56 0d9ebad4ef96: Waiting 18:31:56 e9a5061849ea: Waiting 18:31:56 2de7ff778b66: Waiting 18:31:56 9712f1f96733: Download complete 18:31:56 63f879dbbcfc: Verifying Checksum 18:31:56 63f879dbbcfc: Download complete 18:31:57 0d9ebad4ef96: Download complete 18:31:57 d747dcd14b5f: Download complete 18:31:57 e9a5061849ea: Verifying Checksum 18:31:57 e9a5061849ea: Download complete 18:31:57 ab5ef0e58194: Verifying Checksum 18:31:57 ab5ef0e58194: Download complete 18:31:57 2de7ff778b66: Verifying Checksum 18:31:57 2de7ff778b66: Download complete 18:31:59 ab5ef0e58194: Pull complete 18:31:59 9712f1f96733: Pull complete 18:32:00 63f879dbbcfc: Pull complete 18:32:04 0d9ebad4ef96: Pull complete 18:32:04 e9a5061849ea: Pull complete 18:32:04 d747dcd14b5f: Pull complete 18:32:05 2de7ff778b66: Pull complete 18:32:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:32:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:32:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:05 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:32:05 $ 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 18:32:11 $ docker top 824324fbf4e3844e1f385df2b49ba38df63f1f96a649e759324a233e6fd6c8f0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:32:11 provisioning config files... 18:32:11 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4163242071181203568tmp 18:32:11 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config824248635615007055tmp 18:32:11 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config602522563480051206tmp [Pipeline] { [Pipeline] echo 18:32:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:32:11 ---> sigul-configuration.sh 18:32:11 gpg: directory `/root/.gnupg' created 18:32:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:32:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:32:11 gpg: keyring `/root/.gnupg/secring.gpg' created 18:32:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:32:11 gpg: CAST5 encrypted data 18:32:11 gpg: encrypted with 1 passphrase 18:32:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:32:12 + mkdir /home/jenkins 18:32:12 + mkdir /home/jenkins/sigul [Pipeline] sh 18:32:12 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 18:32:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:32:12 ---> sigul-install.sh 18:32:12 Sigul already installed; skipping installation. [Pipeline] sh 18:32:12 + git tag --list 18:32:12 v0.0.0 18:32:12 v0.0.1-dev.1 18:32:12 v0.0.1-dev.10 18:32:12 v0.0.1-dev.11 18:32:12 v0.0.1-dev.12 18:32:12 v0.0.1-dev.13 18:32:12 v0.0.1-dev.14 18:32:12 v0.0.1-dev.15 18:32:12 v0.0.1-dev.16 18:32:12 v0.0.1-dev.2 18:32:12 v0.0.1-dev.3 18:32:12 v0.0.1-dev.4 18:32:12 v0.0.1-dev.5 18:32:12 v0.0.1-dev.6 18:32:12 v0.0.1-dev.7 18:32:12 v0.0.1-dev.8 18:32:12 v0.0.1-dev.9 18:32:12 v2.2.0 18:32:12 v2.2.0-dev.17 18:32:12 v2.2.0-dev.18 18:32:12 v2.2.0-dev.19 18:32:12 v2.2.0-dev.20 18:32:12 v2.2.0-dev.21 18:32:12 v2.2.0-dev.22 18:32:12 v2.2.0-dev.23 18:32:12 v2.2.0-dev.24 18:32:12 v2.2.0-dev.25 18:32:12 v2.2.0-dev.26 18:32:12 v2.2.0-dev.27 18:32:12 v2.3.0 18:32:12 v2.3.0-dev.1 18:32:12 v2.3.0-dev.10 18:32:12 v2.3.0-dev.11 18:32:12 v2.3.0-dev.12 18:32:12 v2.3.0-dev.13 18:32:12 v2.3.0-dev.14 18:32:12 v2.3.0-dev.15 18:32:12 v2.3.0-dev.16 18:32:12 v2.3.0-dev.17 18:32:12 v2.3.0-dev.18 18:32:12 v2.3.0-dev.19 18:32:12 v2.3.0-dev.2 18:32:12 v2.3.0-dev.20 18:32:12 v2.3.0-dev.21 18:32:12 v2.3.0-dev.22 18:32:12 v2.3.0-dev.23 18:32:12 v2.3.0-dev.24 18:32:12 v2.3.0-dev.25 18:32:12 v2.3.0-dev.26 18:32:12 v2.3.0-dev.27 18:32:12 v2.3.0-dev.28 18:32:12 v2.3.0-dev.3 18:32:12 v2.3.0-dev.4 18:32:12 v2.3.0-dev.5 18:32:12 v2.3.0-dev.6 18:32:12 v2.3.0-dev.7 18:32:12 v2.3.0-dev.8 18:32:12 v2.3.0-dev.9 18:32:12 v2.3.1 18:32:12 v2.3.1-dev.4 18:32:12 v2.3.1-dev.5 18:32:12 v2.3.1-dev.6 18:32:12 v3.0 18:32:12 v3.0.0 18:32:12 v3.0.0-dev.1 18:32:12 v3.0.0-dev.10 18:32:12 v3.0.0-dev.11 18:32:12 v3.0.0-dev.12 18:32:12 v3.0.0-dev.13 18:32:12 v3.0.0-dev.14 18:32:12 v3.0.0-dev.15 18:32:12 v3.0.0-dev.16 18:32:12 v3.0.0-dev.17 18:32:12 v3.0.0-dev.18 18:32:12 v3.0.0-dev.19 18:32:12 v3.0.0-dev.2 18:32:12 v3.0.0-dev.20 18:32:12 v3.0.0-dev.21 18:32:12 v3.0.0-dev.22 18:32:12 v3.0.0-dev.23 18:32:12 v3.0.0-dev.24 18:32:12 v3.0.0-dev.25 18:32:12 v3.0.0-dev.26 18:32:12 v3.0.0-dev.27 18:32:12 v3.0.0-dev.28 18:32:12 v3.0.0-dev.29 18:32:12 v3.0.0-dev.3 18:32:12 v3.0.0-dev.30 18:32:12 v3.0.0-dev.31 18:32:12 v3.0.0-dev.32 18:32:12 v3.0.0-dev.33 18:32:12 v3.0.0-dev.34 18:32:12 v3.0.0-dev.35 18:32:12 v3.0.0-dev.36 18:32:12 v3.0.0-dev.37 18:32:12 v3.0.0-dev.38 18:32:12 v3.0.0-dev.39 18:32:12 v3.0.0-dev.4 18:32:12 v3.0.0-dev.40 18:32:12 v3.0.0-dev.41 18:32:12 v3.0.0-dev.42 18:32:12 v3.0.0-dev.43 18:32:12 v3.0.0-dev.44 18:32:12 v3.0.0-dev.45 18:32:12 v3.0.0-dev.46 18:32:12 v3.0.0-dev.47 18:32:12 v3.0.0-dev.48 18:32:12 v3.0.0-dev.49 18:32:12 v3.0.0-dev.5 18:32:12 v3.0.0-dev.50 18:32:12 v3.0.0-dev.51 18:32:12 v3.0.0-dev.6 18:32:12 v3.0.0-dev.7 18:32:12 v3.0.0-dev.8 18:32:12 v3.0.0-dev.9 18:32:12 v3.1.0-dev.1 18:32:12 v3.1.0-dev.2 18:32:12 v3.1.0-dev.3 18:32:12 v3.1.0-dev.4 18:32:12 v3.1.0-dev.5 18:32:12 v3.1.0-dev.6 18:32:12 v3.1.0-dev.7 [Pipeline] sh 18:32:13 + lftools sign git-tag v3.1.0-dev.7 18:32:13 Signing Git tag with Sigul... 18:32:13 Signing v3.1.0-dev.7 [Pipeline] echo 18:32:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:32:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:32:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:32:14 $ docker stop --time=1 824324fbf4e3844e1f385df2b49ba38df63f1f96a649e759324a233e6fd6c8f0 18:32:15 $ docker rm -f --volumes 824324fbf4e3844e1f385df2b49ba38df63f1f96a649e759324a233e6fd6c8f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:32:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:32:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:32:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:16 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:32:16 $ 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 18:32:16 $ docker top f4b6ed150b0421d05d972bc467feab7ef70f3e7c9e466c2a42d5f52129bb666e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:16 [ssh-agent] Looking for ssh-agent implementation... 18:32:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:16 $ docker exec f4b6ed150b0421d05d972bc467feab7ef70f3e7c9e466c2a42d5f52129bb666e ssh-agent 18:32:16 SSH_AUTH_SOCK=/tmp/ssh-7Bm1gG2MK4ik/agent.32 18:32:16 SSH_AGENT_PID=38 18:32:16 Running ssh-add (command line suppressed) 18:32:17 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12180380462356243309.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_12180380462356243309.key) 18:32:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:17 + git semver bump pre 18:32:17 2023-08-16 18:32:17,520 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:32:17 2023-08-16 18:32:17,520 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev 18:32:17 2023-08-16 18:32:17,520 [bump_version] DEBUG bumped version:3.1.0-dev.8 18:32:17 2023-08-16 18:32:17,520 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 18:32:17 2023-08-16 18:32:17,520 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:32:17 2023-08-16 18:32:17,520 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:32:17 2023-08-16 18:32:17,522 [execute] INFO git cat-file --batch-check 18:32:17 2023-08-16 18:32:17,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:32:17 2023-08-16 18:32:17,526 [execute] INFO git cat-file --batch 18:32:17 2023-08-16 18:32:17,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:32:17 2023-08-16 18:32:17,531 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:32:17 3.1.0-dev.8 [Pipeline] } 18:32:17 $ docker exec --env ******** --env ******** f4b6ed150b0421d05d972bc467feab7ef70f3e7c9e466c2a42d5f52129bb666e ssh-agent -k 18:32:17 unset SSH_AUTH_SOCK; 18:32:17 unset SSH_AGENT_PID; 18:32:17 echo Agent pid 38 killed; 18:32:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:18 + git semver [Pipeline] } 18:32:18 $ docker stop --time=1 f4b6ed150b0421d05d972bc467feab7ef70f3e7c9e466c2a42d5f52129bb666e 18:32:19 $ docker rm -f --volumes f4b6ed150b0421d05d972bc467feab7ef70f3e7c9e466c2a42d5f52129bb666e [Pipeline] // withDockerContainer [Pipeline] sh 18:32:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:32:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:32:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:20 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:32:20 $ 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 18:32:20 $ docker top 664317f0347b7b90df7050b0f2d7295a1180d8a02a5a79574cb7e28fc81c3f31 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:32:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:32:20 [ssh-agent] Looking for ssh-agent implementation... 18:32:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:32:20 $ docker exec 664317f0347b7b90df7050b0f2d7295a1180d8a02a5a79574cb7e28fc81c3f31 ssh-agent 18:32:20 SSH_AUTH_SOCK=/tmp/ssh-qj5IAr9jup27/agent.32 18:32:20 SSH_AGENT_PID=38 18:32:20 Running ssh-add (command line suppressed) 18:32:21 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15693386997009547014.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_15693386997009547014.key) 18:32:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:32:21 + git semver push 18:32:21 2023-08-16 18:32:21,480 [run_push] DEBUG push 18:32:21 2023-08-16 18:32:21,480 [execute] INFO git cat-file --batch-check 18:32:21 2023-08-16 18:32:21,480 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 18:32:21 2023-08-16 18:32:21,484 [execute] INFO git rev-list 16aa6e4e762a6e68e54db5676b003a8568a4fc11 -- 18:32:21 2023-08-16 18:32:21,484 [execute] DEBUG Popen(['git', 'rev-list', '16aa6e4e762a6e68e54db5676b003a8568a4fc11', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:32:21 2023-08-16 18:32:21,491 [execute] INFO git fetch -v origin 18:32:21 2023-08-16 18:32:21,491 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 18:32:22 2023-08-16 18:32:21,990 [run_push] DEBUG no remote changes detected 18:32:22 2023-08-16 18:32:21,991 [execute] INFO git push origin semver 18:32:22 2023-08-16 18:32:21,991 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 18:32:23 2023-08-16 18:32:22,892 [run_push] DEBUG push all version tags 18:32:23 2023-08-16 18:32:22,892 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:32:23 2023-08-16 18:32:22,893 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 18:32:23 2023-08-16 18:32:23,694 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 18:32:23 3.1.0-dev.8 [Pipeline] } 18:32:23 $ docker exec --env ******** --env ******** 664317f0347b7b90df7050b0f2d7295a1180d8a02a5a79574cb7e28fc81c3f31 ssh-agent -k 18:32:23 unset SSH_AUTH_SOCK; 18:32:23 unset SSH_AGENT_PID; 18:32:23 echo Agent pid 38 killed; 18:32:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:32:24 + git semver [Pipeline] } 18:32:24 $ docker stop --time=1 664317f0347b7b90df7050b0f2d7295a1180d8a02a5a79574cb7e28fc81c3f31 18:32:25 $ docker rm -f --volumes 664317f0347b7b90df7050b0f2d7295a1180d8a02a5a79574cb7e28fc81c3f31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:32:26 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 18:32:26 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:32:26 total 16 18:32:26 drwxr-xr-x 3 root root 4096 Aug 16 18:20 . 18:32:26 drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 18:32 .. 18:32:26 drwxr-xr-x 2 root root 4096 Aug 16 18:20 cost 18:32:26 -rw-r--r-- 1 root root 89 Aug 16 18:20 cost.csv 18:32:26 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 18:32:26 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 18:32:26 total 16 18:32:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 18:20 . 18:32:26 drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 18:32 .. 18:32:26 drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 18:20 cost 18:32:26 -rw-r--r-- 1 jenkins jenkins 89 Aug 16 18:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:32:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:32:27 ---> package-listing.sh 18:32:27 ++ facter osfamily 18:32:27 ++ tr '[:upper:]' '[:lower:]' 18:32:27 + OS_FAMILY=debian 18:32:27 + workspace=/w/workspace/exfoundry_device-usb-camera_main 18:32:27 + START_PACKAGES=/tmp/packages_start.txt 18:32:27 + END_PACKAGES=/tmp/packages_end.txt 18:32:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:32:27 + PACKAGES=/tmp/packages_start.txt 18:32:27 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:32:27 + PACKAGES=/tmp/packages_end.txt 18:32:27 + case "${OS_FAMILY}" in 18:32:27 + dpkg -l 18:32:27 + grep '^ii' 18:32:27 + '[' -f /tmp/packages_start.txt ']' 18:32:27 + '[' -f /tmp/packages_end.txt ']' 18:32:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:32:27 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 18:32:27 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 18:32:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 18:32:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:32:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:32:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:28 prd-ubuntu20.04-docker-8c-8g-3815 does not seem to be running inside a container 18:32:28 $ 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 18:32:28 $ docker top d882a3eace3501bf34e365e86479450c80f84189d4d38c98421155b77f92b5f1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:29 + touch /tmp/pre-build-complete [Pipeline] sh 18:32:29 + mkdir -p /var/log/sysstat [Pipeline] sh 18:32:29 + ls /var/log/sa-host 18:32:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:32:29 provisioning config files... 18:32:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15501765492258990539tmp [Pipeline] { [Pipeline] echo 18:32:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:32:30 ---> create-netrc.sh [Pipeline] } 18:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:32:30 ---> python-tools-install.sh [Pipeline] echo 18:32:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:32:30 ---> sudo-logs.sh 18:32:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:32:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:32:31 ---> job-cost.sh 18:32:31 lf-activate-venv: SKIPPING 18:32:31 DEBUG: total: 0.2199999988079071 18:32:31 INFO: Retrieving Stack Cost... 18:32:31 INFO: Retrieving Pricing Info for: v3-standard-8 18:32:32 INFO: Archiving Costs [Pipeline] echo 18:32:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:32:32 ---> logs-deploy.sh 18:32:32 lf-activate-venv: SKIPPING 18:32:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/131 18:32:32 INFO: archiving workspace using pattern(s): 18:32:33 Archives upload complete. 18:32:33 INFO: archiving logs to Nexus