Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6092c9085675b91a8d413abdbfedf2a2dc879208 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-ssh965595437145811454.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17623263778306817595.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11303382609936604053.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh5846737922414366069.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-ssh3956266108326265646.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7069 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 6092c9085675b91a8d413abdbfedf2a2dc879208 (main) Commit message: "Merge pull request #211 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" > 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 6092c9085675b91a8d413abdbfedf2a2dc879208 # timeout=10 > git rev-list --no-walk 09efcfd63434f2de4546320b1257b2ce0fe632cd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:49:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:49:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:49:51 ========================================================= 02:49:51 EdgeX Global Pipelines Version Info 02:49:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:49:52 ------------------- 02:49:52 stable info: 02:49:52 ------------------- 02:49:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:49:52 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 02:49:52 Message: update stable to v1.0.245 02:49:52 ------------------- 02:49:52 experimental info: 02:49:52 ------------------- 02:49:52 Commited By: **** collab-it+edgex@linuxfoundation.org 02:49:52 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 02:49:52 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:49:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6092c90 [Pipeline] echo 02:49:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:53 provisioning config files... 02:49:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config11495785270361686997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:53 ---> docker-login.sh 02:49:53 nexus3.edgexfoundry.org:10001 02:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:54 Configure a credential helper to remove this warning. See 02:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:54 02:49:54 Login Succeeded 02:49:54 nexus3.edgexfoundry.org:10002 02:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:54 Configure a credential helper to remove this warning. See 02:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:54 02:49:54 Login Succeeded 02:49:54 nexus3.edgexfoundry.org:10003 02:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:54 Configure a credential helper to remove this warning. See 02:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:54 02:49:54 Login Succeeded 02:49:54 nexus3.edgexfoundry.org:10004 02:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:54 Configure a credential helper to remove this warning. See 02:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:54 02:49:54 Login Succeeded 02:49:54 docker.io 02:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:49:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:49:54 Configure a credential helper to remove this warning. See 02:49:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:49:54 02:49:54 Login Succeeded 02:49:54 ---> docker-login.sh ends [Pipeline] } 02:49:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:49:55 + git rev-list -1 --merges 6092c9085675b91a8d413abdbfedf2a2dc879208~1..6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] echo 02:49:55 -----------> git rev-list -1 --merges 6092c9085675b91a8d413abdbfedf2a2dc879208~1..6092c9085675b91a8d413abdbfedf2a2dc879208 6092c9085675b91a8d413abdbfedf2a2dc879208 02:49:55 6092c9085675b91a8d413abdbfedf2a2dc879208 [false] [Pipeline] sh 02:49:55 + git log --format=format:%s -1 6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] echo 02:49:55 ========================================================= 02:49:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:49:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:49:55 + git log --format=format:%s -1 6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] echo 02:49:55 [semverPrep] GIT_COMMIT: 6092c9085675b91a8d413abdbfedf2a2dc879208, Commit Message: Merge pull request #211 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64 [Pipeline] echo 02:49:55 [semverPrep] This is not a build commit. [Pipeline] sh 02:49:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:49:56 + grep -v github /etc/ssh/ssh_known_hosts 02:49:56 + [ -e /tmp/ssh_known_hosts ] 02:49:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:49:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:49:56 + sudo tee -a /etc/ssh/ssh_known_hosts 02:49:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:49:56 02:49:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:49:56 0.1.4: Pulling from edgex-devops/py-git-semver 02:49:56 b85a868b505f: Pulling fs layer 02:49:56 e2be974225ed: Pulling fs layer 02:49:56 339a4e72a1f5: Pulling fs layer 02:49:56 988bab9f4d93: Pulling fs layer 02:49:56 1469e6f7b9e6: Pulling fs layer 02:49:56 eaf3925da568: Pulling fs layer 02:49:56 bab4dde63d76: Pulling fs layer 02:49:56 988bab9f4d93: Waiting 02:49:56 1469e6f7b9e6: Waiting 02:49:56 eaf3925da568: Waiting 02:49:56 bde34c3a00c8: Pulling fs layer 02:49:56 b352a97aabf1: Pulling fs layer 02:49:56 4872d77fe225: Pulling fs layer 02:49:56 5851b861e8e6: Pulling fs layer 02:49:56 bab4dde63d76: Waiting 02:49:56 5851b861e8e6: Waiting 02:49:56 b352a97aabf1: Waiting 02:49:56 4872d77fe225: Waiting 02:49:56 bde34c3a00c8: Waiting 02:49:56 e2be974225ed: Download complete 02:49:56 988bab9f4d93: Verifying Checksum 02:49:56 988bab9f4d93: Download complete 02:49:56 1469e6f7b9e6: Verifying Checksum 02:49:56 1469e6f7b9e6: Download complete 02:49:56 339a4e72a1f5: Verifying Checksum 02:49:56 339a4e72a1f5: Download complete 02:49:57 eaf3925da568: Verifying Checksum 02:49:57 eaf3925da568: Download complete 02:49:57 bde34c3a00c8: Download complete 02:49:57 b352a97aabf1: Verifying Checksum 02:49:57 b352a97aabf1: Download complete 02:49:57 4872d77fe225: Verifying Checksum 02:49:57 4872d77fe225: Download complete 02:49:57 5851b861e8e6: Verifying Checksum 02:49:57 5851b861e8e6: Download complete 02:49:57 b85a868b505f: Verifying Checksum 02:49:57 b85a868b505f: Download complete 02:49:57 bab4dde63d76: Verifying Checksum 02:49:57 bab4dde63d76: Download complete 02:49:58 b85a868b505f: Pull complete 02:49:58 e2be974225ed: Pull complete 02:49:59 339a4e72a1f5: Pull complete 02:49:59 988bab9f4d93: Pull complete 02:49:59 1469e6f7b9e6: Pull complete 02:49:59 eaf3925da568: Pull complete 02:50:01 bab4dde63d76: Pull complete 02:50:01 bde34c3a00c8: Pull complete 02:50:01 b352a97aabf1: Pull complete 02:50:01 4872d77fe225: Pull complete 02:50:01 5851b861e8e6: Pull complete 02:50:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:50:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:02 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 02:50:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:50:04 $ docker top d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d -eo pid,comm 02:50:04 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). 02:50:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:50:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:04 [ssh-agent] Looking for ssh-agent implementation... 02:50:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:04 $ docker exec d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d ssh-agent 02:50:04 SSH_AUTH_SOCK=/tmp/ssh-aOohsolTXlRy/agent.33 02:50:04 SSH_AGENT_PID=39 02:50:04 Running ssh-add (command line suppressed) 02:50:04 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6673676679069367454.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6673676679069367454.key) 02:50:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:04 + git tag --points-at HEAD [Pipeline] } 02:50:04 $ docker exec --env ******** --env ******** d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d ssh-agent -k 02:50:05 unset SSH_AUTH_SOCK; 02:50:05 unset SSH_AGENT_PID; 02:50:05 echo Agent pid 39 killed; 02:50:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:50:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:50:05 [ssh-agent] Looking for ssh-agent implementation... 02:50:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:50:05 $ docker exec d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d ssh-agent 02:50:05 SSH_AUTH_SOCK=/tmp/ssh-zNuDFPGSDhQ9/agent.71 02:50:05 SSH_AGENT_PID=77 02:50:05 Running ssh-add (command line suppressed) 02:50:05 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17776760376051618790.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17776760376051618790.key) 02:50:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:50:05 + git semver init 02:50:05 2023-04-07 02:50:05,932 [run_init] DEBUG init version:0.0.0 force:False 02:50:05 2023-04-07 02:50:05,933 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 02:50:05 2023-04-07 02:50:05,933 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 02:50:05 2023-04-07 02:50:05,933 [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) 02:50:06 2023-04-07 02:50:06,593 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 02:50:06 2023-04-07 02:50:06,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 02:50:06 2023-04-07 02:50:06,594 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:50:06 2023-04-07 02:50:06,595 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 02:50:06 3.0.0-dev.24 [Pipeline] } 02:50:06 $ docker exec --env ******** --env ******** d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d ssh-agent -k 02:50:07 unset SSH_AUTH_SOCK; 02:50:07 unset SSH_AGENT_PID; 02:50:07 echo Agent pid 77 killed; 02:50:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:50:07 + git semver [Pipeline] } 02:50:07 $ docker stop --time=1 d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d 02:50:08 $ docker rm -f --volumes d0677b305fef4a03cf7c89a196819ce9be6f2f73897d9eb3c4ee7ee45e7d472d [Pipeline] // withDockerContainer [Pipeline] sh 02:50:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:50:09 Stashed 1 file(s) [Pipeline] echo 02:50:09 [edgeXSemver]: initialized semver on version 3.0.0-dev.24 [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 02:50:09 provisioning config files... 02:50:09 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8899053120452108038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:09 ---> docker-login.sh 02:50:09 nexus3.edgexfoundry.org:10001 02:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:09 Configure a credential helper to remove this warning. See 02:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:09 02:50:09 Login Succeeded 02:50:09 nexus3.edgexfoundry.org:10002 02:50:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:09 Configure a credential helper to remove this warning. See 02:50:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:09 02:50:09 Login Succeeded 02:50:09 nexus3.edgexfoundry.org:10003 02:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:10 Configure a credential helper to remove this warning. See 02:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:10 02:50:10 Login Succeeded 02:50:10 nexus3.edgexfoundry.org:10004 02:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:10 Configure a credential helper to remove this warning. See 02:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:10 02:50:10 Login Succeeded 02:50:10 docker.io 02:50:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:10 Configure a credential helper to remove this warning. See 02:50:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:10 02:50:10 Login Succeeded 02:50:10 ---> docker-login.sh ends [Pipeline] } 02:50:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:50:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:10 ========================================================= 02:50:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:50:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:10 + 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 . 02:50:10 Sending build context to Docker daemon 1.919MB 02:50:10 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:50:10 Step 2/13 : FROM ${BASE} AS builder 02:50:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:50:10 63b65145d645: Pulling fs layer 02:50:10 a2d21d5440eb: Pulling fs layer 02:50:10 935e6c44a52c: Pulling fs layer 02:50:10 94cc34f8dd06: Pulling fs layer 02:50:10 30dea6a524f1: Pulling fs layer 02:50:10 a2aff8979fd8: Pulling fs layer 02:50:10 6808be2612f2: Pulling fs layer 02:50:10 f25807f1079a: Pulling fs layer 02:50:10 30dea6a524f1: Waiting 02:50:10 94cc34f8dd06: Waiting 02:50:10 a2aff8979fd8: Waiting 02:50:10 6808be2612f2: Waiting 02:50:10 a2d21d5440eb: Verifying Checksum 02:50:10 94cc34f8dd06: Download complete 02:50:10 30dea6a524f1: Download complete 02:50:11 63b65145d645: Verifying Checksum 02:50:11 63b65145d645: Download complete 02:50:11 a2aff8979fd8: Verifying Checksum 02:50:11 a2aff8979fd8: Download complete 02:50:11 63b65145d645: Pull complete 02:50:11 a2d21d5440eb: Pull complete 02:50:11 f25807f1079a: Verifying Checksum 02:50:11 f25807f1079a: Download complete 02:50:11 935e6c44a52c: Verifying Checksum 02:50:11 935e6c44a52c: Download complete 02:50:11 6808be2612f2: Verifying Checksum 02:50:11 6808be2612f2: Download complete 02:50:15 935e6c44a52c: Pull complete 02:50:15 94cc34f8dd06: Pull complete 02:50:15 30dea6a524f1: Pull complete 02:50:15 a2aff8979fd8: Pull complete 02:50:17 6808be2612f2: Pull complete 02:50:18 f25807f1079a: Pull complete 02:50:18 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:50:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:50:18 ---> 3b553350e43f 02:50:18 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:50:22 ---> Running in d267a2645869 02:50:22 Removing intermediate container d267a2645869 02:50:22 ---> 555a56252572 02:50:22 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:50:22 ---> Running in 20626a127f25 02:50:22 Removing intermediate container 20626a127f25 02:50:22 ---> 10d71afbed46 02:50:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:50:22 ---> Running in 40747ee9aa78 02:50:22 Removing intermediate container 40747ee9aa78 02:50:22 ---> e7a48bcdf2ab 02:50:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:50:22 ---> Running in cc176a244f06 02:50:22 Removing intermediate container cc176a244f06 02:50:22 ---> ab83233449cc 02:50:22 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:50:22 ---> Running in 46fc791b4cbc 02:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:50:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:50:23 (1/14) Installing libintl (0.21.1-r1) 02:50:23 (2/14) Installing eudev-libs (3.2.11-r4) 02:50:23 (3/14) Installing libjpeg-turbo (2.1.4-r0) 02:50:23 (4/14) Installing v4l-utils-libs (1.22.1-r2) 02:50:23 (5/14) Installing v4l-utils (1.22.1-r2) 02:50:23 (6/14) Installing udev-init-scripts (35-r1) 02:50:23 (7/14) Installing libblkid (2.38.1-r1) 02:50:23 (8/14) Installing xz-libs (5.2.9-r0) 02:50:23 (9/14) Installing zstd-libs (1.5.5-r0) 02:50:23 (10/14) Installing kmod-libs (30-r1) 02:50:23 (11/14) Installing eudev (3.2.11-r4) 02:50:23 (12/14) Installing eudev-dev (3.2.11-r4) 02:50:23 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 02:50:23 (14/14) Installing v4l-utils-dev (1.22.1-r2) 02:50:23 Executing busybox-1.35.0-r29.trigger 02:50:23 Executing eudev-3.2.11-r4.trigger 02:50:23 OK: 272 MiB in 67 packages 02:50:23 Removing intermediate container 46fc791b4cbc 02:50:23 ---> bcfed79d4699 02:50:23 Step 8/13 : WORKDIR /device-usb-camera 02:50:23 ---> Running in 4fe67ca4da5c 02:50:23 Removing intermediate container 4fe67ca4da5c 02:50:23 ---> 46586060bf4b 02:50:23 Step 9/13 : COPY go.mod vendor* ./ 02:50:23 ---> f4cfa8e1f97e 02:50:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:50:23 ---> Running in b313364a9eb4 02:50:24 Still waiting to schedule task 02:50:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:50:50 Removing intermediate container b313364a9eb4 02:50:50 ---> abcf470542a4 02:50:50 Step 11/13 : COPY . . 02:50:50 ---> a04fc778c7ec 02:50:50 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:50:50 ---> Running in 2c0f7831f15f 02:50:50  % Total % Received % Xferd Average Speed Time Time Time Current 02:50:50 Dload Upload Total Spent Left Speed 02:50:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21123 0 --:--:-- --:--:-- --:--:-- 21673 02:50:50 Removing intermediate container 2c0f7831f15f 02:50:50 ---> 0b82f1ec20f8 02:50:50 Step 13/13 : RUN ${MAKE} 02:50:50 ---> Running in 7518022d8b09 02:50:50 noop 02:50:50 Removing intermediate container 7518022d8b09 02:50:50 ---> c9db5ab51d5c 02:50:50 Successfully built c9db5ab51d5c 02:50:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:50 + docker inspect -f . ci-base-image-x86_64 02:50:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:50 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 02:50:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:50:51 $ docker top 833949e958daa431873527b03fd2358b8eaa54d1eae2aa37689e8f982ae57358 -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:51 + go version 02:50:51 go version go1.20.2 linux/amd64 [Pipeline] } 02:50:51 $ docker stop --time=1 833949e958daa431873527b03fd2358b8eaa54d1eae2aa37689e8f982ae57358 02:50:52 $ docker rm -f --volumes 833949e958daa431873527b03fd2358b8eaa54d1eae2aa37689e8f982ae57358 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:53 + docker inspect -f . ci-base-image-x86_64 02:50:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:53 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 02:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:50:53 $ docker top 35330374ca96a6233b4fa3c3b755822ca65dc9d9575d02e3c38f3064019cccfa -eo pid,comm [Pipeline] { [Pipeline] sh 02:50:54 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 02:50:54 + make test 02:50:54 go test ./... -coverprofile=coverage.out ./... 02:50:59 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:51:09 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:51:09 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.013s coverage: 2.0% of statements 02:51:16 go vet ./... 02:51:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:51:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:51:20 ./bin/test-attribution-txt.sh 02:51:20 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:51:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:51:20 $ docker stop --time=1 35330374ca96a6233b4fa3c3b755822ca65dc9d9575d02e3c38f3064019cccfa 02:51:23 $ docker rm -f --volumes 35330374ca96a6233b4fa3c3b755822ca65dc9d9575d02e3c38f3064019cccfa [Pipeline] // withDockerContainer [Pipeline] sh 02:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:51:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:51:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:51:24 + ls -al . 02:51:24 total 188 02:51:24 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 02:50 . 02:51:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:49 .. 02:51:24 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:50 .git 02:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:49 .github 02:51:24 -rw-rw-r-- 1 jenkins jenkins 414 Apr 7 02:49 .gitignore 02:51:24 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 02:49 .golangci.yml 02:51:24 -rw-rw-r-- 1 jenkins jenkins 77 Apr 7 02:49 .hadolint.yml 02:51:24 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 02:50 .semver 02:51:24 -rw-rw-r-- 1 jenkins jenkins 9535 Apr 7 02:49 Attribution.txt 02:51:24 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 7 02:49 CHANGELOG.md 02:51:24 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 7 02:49 Dockerfile 02:51:24 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 02:49 GOVERNANCE.md 02:51:24 -rw-rw-r-- 1 jenkins jenkins 659 Apr 7 02:49 Jenkinsfile 02:51:24 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 02:49 LICENSE 02:51:24 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 7 02:49 Makefile 02:51:24 -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 02:49 OWNERS.md 02:51:24 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 7 02:49 README.md 02:51:24 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 02:50 VERSION 02:51:24 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:49 bin 02:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:49 cmd 02:51:24 -rw-r--r-- 1 jenkins jenkins 28352 Apr 7 02:51 coverage.out 02:51:24 -rwxrwxr-x 1 jenkins jenkins 140 Apr 7 02:49 docker-entrypoint.sh 02:51:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:49 docs 02:51:24 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 7 02:49 go.mod 02:51:24 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 7 02:49 go.sum 02:51:24 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:49 internal 02:51:24 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:49 snap 02:51:24 -rw-rw-r-- 1 jenkins jenkins 231 Apr 7 02:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:24 + 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=6092c9085675b91a8d413abdbfedf2a2dc879208 --label arch=amd64 --label version=3.0.0-dev.24 . 02:51:24 Sending build context to Docker daemon 1.948MB 02:51:24 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 02:51:24 Step 2/35 : FROM ${BASE} AS builder 02:51:24 ---> c9db5ab51d5c 02:51:24 Step 3/35 : ARG ADD_BUILD_TAGS="" 02:51:24 ---> Running in b829c82d2119 02:51:25 Removing intermediate container b829c82d2119 02:51:25 ---> 955ce8c1d00f 02:51:25 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:51:25 ---> Running in 8a72ec3c9374 02:51:25 Removing intermediate container 8a72ec3c9374 02:51:25 ---> 774cdbf81548 02:51:25 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:51:25 ---> Running in 9bbb1bb242ea 02:51:25 Removing intermediate container 9bbb1bb242ea 02:51:25 ---> bbe145506038 02:51:25 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:51:25 ---> Running in 308665075b9e 02:51:25 Removing intermediate container 308665075b9e 02:51:25 ---> 6c8a0246d273 02:51:25 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:25 ---> Running in 585a01f1df95 02:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:51:26 OK: 272 MiB in 67 packages 02:51:26 Removing intermediate container 585a01f1df95 02:51:26 ---> c60cc25cebe6 02:51:26 Step 8/35 : WORKDIR /device-usb-camera 02:51:26 ---> Running in 2037a47a2039 02:51:26 Removing intermediate container 2037a47a2039 02:51:26 ---> 463c0e77d999 02:51:26 Step 9/35 : COPY go.mod vendor* ./ 02:51:26 ---> 64fcc7b3f987 02:51:26 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:26 ---> Running in 76cc7c657c15 02:51:27 Removing intermediate container 76cc7c657c15 02:51:27 ---> 881dc96bdea6 02:51:27 Step 11/35 : COPY . . 02:51:27 ---> 4440b60b98b5 02:51:27 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:51:27 ---> Running in 6819bdb706b0 02:51:27  % Total % Received % Xferd Average Speed Time Time Time Current 02:51:27 Dload Upload Total Spent Left Speed 02:51:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 21811 0 --:--:-- --:--:-- --:--:-- 22125 02:51:28 Removing intermediate container 6819bdb706b0 02:51:28 ---> d6c1114d9600 02:51:28 Step 13/35 : RUN ${MAKE} 02:51:28 ---> Running in 2443ab2d2f95 02:51:28 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 02:51:50 Removing intermediate container 2443ab2d2f95 02:51:50 ---> f69e233bb4e2 02:51:50 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 02:51:50 v0.21.6: Pulling from aler9/rtsp-simple-server 02:51:50 4acc49c71d14: Pulling fs layer 02:51:50 4acc49c71d14: Download complete 02:51:50 4acc49c71d14: Pull complete 02:51:50 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 02:51:50 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 02:51:50 ---> 01a2bd3e5fff 02:51:50 Step 15/35 : FROM alpine:3.17 02:51:50 3.17: Pulling from library/alpine 02:51:50 f56be85fc22e: Pulling fs layer 02:51:50 f56be85fc22e: Verifying Checksum 02:51:50 f56be85fc22e: Download complete 02:51:50 f56be85fc22e: Pull complete 02:51:50 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:51:50 Status: Downloaded newer image for alpine:3.17 02:51:50 ---> 9ed4aefc74f6 02:51:50 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 02:51:51 ---> Running in c999f9ccb2eb 02:51:51 Removing intermediate container c999f9ccb2eb 02:51:51 ---> 404aa2fa6ef3 02:51:51 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 02:51:51 ---> Running in 3848b35f2167 02:51:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:51:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:51:51 (1/86) Installing dumb-init (1.2.5-r2) 02:51:51 (2/86) Installing sdl2 (2.26.5-r0) 02:51:51 (3/86) Installing svt-av1-libs (1.3.0-r0) 02:51:51 (4/86) Installing libxau (1.0.10-r0) 02:51:51 (5/86) Installing libmd (1.0.4-r0) 02:51:51 (6/86) Installing libbsd (0.11.7-r0) 02:51:51 (7/86) Installing libxdmcp (1.1.4-r0) 02:51:51 (8/86) Installing libxcb (1.15-r0) 02:51:51 (9/86) Installing libx11 (1.8.4-r0) 02:51:51 (10/86) Installing aom-libs (3.5.0-r0) 02:51:51 (11/86) Installing alsa-lib (1.2.8-r0) 02:51:51 (12/86) Installing libexpat (2.5.0-r0) 02:51:51 (13/86) Installing brotli-libs (1.0.9-r9) 02:51:51 (14/86) Installing libbz2 (1.0.8-r4) 02:51:51 (15/86) Installing libpng (1.6.38-r0) 02:51:51 (16/86) Installing freetype (2.12.1-r0) 02:51:51 (17/86) Installing fontconfig (2.14.1-r0) 02:51:52 (18/86) Installing fribidi (1.0.12-r0) 02:51:52 (19/86) Installing libffi (3.4.4-r0) 02:51:52 (20/86) Installing libintl (0.21.1-r1) 02:51:52 (21/86) Installing libblkid (2.38.1-r1) 02:51:52 (22/86) Installing libmount (2.38.1-r1) 02:51:52 (23/86) Installing pcre2 (10.42-r0) 02:51:52 (24/86) Installing glib (2.74.6-r0) 02:51:52 (25/86) Installing graphite2 (1.3.14-r2) 02:51:52 (26/86) Installing harfbuzz (5.3.1-r1) 02:51:52 (27/86) Installing libass (0.16.0-r1) 02:51:52 (28/86) Installing libdav1d (1.0.0-r2) 02:51:52 (29/86) Installing hwdata-pci (0.364-r0) 02:51:52 (30/86) Installing libpciaccess (0.17-r0) 02:51:52 (31/86) Installing libdrm (2.4.114-r0) 02:51:52 (32/86) Installing gmp (6.2.1-r2) 02:51:52 (33/86) Installing nettle (3.8.1-r0) 02:51:52 (34/86) Installing p11-kit (0.24.1-r1) 02:51:52 (35/86) Installing libtasn1 (4.19.0-r0) 02:51:52 (36/86) Installing libunistring (1.1-r0) 02:51:52 (37/86) Installing gnutls (3.7.8-r3) 02:51:52 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 02:51:52 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 02:51:52 (40/86) Installing lame (3.100-r2) 02:51:52 (41/86) Installing opus (1.3.1-r1) 02:51:52 (42/86) Installing libasyncns (0.8-r1) 02:51:52 (43/86) Installing dbus-libs (1.14.4-r0) 02:51:52 (44/86) Installing libltdl (2.4.7-r1) 02:51:52 (45/86) Installing orc (0.4.33-r0) 02:51:52 (46/86) Installing libgcc (12.2.1_git20220924-r4) 02:51:52 (47/86) Installing libogg (1.3.5-r2) 02:51:52 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 02:51:52 (49/86) Installing flac-libs (1.4.2-r0) 02:51:52 (50/86) Installing libvorbis (1.3.7-r0) 02:51:52 (51/86) Installing libsndfile (1.1.0-r2) 02:51:52 (52/86) Installing libgomp (12.2.1_git20220924-r4) 02:51:52 (53/86) Installing soxr (0.1.3-r3) 02:51:52 (54/86) Installing speexdsp (1.2.1-r0) 02:51:52 (55/86) Installing tdb-libs (1.4.6-r0) 02:51:52 (56/86) Installing libpulse (16.1-r6) 02:51:52 (57/86) Installing cjson (1.7.15-r3) 02:51:52 (58/86) Installing mbedtls (2.28.3-r0) 02:51:52 (59/86) Installing librist (0.2.7-r0) 02:51:52 (60/86) Installing libsrt (1.5.1-r0) 02:51:52 (61/86) Installing libssh (0.10.4-r0) 02:51:52 (62/86) Installing libtheora (1.1.1-r16) 02:51:52 (63/86) Installing libjpeg-turbo (2.1.4-r0) 02:51:52 (64/86) Installing v4l-utils-libs (1.22.1-r2) 02:51:52 (65/86) Installing libxext (1.3.5-r0) 02:51:52 (66/86) Installing libxfixes (6.0.0-r0) 02:51:52 (67/86) Installing wayland-libs-client (1.21.0-r1) 02:51:52 (68/86) Installing libva (2.16.0-r0) 02:51:52 (69/86) Installing libvdpau (1.5-r0) 02:51:52 (70/86) Installing vidstab (1.1.0-r2) 02:51:52 (71/86) Installing libvpx (1.12.0-r1) 02:51:52 (72/86) Installing libwebp (1.2.4-r1) 02:51:52 (73/86) Installing x264-libs (0.164_git20220602-r0) 02:51:52 (74/86) Installing numactl (2.0.16-r1) 02:51:52 (75/86) Installing x265-libs (3.5-r3) 02:51:52 (76/86) Installing xvidcore (1.3.7-r1) 02:51:52 (77/86) Installing libsodium (1.0.18-r2) 02:51:52 (78/86) Installing libzmq (4.3.4-r1) 02:51:52 (79/86) Installing ffmpeg-libs (5.1.3-r0) 02:51:52 (80/86) Installing ffmpeg (5.1.3-r0) 02:51:52 (81/86) Installing udev-init-scripts (35-r1) 02:51:52 (82/86) Installing eudev-libs (3.2.11-r4) 02:51:52 (83/86) Installing xz-libs (5.2.9-r0) 02:51:52 (84/86) Installing zstd-libs (1.5.5-r0) 02:51:52 (85/86) Installing kmod-libs (30-r1) 02:51:52 (86/86) Installing eudev (3.2.11-r4) 02:51:52 Executing busybox-1.35.0-r29.trigger 02:51:52 Executing eudev-3.2.11-r4.trigger 02:51:52 OK: 112 MiB in 101 packages 02:51:54 Removing intermediate container 3848b35f2167 02:51:54 ---> 1ee404cf372f 02:51:54 Step 18/35 : WORKDIR / 02:51:55 ---> Running in 179ff6afea41 02:51:55 Removing intermediate container 179ff6afea41 02:51:55 ---> f4b575147ca6 02:51:55 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 02:51:55 ---> 06252ff2b663 02:51:55 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 02:51:55 ---> 999cefcfff99 02:51:55 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 02:51:55 ---> 888036ef7b6c 02:51:55 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 02:51:55 ---> dd4867557ed7 02:51:55 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 02:51:56 ---> 7afd47ab0fb2 02:51:56 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 02:51:56 ---> 8c0628e96278 02:51:56 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 02:51:57 ---> 7a007e4ec311 02:51:57 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 02:51:57 ---> Running in 17d9bd1151f2 02:51:57 Removing intermediate container 17d9bd1151f2 02:51:57 ---> 4dc88c50d880 02:51:57 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 02:51:57 ---> Running in 154e5512c70a 02:51:57 Removing intermediate container 154e5512c70a 02:51:57 ---> 7984b3418101 02:51:57 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 02:51:57 ---> Running in bb113a25cb7c 02:51:58 Removing intermediate container bb113a25cb7c 02:51:58 ---> fae50ffee57d 02:51:58 Step 29/35 : EXPOSE 59983 02:51:58 ---> Running in 3eb3c808e3ad 02:51:58 Removing intermediate container 3eb3c808e3ad 02:51:58 ---> f75bdfec8b4c 02:51:58 Step 30/35 : EXPOSE 8554 02:51:58 ---> Running in 9c8d13733004 02:51:58 Removing intermediate container 9c8d13733004 02:51:58 ---> c1ce9af5e54b 02:51:58 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 02:51:58 ---> Running in 269cb63f9af9 02:51:58 Removing intermediate container 269cb63f9af9 02:51:58 ---> ec044d18812a 02:51:58 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 02:51:58 ---> Running in 3ce3b3267253 02:51:58 Removing intermediate container 3ce3b3267253 02:51:58 ---> 74ec50ca634a 02:51:58 Step 33/35 : LABEL arch=amd64 02:51:58 ---> Running in bdda4d1474cd 02:51:58 Removing intermediate container bdda4d1474cd 02:51:58 ---> cf00c07bb1b5 02:51:58 Step 34/35 : LABEL git_sha=6092c9085675b91a8d413abdbfedf2a2dc879208 02:51:58 ---> Running in 49d3981bdc48 02:51:58 Removing intermediate container 49d3981bdc48 02:51:58 ---> 510a8f810b1f 02:51:58 Step 35/35 : LABEL version=3.0.0-dev.24 02:51:58 ---> Running in 11f9ab89c7cd 02:51:58 Removing intermediate container 11f9ab89c7cd 02:51:58 ---> af6e72caeaae 02:51:58 [Warning] One or more build-args [ARCH] were not consumed 02:51:58 Successfully built af6e72caeaae 02:51:58 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 02:51:59 provisioning config files... 02:51:59 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12993858033549357710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:59 ---> docker-login.sh 02:51:59 nexus3.edgexfoundry.org:10001 02:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:59 Configure a credential helper to remove this warning. See 02:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:59 02:51:59 Login Succeeded 02:51:59 nexus3.edgexfoundry.org:10002 02:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:59 Configure a credential helper to remove this warning. See 02:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:59 02:51:59 Login Succeeded 02:51:59 nexus3.edgexfoundry.org:10003 02:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:59 Configure a credential helper to remove this warning. See 02:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:59 02:51:59 Login Succeeded 02:51:59 nexus3.edgexfoundry.org:10004 02:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:59 Configure a credential helper to remove this warning. See 02:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:59 02:51:59 Login Succeeded 02:51:59 docker.io 02:51:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:59 Configure a credential helper to remove this warning. See 02:51:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:59 02:51:59 Login Succeeded 02:51:59 ---> docker-login.sh ends [Pipeline] } 02:51:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:59 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 02:51:59 6092c9085675b91a8d413abdbfedf2a2dc879208 02:51:59 latest 02:51:59 3.0.0-dev.24 02:51:59 6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 02:51:59 main 02:51:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:00 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208 02:52:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:52:00 d1e21c3cb896: Preparing 02:52:00 ba00df686cc9: Preparing 02:52:00 0e55d1346264: Preparing 02:52:00 3827b5b91e75: Preparing 02:52:00 acc83c6ca332: Preparing 02:52:00 085272e6371e: Preparing 02:52:00 24c1ba5654bd: Preparing 02:52:00 307a1c6db129: Preparing 02:52:00 be9a0b9b63b0: Preparing 02:52:00 2bc98c58236f: Preparing 02:52:00 0d51490eb0f3: Preparing 02:52:00 f1417ff83b31: Preparing 02:52:00 085272e6371e: Waiting 02:52:00 24c1ba5654bd: Waiting 02:52:00 307a1c6db129: Waiting 02:52:00 be9a0b9b63b0: Waiting 02:52:00 2bc98c58236f: Waiting 02:52:00 0d51490eb0f3: Waiting 02:52:00 f1417ff83b31: Waiting 02:52:00 0e55d1346264: Pushed 02:52:00 d1e21c3cb896: Pushed 02:52:00 acc83c6ca332: Pushed 02:52:00 ba00df686cc9: Pushed 02:52:00 085272e6371e: Pushed 02:52:00 be9a0b9b63b0: Pushed 02:52:00 307a1c6db129: Pushed 02:52:00 24c1ba5654bd: Pushed 02:52:00 f1417ff83b31: Layer already exists 02:52:03 3827b5b91e75: Pushed 02:52:03 2bc98c58236f: Pushed 02:52:11 0d51490eb0f3: Pushed 02:52:11 6092c9085675b91a8d413abdbfedf2a2dc879208: digest: sha256:d4ab916d8172a12a30474fc79418780c4a8efcfc122137434fa119f6703dda28 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:11 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 02:52:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:52:12 d1e21c3cb896: Preparing 02:52:12 ba00df686cc9: Preparing 02:52:12 0e55d1346264: Preparing 02:52:12 3827b5b91e75: Preparing 02:52:12 acc83c6ca332: Preparing 02:52:12 085272e6371e: Preparing 02:52:12 24c1ba5654bd: Preparing 02:52:12 307a1c6db129: Preparing 02:52:12 be9a0b9b63b0: Preparing 02:52:12 2bc98c58236f: Preparing 02:52:12 0d51490eb0f3: Preparing 02:52:12 f1417ff83b31: Preparing 02:52:12 be9a0b9b63b0: Waiting 02:52:12 2bc98c58236f: Waiting 02:52:12 0d51490eb0f3: Waiting 02:52:12 f1417ff83b31: Waiting 02:52:12 085272e6371e: Waiting 02:52:12 24c1ba5654bd: Waiting 02:52:12 307a1c6db129: Waiting 02:52:12 ba00df686cc9: Layer already exists 02:52:12 3827b5b91e75: Layer already exists 02:52:12 0e55d1346264: Layer already exists 02:52:12 acc83c6ca332: Layer already exists 02:52:12 d1e21c3cb896: Layer already exists 02:52:12 307a1c6db129: Layer already exists 02:52:12 085272e6371e: Layer already exists 02:52:12 24c1ba5654bd: Layer already exists 02:52:12 2bc98c58236f: Layer already exists 02:52:12 be9a0b9b63b0: Layer already exists 02:52:12 0d51490eb0f3: Layer already exists 02:52:12 f1417ff83b31: Layer already exists 02:52:12 latest: digest: sha256:d4ab916d8172a12a30474fc79418780c4a8efcfc122137434fa119f6703dda28 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.24 02:52:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:52:12 d1e21c3cb896: Preparing 02:52:12 ba00df686cc9: Preparing 02:52:12 0e55d1346264: Preparing 02:52:12 3827b5b91e75: Preparing 02:52:12 acc83c6ca332: Preparing 02:52:12 085272e6371e: Preparing 02:52:12 24c1ba5654bd: Preparing 02:52:12 307a1c6db129: Preparing 02:52:12 be9a0b9b63b0: Preparing 02:52:12 2bc98c58236f: Preparing 02:52:12 0d51490eb0f3: Preparing 02:52:12 f1417ff83b31: Preparing 02:52:12 085272e6371e: Waiting 02:52:12 24c1ba5654bd: Waiting 02:52:12 307a1c6db129: Waiting 02:52:12 be9a0b9b63b0: Waiting 02:52:12 2bc98c58236f: Waiting 02:52:12 0d51490eb0f3: Waiting 02:52:12 f1417ff83b31: Waiting 02:52:12 0e55d1346264: Layer already exists 02:52:12 3827b5b91e75: Layer already exists 02:52:12 d1e21c3cb896: Layer already exists 02:52:12 acc83c6ca332: Layer already exists 02:52:12 ba00df686cc9: Layer already exists 02:52:12 085272e6371e: Layer already exists 02:52:12 24c1ba5654bd: Layer already exists 02:52:12 be9a0b9b63b0: Layer already exists 02:52:12 2bc98c58236f: Layer already exists 02:52:12 307a1c6db129: Layer already exists 02:52:12 0d51490eb0f3: Layer already exists 02:52:12 f1417ff83b31: Layer already exists 02:52:12 3.0.0-dev.24: digest: sha256:d4ab916d8172a12a30474fc79418780c4a8efcfc122137434fa119f6703dda28 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 02:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:52:13 d1e21c3cb896: Preparing 02:52:13 ba00df686cc9: Preparing 02:52:13 0e55d1346264: Preparing 02:52:13 3827b5b91e75: Preparing 02:52:13 acc83c6ca332: Preparing 02:52:13 085272e6371e: Preparing 02:52:13 24c1ba5654bd: Preparing 02:52:13 307a1c6db129: Preparing 02:52:13 be9a0b9b63b0: Preparing 02:52:13 2bc98c58236f: Preparing 02:52:13 0d51490eb0f3: Preparing 02:52:13 f1417ff83b31: Preparing 02:52:13 085272e6371e: Waiting 02:52:13 be9a0b9b63b0: Waiting 02:52:13 f1417ff83b31: Waiting 02:52:13 307a1c6db129: Waiting 02:52:13 0d51490eb0f3: Waiting 02:52:13 ba00df686cc9: Layer already exists 02:52:13 3827b5b91e75: Layer already exists 02:52:13 0e55d1346264: Layer already exists 02:52:13 d1e21c3cb896: Layer already exists 02:52:13 acc83c6ca332: Layer already exists 02:52:13 085272e6371e: Layer already exists 02:52:13 307a1c6db129: Layer already exists 02:52:13 be9a0b9b63b0: Layer already exists 02:52:13 0d51490eb0f3: Layer already exists 02:52:13 2bc98c58236f: Layer already exists 02:52:13 24c1ba5654bd: Layer already exists 02:52:13 f1417ff83b31: Layer already exists 02:52:13 6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24: digest: sha256:d4ab916d8172a12a30474fc79418780c4a8efcfc122137434fa119f6703dda28 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:13 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 02:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 02:52:13 d1e21c3cb896: Preparing 02:52:13 ba00df686cc9: Preparing 02:52:13 0e55d1346264: Preparing 02:52:13 3827b5b91e75: Preparing 02:52:13 acc83c6ca332: Preparing 02:52:13 085272e6371e: Preparing 02:52:13 24c1ba5654bd: Preparing 02:52:13 307a1c6db129: Preparing 02:52:13 be9a0b9b63b0: Preparing 02:52:13 2bc98c58236f: Preparing 02:52:13 0d51490eb0f3: Preparing 02:52:13 f1417ff83b31: Preparing 02:52:13 2bc98c58236f: Waiting 02:52:13 24c1ba5654bd: Waiting 02:52:13 be9a0b9b63b0: Waiting 02:52:13 307a1c6db129: Waiting 02:52:13 0d51490eb0f3: Waiting 02:52:13 f1417ff83b31: Waiting 02:52:13 acc83c6ca332: Layer already exists 02:52:13 0e55d1346264: Layer already exists 02:52:13 d1e21c3cb896: Layer already exists 02:52:13 ba00df686cc9: Layer already exists 02:52:13 3827b5b91e75: Layer already exists 02:52:13 085272e6371e: Layer already exists 02:52:13 2bc98c58236f: Layer already exists 02:52:13 24c1ba5654bd: Layer already exists 02:52:13 be9a0b9b63b0: Layer already exists 02:52:13 307a1c6db129: Layer already exists 02:52:13 f1417ff83b31: Layer already exists 02:52:13 0d51490eb0f3: Layer already exists 02:52:13 main: digest: sha256:d4ab916d8172a12a30474fc79418780c4a8efcfc122137434fa119f6703dda28 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:52:13 ===================================================== [Pipeline] echo 02:52:13 taggedImages: 02:52:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208 02:52:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 02:52:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.24 02:52:13 - nexus3.edgexfoundry.org:10004/device-usb-camera:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 02:52:13 - 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 02:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:14 02:52:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:14 latest: Pulling from edgex-lftools-log-publisher 02:52:14 5eb5b503b376: Pulling fs layer 02:52:14 5c69ac0246d0: Pulling fs layer 02:52:14 ec43610c2a17: Pulling fs layer 02:52:14 3a2ae6a8a46f: Pulling fs layer 02:52:14 33b1e0a273af: Pulling fs layer 02:52:14 5d3b04190fa2: Pulling fs layer 02:52:14 2f39f015ded8: Pulling fs layer 02:52:14 33b1e0a273af: Waiting 02:52:14 5d3b04190fa2: Waiting 02:52:14 2f39f015ded8: Waiting 02:52:14 3a2ae6a8a46f: Waiting 02:52:14 5c69ac0246d0: Verifying Checksum 02:52:14 5c69ac0246d0: Download complete 02:52:14 3a2ae6a8a46f: Verifying Checksum 02:52:14 3a2ae6a8a46f: Download complete 02:52:14 33b1e0a273af: Verifying Checksum 02:52:14 33b1e0a273af: Download complete 02:52:14 ec43610c2a17: Verifying Checksum 02:52:14 ec43610c2a17: Download complete 02:52:14 5d3b04190fa2: Download complete 02:52:14 5eb5b503b376: Verifying Checksum 02:52:14 5eb5b503b376: Download complete 02:52:15 2f39f015ded8: Download complete 02:52:15 5eb5b503b376: Pull complete 02:52:16 5c69ac0246d0: Pull complete 02:52:16 ec43610c2a17: Pull complete 02:52:16 3a2ae6a8a46f: Pull complete 02:52:16 33b1e0a273af: Pull complete 02:52:17 5d3b04190fa2: Pull complete 02:52:21 2f39f015ded8: Pull complete 02:52:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:21 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 02:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:52:23 $ docker top eeb075063735d34e48bdff3c6f14ede50d32db1d5ddb43b2c9eaa9b9ccc2c95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:52:24 ---> job-cost.sh 02:52:24 lf-activate-venv: SKIPPING 02:52:24 INFO: No Stack... 02:52:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:24 INFO: Archiving Costs [Pipeline] sh 02:52:25 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 02:52:25 + cut -d, -f6 [Pipeline] lock 02:52:25 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] 02:52:25 Resource [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] did not exist. Created. 02:52:25 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:52:25 + echo total: 0.2199999988079071 [Pipeline] stash 02:52:25 Stashed 1 file(s) [Pipeline] } 02:52:25 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 02:52:25 $ docker stop --time=1 eeb075063735d34e48bdff3c6f14ede50d32db1d5ddb43b2c9eaa9b9ccc2c95e 02:52:26 $ docker rm -f --volumes eeb075063735d34e48bdff3c6f14ede50d32db1d5ddb43b2c9eaa9b9ccc2c95e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:54:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7070 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 02:54:13 Running in /w/workspace/device-usb-camera/96 [Pipeline] { [Pipeline] checkout 02:54:13 Selected Git installation does not exist. Using Default 02:54:13 The recommended git tool is: NONE 02:54:19 using credential edgex-jenkins-ssh 02:54:19 Cloning the remote Git repository 02:54:19 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 02:54:19 > git init /w/workspace/device-usb-camera/96 # timeout=10 02:54:19 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 02:54:19 > git --version # timeout=10 02:54:19 > git --version # 'git version 2.25.1' 02:54:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:54:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:21 Avoid second fetch 02:54:21 Checking out Revision 6092c9085675b91a8d413abdbfedf2a2dc879208 (main) 02:54:20 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 02:54:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:54:21 > git config core.sparsecheckout # timeout=10 02:54:21 > git checkout -f 6092c9085675b91a8d413abdbfedf2a2dc879208 # timeout=10 02:54:22 Commit message: "Merge pull request #211 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.64" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:54:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:54:23 Dload Upload Total Spent Left Speed 02:54:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 02:54:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:54:24 + sudo tee /etc/docker/daemon.new 02:54:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:54:24 { 02:54:24 "registry-mirrors": [ 02:54:24 "https://nexus3.edgexfoundry.org:10001" 02:54:24 ], 02:54:24 "bip": "10.250.0.254/24", 02:54:24 "hosts": [ 02:54:24 "tcp://0.0.0.0:5555", 02:54:24 "unix:///var/run/docker.sock" 02:54:24 ], 02:54:24 "mtu": 1458, 02:54:24 "selinux-enabled": true, 02:54:24 "seccomp-profile": "/etc/docker/seccomp.json" 02:54:24 } [Pipeline] sh 02:54:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:54:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:54:43 provisioning config files... 02:54:43 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/96@tmp/config14209387623486282577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:54:43 ---> docker-login.sh 02:54:43 nexus3.edgexfoundry.org:10001 02:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:44 Configure a credential helper to remove this warning. See 02:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:44 02:54:44 Login Succeeded 02:54:44 nexus3.edgexfoundry.org:10002 02:54:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:44 Configure a credential helper to remove this warning. See 02:54:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:44 02:54:44 Login Succeeded 02:54:44 nexus3.edgexfoundry.org:10003 02:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:45 Configure a credential helper to remove this warning. See 02:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:45 02:54:45 Login Succeeded 02:54:45 nexus3.edgexfoundry.org:10004 02:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:45 Configure a credential helper to remove this warning. See 02:54:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:45 02:54:45 Login Succeeded 02:54:45 docker.io 02:54:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:54:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:54:46 Configure a credential helper to remove this warning. See 02:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:54:46 02:54:46 Login Succeeded 02:54:46 ---> docker-login.sh ends [Pipeline] } 02:54:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:54:46 ========================================================= 02:54:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:54:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:46 + 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 . 02:54:47 Sending build context to Docker daemon 1.221MB 02:54:47 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 02:54:47 Step 2/13 : FROM ${BASE} AS builder 02:54:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:54:47 af6eaf76a39c: Pulling fs layer 02:54:47 55522c791124: Pulling fs layer 02:54:47 ce5c4a1c91eb: Pulling fs layer 02:54:47 169dfbe0d373: Pulling fs layer 02:54:47 e1ff8fa3b103: Pulling fs layer 02:54:47 52ebb69f0ebf: Pulling fs layer 02:54:47 5abe8eddf0d5: Pulling fs layer 02:54:47 169dfbe0d373: Waiting 02:54:47 52ebb69f0ebf: Waiting 02:54:47 5abe8eddf0d5: Waiting 02:54:47 e1ff8fa3b103: Waiting 02:54:47 55522c791124: Verifying Checksum 02:54:47 55522c791124: Download complete 02:54:47 169dfbe0d373: Verifying Checksum 02:54:47 169dfbe0d373: Download complete 02:54:47 e1ff8fa3b103: Verifying Checksum 02:54:47 e1ff8fa3b103: Download complete 02:54:47 af6eaf76a39c: Verifying Checksum 02:54:48 af6eaf76a39c: Pull complete 02:54:48 5abe8eddf0d5: Verifying Checksum 02:54:48 5abe8eddf0d5: Download complete 02:54:49 55522c791124: Pull complete 02:54:50 ce5c4a1c91eb: Verifying Checksum 02:54:50 ce5c4a1c91eb: Download complete 02:54:50 52ebb69f0ebf: Verifying Checksum 02:54:50 52ebb69f0ebf: Download complete 02:55:02 ce5c4a1c91eb: Pull complete 02:55:02 169dfbe0d373: Pull complete 02:55:02 e1ff8fa3b103: Pull complete 02:55:10 52ebb69f0ebf: Pull complete 02:55:12 5abe8eddf0d5: Pull complete 02:55:12 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:55:12 ---> 6cb57ee374ae 02:55:12 Step 3/13 : ARG ADD_BUILD_TAGS="" 02:55:14 ---> Running in 831d9ea6eb50 02:55:14 Removing intermediate container 831d9ea6eb50 02:55:14 ---> 26c437effb78 02:55:14 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:55:14 ---> Running in d0d16afae964 02:55:15 Removing intermediate container d0d16afae964 02:55:15 ---> 81b9f6a0444b 02:55:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 02:55:15 ---> Running in 0a068041e970 02:55:15 Removing intermediate container 0a068041e970 02:55:15 ---> 040af0adb964 02:55:15 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 02:55:15 ---> Running in 3b2e76fe65be 02:55:16 Removing intermediate container 3b2e76fe65be 02:55:16 ---> 96b6f7b04632 02:55:16 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:55:16 ---> Running in d66ef74c50d6 02:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:55:19 (1/14) Installing libintl (0.21.1-r1) 02:55:19 (2/14) Installing eudev-libs (3.2.11-r4) 02:55:19 (3/14) Installing libjpeg-turbo (2.1.4-r0) 02:55:19 (4/14) Installing v4l-utils-libs (1.22.1-r2) 02:55:19 (5/14) Installing v4l-utils (1.22.1-r2) 02:55:19 (6/14) Installing udev-init-scripts (35-r1) 02:55:19 (7/14) Installing libblkid (2.38.1-r1) 02:55:19 (8/14) Installing xz-libs (5.2.9-r0) 02:55:19 (9/14) Installing zstd-libs (1.5.5-r0) 02:55:19 (10/14) Installing kmod-libs (30-r1) 02:55:19 (11/14) Installing eudev (3.2.11-r4) 02:55:19 (12/14) Installing eudev-dev (3.2.11-r4) 02:55:19 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 02:55:19 (14/14) Installing v4l-utils-dev (1.22.1-r2) 02:55:19 Executing busybox-1.35.0-r29.trigger 02:55:19 Executing eudev-3.2.11-r4.trigger 02:55:19 OK: 271 MiB in 67 packages 02:55:20 Removing intermediate container d66ef74c50d6 02:55:20 ---> e43a07b23e98 02:55:20 Step 8/13 : WORKDIR /device-usb-camera 02:55:20 ---> Running in c3bfdb04a177 02:55:21 Removing intermediate container c3bfdb04a177 02:55:21 ---> 994f3a62d56a 02:55:21 Step 9/13 : COPY go.mod vendor* ./ 02:55:23 ---> 9a7276245622 02:55:23 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:55:23 ---> Running in 3dfbbf52a6c3 02:56:31 Removing intermediate container 3dfbbf52a6c3 02:56:31 ---> c4d3a492fa05 02:56:31 Step 11/13 : COPY . . 02:56:31 ---> 0c125dc04eb3 02:56:31 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 02:56:31 ---> Running in 339938431d88 02:56:31  % Total % Received % Xferd Average Speed Time Time Time Current 02:56:31  Dload Upload Total Spent Left Speed 02:56:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 2541 0 --:--:-- --:--:-- --:--:-- 2546 02:56:31 Removing intermediate container 339938431d88 02:56:31 ---> c1d21f2c45ae 02:56:31 Step 13/13 : RUN ${MAKE} 02:56:31 ---> Running in 0d248e8271c4 02:56:31 noop 02:56:31 Removing intermediate container 0d248e8271c4 02:56:31 ---> 2547f05f9a9c 02:56:31 Successfully built 2547f05f9a9c 02:56:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:32 + docker inspect -f . ci-base-image-arm64 02:56:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:32 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 02:56:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/96 -v /w/workspace/device-usb-camera/96:/w/workspace/device-usb-camera/96:rw,z -v /w/workspace/device-usb-camera/96@tmp:/w/workspace/device-usb-camera/96@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 02:56:33 $ docker top 7fecc2afaaa5c725101b446aa60214893818a0a3a68ad59a7636b6c62c3a7442 -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:34 + go version 02:56:34 go version go1.20.2 linux/arm64 [Pipeline] } 02:56:34 $ docker stop --time=1 7fecc2afaaa5c725101b446aa60214893818a0a3a68ad59a7636b6c62c3a7442 02:56:36 $ docker rm -f --volumes 7fecc2afaaa5c725101b446aa60214893818a0a3a68ad59a7636b6c62c3a7442 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:56:36 + docker inspect -f . ci-base-image-arm64 02:56:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:56:36 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 02:56:37 $ 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/96 -v /w/workspace/device-usb-camera/96:/w/workspace/device-usb-camera/96:rw,z -v /w/workspace/device-usb-camera/96@tmp:/w/workspace/device-usb-camera/96@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 02:56:38 $ docker top b4022ede7c1790aad14a58b3797715860924cfcbc2799c58932eda0e0cf81eea -eo pid,comm [Pipeline] { [Pipeline] sh 02:56:39 + git config --global --add safe.directory /w/workspace/device-usb-camera/96 [Pipeline] fileExists [Pipeline] sh 02:56:39 + make test 02:56:39 go test ./... -coverprofile=coverage.out ./... 02:57:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 02:59:18 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 02:59:18 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.066s coverage: 2.0% of statements 02:59:19 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:59:19 go vet ./... 02:59:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:58 ./bin/test-attribution-txt.sh 02:59:58 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 02:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:59:58 $ docker stop --time=1 b4022ede7c1790aad14a58b3797715860924cfcbc2799c58932eda0e0cf81eea 03:00:01 $ docker rm -f --volumes b4022ede7c1790aad14a58b3797715860924cfcbc2799c58932eda0e0cf81eea [Pipeline] // withDockerContainer [Pipeline] sh 03:00:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:00:03 Warning: overwriting stash ‘coverage-report’ 03:00:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:00:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:00:04 + ls -al . 03:00:04 total 184 03:00:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 02:56 . 03:00:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:54 .. 03:00:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 02:54 .git 03:00:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:54 .github 03:00:04 -rw-rw-r-- 1 jenkins jenkins 414 Apr 7 02:54 .gitignore 03:00:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 7 02:54 .golangci.yml 03:00:04 -rw-rw-r-- 1 jenkins jenkins 77 Apr 7 02:54 .hadolint.yml 03:00:04 -rw-rw-r-- 1 jenkins jenkins 9535 Apr 7 02:54 Attribution.txt 03:00:04 -rw-rw-r-- 1 jenkins jenkins 6219 Apr 7 02:54 CHANGELOG.md 03:00:04 -rw-rw-r-- 1 jenkins jenkins 2328 Apr 7 02:54 Dockerfile 03:00:04 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 02:54 GOVERNANCE.md 03:00:04 -rw-rw-r-- 1 jenkins jenkins 659 Apr 7 02:54 Jenkinsfile 03:00:04 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 7 02:54 LICENSE 03:00:04 -rw-rw-r-- 1 jenkins jenkins 2364 Apr 7 02:54 Makefile 03:00:04 -rw-rw-r-- 1 jenkins jenkins 622 Apr 7 02:54 OWNERS.md 03:00:04 -rw-rw-r-- 1 jenkins jenkins 5681 Apr 7 02:54 README.md 03:00:04 -rw-rw-r-- 1 jenkins jenkins 12 Apr 7 02:50 VERSION 03:00:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 02:54 bin 03:00:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:54 cmd 03:00:04 -rw-r--r-- 1 jenkins jenkins 28352 Apr 7 02:59 coverage.out 03:00:04 -rwxrwxr-x 1 jenkins jenkins 140 Apr 7 02:54 docker-entrypoint.sh 03:00:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:54 docs 03:00:04 -rw-rw-r-- 1 jenkins jenkins 3443 Apr 7 02:54 go.mod 03:00:04 -rw-rw-r-- 1 jenkins jenkins 31713 Apr 7 02:54 go.sum 03:00:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 02:54 internal 03:00:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 02:54 snap 03:00:04 -rw-rw-r-- 1 jenkins jenkins 231 Apr 7 02:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:04 + 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=6092c9085675b91a8d413abdbfedf2a2dc879208 --label arch=arm64 --label version=3.0.0-dev.24 . 03:00:05 Sending build context to Docker daemon 1.25MB 03:00:05 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 03:00:05 Step 2/35 : FROM ${BASE} AS builder 03:00:05 ---> 2547f05f9a9c 03:00:05 Step 3/35 : ARG ADD_BUILD_TAGS="" 03:00:05 ---> Running in a18df9ef6803 03:00:05 Removing intermediate container a18df9ef6803 03:00:05 ---> f62175f2a4ca 03:00:05 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:00:05 ---> Running in 7ac0beb90e72 03:00:05 Removing intermediate container 7ac0beb90e72 03:00:05 ---> 5a032622b565 03:00:05 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 03:00:05 ---> Running in da04d26c9674 03:00:06 Removing intermediate container da04d26c9674 03:00:06 ---> 5c4fd2745b37 03:00:06 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 03:00:06 ---> Running in 370a65058b74 03:00:06 Removing intermediate container 370a65058b74 03:00:06 ---> 8cb3e46001e3 03:00:06 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:00:06 ---> Running in 1ea8ef63e8fe 03:00:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:00:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:00:09 OK: 271 MiB in 67 packages 03:00:10 Removing intermediate container 1ea8ef63e8fe 03:00:10 ---> a85e326ce5a3 03:00:10 Step 8/35 : WORKDIR /device-usb-camera 03:00:10 ---> Running in 34b8cf39a5b9 03:00:10 Removing intermediate container 34b8cf39a5b9 03:00:10 ---> e3f613f01e4f 03:00:10 Step 9/35 : COPY go.mod vendor* ./ 03:00:11 ---> 69a025b97577 03:00:11 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:00:11 ---> Running in 6fbf4ce9d5b8 03:00:14 Removing intermediate container 6fbf4ce9d5b8 03:00:14 ---> 84c98ddef3cf 03:00:14 Step 11/35 : COPY . . 03:00:15 ---> de66ced1c89c 03:00:15 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 03:00:15 ---> Running in ca41387f1e6d 03:00:16  % Total % Received % Xferd Average Speed Time Time Time Current 03:00:16 Dload Upload Total Spent Left Speed 03:00:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3460 0 --:--:-- --:--:-- --:--:-- 3481 03:00:17 Removing intermediate container ca41387f1e6d 03:00:17 ---> a3787b655014 03:00:17 Step 13/35 : RUN ${MAKE} 03:00:17 ---> Running in f53c17e78450 03:00:18 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.24" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 03:02:55 Removing intermediate container f53c17e78450 03:02:55 ---> 05d70d9c5c3b 03:02:55 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 03:02:55 v0.21.6: Pulling from aler9/rtsp-simple-server 03:02:55 8766b47fe142: Pulling fs layer 03:02:55 8766b47fe142: Download complete 03:02:55 8766b47fe142: Pull complete 03:02:55 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 03:02:55 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 03:02:55 ---> 69d40e2cb93c 03:02:55 Step 15/35 : FROM alpine:3.17 03:02:55 3.17: Pulling from library/alpine 03:02:55 c41833b44d91: Pulling fs layer 03:02:55 c41833b44d91: Verifying Checksum 03:02:55 c41833b44d91: Download complete 03:02:55 c41833b44d91: Pull complete 03:02:55 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:02:55 Status: Downloaded newer image for alpine:3.17 03:02:55 ---> 51e60588ff2c 03:02:55 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 03:02:55 ---> Running in 27292b89fdd6 03:02:55 Removing intermediate container 27292b89fdd6 03:02:55 ---> 1d8007206250 03:02:55 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 03:02:55 ---> Running in a4fb86650b6c 03:02:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:02:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:02:55 (1/83) Installing dumb-init (1.2.5-r2) 03:02:55 (2/83) Installing sdl2 (2.26.5-r0) 03:02:55 (3/83) Installing libxau (1.0.10-r0) 03:02:55 (4/83) Installing libmd (1.0.4-r0) 03:02:55 (5/83) Installing libbsd (0.11.7-r0) 03:02:55 (6/83) Installing libxdmcp (1.1.4-r0) 03:02:55 (7/83) Installing libxcb (1.15-r0) 03:02:55 (8/83) Installing libx11 (1.8.4-r0) 03:02:55 (9/83) Installing aom-libs (3.5.0-r0) 03:02:55 (10/83) Installing alsa-lib (1.2.8-r0) 03:02:55 (11/83) Installing libexpat (2.5.0-r0) 03:02:55 (12/83) Installing brotli-libs (1.0.9-r9) 03:02:55 (13/83) Installing libbz2 (1.0.8-r4) 03:02:55 (14/83) Installing libpng (1.6.38-r0) 03:02:55 (15/83) Installing freetype (2.12.1-r0) 03:02:55 (16/83) Installing fontconfig (2.14.1-r0) 03:02:55 (17/83) Installing fribidi (1.0.12-r0) 03:02:55 (18/83) Installing libffi (3.4.4-r0) 03:02:55 (19/83) Installing libintl (0.21.1-r1) 03:02:55 (20/83) Installing libblkid (2.38.1-r1) 03:02:55 (21/83) Installing libmount (2.38.1-r1) 03:02:55 (22/83) Installing pcre2 (10.42-r0) 03:02:55 (23/83) Installing glib (2.74.6-r0) 03:02:55 (24/83) Installing graphite2 (1.3.14-r2) 03:02:55 (25/83) Installing harfbuzz (5.3.1-r1) 03:02:55 (26/83) Installing libass (0.16.0-r1) 03:02:55 (27/83) Installing libdav1d (1.0.0-r2) 03:02:55 (28/83) Installing libdrm (2.4.114-r0) 03:02:55 (29/83) Installing gmp (6.2.1-r2) 03:02:55 (30/83) Installing nettle (3.8.1-r0) 03:02:55 (31/83) Installing p11-kit (0.24.1-r1) 03:02:55 (32/83) Installing libtasn1 (4.19.0-r0) 03:02:55 (33/83) Installing libunistring (1.1-r0) 03:02:55 (34/83) Installing gnutls (3.7.8-r3) 03:02:55 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 03:02:55 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 03:02:55 (37/83) Installing lame (3.100-r2) 03:02:55 (38/83) Installing opus (1.3.1-r1) 03:02:55 (39/83) Installing libasyncns (0.8-r1) 03:02:55 (40/83) Installing dbus-libs (1.14.4-r0) 03:02:55 (41/83) Installing libltdl (2.4.7-r1) 03:02:55 (42/83) Installing orc (0.4.33-r0) 03:02:55 (43/83) Installing libgcc (12.2.1_git20220924-r4) 03:02:55 (44/83) Installing libogg (1.3.5-r2) 03:02:55 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 03:02:55 (46/83) Installing flac-libs (1.4.2-r0) 03:02:55 (47/83) Installing libvorbis (1.3.7-r0) 03:02:55 (48/83) Installing libsndfile (1.1.0-r2) 03:02:55 (49/83) Installing libgomp (12.2.1_git20220924-r4) 03:02:55 (50/83) Installing soxr (0.1.3-r3) 03:02:55 (51/83) Installing speexdsp (1.2.1-r0) 03:02:55 (52/83) Installing tdb-libs (1.4.6-r0) 03:02:55 (53/83) Installing libpulse (16.1-r6) 03:02:55 (54/83) Installing cjson (1.7.15-r3) 03:02:55 (55/83) Installing mbedtls (2.28.3-r0) 03:02:55 (56/83) Installing librist (0.2.7-r0) 03:02:55 (57/83) Installing libsrt (1.5.1-r0) 03:02:55 (58/83) Installing libssh (0.10.4-r0) 03:02:55 (59/83) Installing libtheora (1.1.1-r16) 03:02:55 (60/83) Installing libjpeg-turbo (2.1.4-r0) 03:02:55 (61/83) Installing v4l-utils-libs (1.22.1-r2) 03:02:55 (62/83) Installing libxext (1.3.5-r0) 03:02:55 (63/83) Installing libxfixes (6.0.0-r0) 03:02:55 (64/83) Installing wayland-libs-client (1.21.0-r1) 03:02:55 (65/83) Installing libva (2.16.0-r0) 03:02:55 (66/83) Installing libvdpau (1.5-r0) 03:02:55 (67/83) Installing vidstab (1.1.0-r2) 03:02:55 (68/83) Installing libvpx (1.12.0-r1) 03:02:55 (69/83) Installing libwebp (1.2.4-r1) 03:02:55 (70/83) Installing x264-libs (0.164_git20220602-r0) 03:02:55 (71/83) Installing numactl (2.0.16-r1) 03:02:55 (72/83) Installing x265-libs (3.5-r3) 03:02:55 (73/83) Installing xvidcore (1.3.7-r1) 03:02:55 (74/83) Installing libsodium (1.0.18-r2) 03:02:55 (75/83) Installing libzmq (4.3.4-r1) 03:02:55 (76/83) Installing ffmpeg-libs (5.1.3-r0) 03:02:55 (77/83) Installing ffmpeg (5.1.3-r0) 03:02:55 (78/83) Installing udev-init-scripts (35-r1) 03:02:55 (79/83) Installing eudev-libs (3.2.11-r4) 03:02:55 (80/83) Installing xz-libs (5.2.9-r0) 03:02:55 (81/83) Installing zstd-libs (1.5.5-r0) 03:02:55 (82/83) Installing kmod-libs (30-r1) 03:02:55 (83/83) Installing eudev (3.2.11-r4) 03:02:55 Executing busybox-1.35.0-r29.trigger 03:02:55 Executing eudev-3.2.11-r4.trigger 03:02:55 OK: 86 MiB in 98 packages 03:02:56 Removing intermediate container a4fb86650b6c 03:02:56 ---> 09799724c28e 03:02:56 Step 18/35 : WORKDIR / 03:02:56 ---> Running in 6cfdadcd644d 03:02:56 Removing intermediate container 6cfdadcd644d 03:02:56 ---> b4855a39495f 03:02:56 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 03:02:58 ---> b65dd3cce061 03:02:58 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 03:02:58 ---> c52f8ff6b228 03:02:58 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 03:02:59 ---> ee683c36a1c9 03:02:59 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 03:02:59 ---> a494db094165 03:02:59 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 03:03:00 ---> db351c05b109 03:03:00 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 03:03:00 ---> 62d46e4d96ac 03:03:00 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 03:03:02 ---> 3168c79a48dc 03:03:02 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 03:03:02 ---> Running in d38f565fd70a 03:03:03 Removing intermediate container d38f565fd70a 03:03:03 ---> 381e76bf7d26 03:03:03 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 03:03:03 ---> Running in 05d916290a4c 03:03:05 Removing intermediate container 05d916290a4c 03:03:05 ---> 33f6010a4f21 03:03:05 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 03:03:05 ---> Running in 9e73868233ff 03:03:07 Removing intermediate container 9e73868233ff 03:03:07 ---> ac424c7b9622 03:03:07 Step 29/35 : EXPOSE 59983 03:03:07 ---> Running in b6e121428b36 03:03:07 Removing intermediate container b6e121428b36 03:03:07 ---> 11e73d977693 03:03:07 Step 30/35 : EXPOSE 8554 03:03:07 ---> Running in b117918c8be5 03:03:08 Removing intermediate container b117918c8be5 03:03:08 ---> 902454cc00b0 03:03:08 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 03:03:08 ---> Running in 2cd8c2f8a35e 03:03:08 Removing intermediate container 2cd8c2f8a35e 03:03:08 ---> 7abc1bd25f77 03:03:08 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 03:03:08 ---> Running in 43487c6e88a6 03:03:08 Removing intermediate container 43487c6e88a6 03:03:08 ---> 64bdde4d1083 03:03:08 Step 33/35 : LABEL arch=arm64 03:03:08 ---> Running in 4479dcb1b4d4 03:03:09 Removing intermediate container 4479dcb1b4d4 03:03:09 ---> 797f938d57c4 03:03:09 Step 34/35 : LABEL git_sha=6092c9085675b91a8d413abdbfedf2a2dc879208 03:03:09 ---> Running in 4014365f82ac 03:03:09 Removing intermediate container 4014365f82ac 03:03:09 ---> 1b840914f8cc 03:03:09 Step 35/35 : LABEL version=3.0.0-dev.24 03:03:09 ---> Running in f4b507927d53 03:03:09 Removing intermediate container f4b507927d53 03:03:09 ---> 9195378a43a6 03:03:09 [Warning] One or more build-args [ARCH] were not consumed 03:03:09 Successfully built 9195378a43a6 03:03:09 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 03:03:10 provisioning config files... 03:03:10 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/96@tmp/config2362282192443547409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:10 ---> docker-login.sh 03:03:10 nexus3.edgexfoundry.org:10001 03:03:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:10 Configure a credential helper to remove this warning. See 03:03:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:10 03:03:10 Login Succeeded 03:03:10 nexus3.edgexfoundry.org:10002 03:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:11 Configure a credential helper to remove this warning. See 03:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:11 03:03:11 Login Succeeded 03:03:11 nexus3.edgexfoundry.org:10003 03:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:11 Configure a credential helper to remove this warning. See 03:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:11 03:03:11 Login Succeeded 03:03:11 nexus3.edgexfoundry.org:10004 03:03:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:11 Configure a credential helper to remove this warning. See 03:03:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:11 03:03:11 Login Succeeded 03:03:11 docker.io 03:03:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:03:12 Configure a credential helper to remove this warning. See 03:03:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:03:12 03:03:12 Login Succeeded 03:03:12 ---> docker-login.sh ends [Pipeline] } 03:03:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:03:12 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 03:03:12 6092c9085675b91a8d413abdbfedf2a2dc879208 03:03:12 latest 03:03:12 3.0.0-dev.24 03:03:12 6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 03:03:12 main 03:03:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:12 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208 03:03:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 03:03:13 38b69ff96ce5: Preparing 03:03:13 ff898efbf867: Preparing 03:03:13 159f628392e9: Preparing 03:03:13 608d194cb50c: Preparing 03:03:13 acc83c6ca332: Preparing 03:03:13 9311127dd44e: Preparing 03:03:13 35d75d657fb0: Preparing 03:03:13 8e8d8923beb0: Preparing 03:03:13 95e58e653d16: Preparing 03:03:13 32da8c44d5d8: Preparing 03:03:13 a3844d0f4bb5: Preparing 03:03:13 26cbea5cba74: Preparing 03:03:13 9311127dd44e: Waiting 03:03:13 35d75d657fb0: Waiting 03:03:13 8e8d8923beb0: Waiting 03:03:13 95e58e653d16: Waiting 03:03:13 32da8c44d5d8: Waiting 03:03:13 a3844d0f4bb5: Waiting 03:03:13 26cbea5cba74: Waiting 03:03:13 acc83c6ca332: Pushed 03:03:13 ff898efbf867: Pushed 03:03:13 159f628392e9: Pushed 03:03:13 38b69ff96ce5: Pushed 03:03:13 9311127dd44e: Pushed 03:03:13 95e58e653d16: Pushed 03:03:13 8e8d8923beb0: Pushed 03:03:13 35d75d657fb0: Pushed 03:03:13 26cbea5cba74: Layer already exists 03:03:18 608d194cb50c: Pushed 03:03:18 32da8c44d5d8: Pushed 03:03:31 a3844d0f4bb5: Pushed 03:03:31 6092c9085675b91a8d413abdbfedf2a2dc879208: digest: sha256:a949cbc6e1161dc794d62dccb5f64babd1bbb4a973d3cb7ed750a19b010c0516 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:31 + 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 03:03:31 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 03:03:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 03:03:31 38b69ff96ce5: Preparing 03:03:31 ff898efbf867: Preparing 03:03:31 159f628392e9: Preparing 03:03:31 608d194cb50c: Preparing 03:03:31 acc83c6ca332: Preparing 03:03:31 9311127dd44e: Preparing 03:03:31 35d75d657fb0: Preparing 03:03:31 8e8d8923beb0: Preparing 03:03:31 95e58e653d16: Preparing 03:03:31 32da8c44d5d8: Preparing 03:03:31 a3844d0f4bb5: Preparing 03:03:31 26cbea5cba74: Preparing 03:03:31 9311127dd44e: Waiting 03:03:31 35d75d657fb0: Waiting 03:03:31 32da8c44d5d8: Waiting 03:03:31 a3844d0f4bb5: Waiting 03:03:31 8e8d8923beb0: Waiting 03:03:31 26cbea5cba74: Waiting 03:03:31 95e58e653d16: Waiting 03:03:31 159f628392e9: Layer already exists 03:03:31 ff898efbf867: Layer already exists 03:03:31 38b69ff96ce5: Layer already exists 03:03:31 acc83c6ca332: Layer already exists 03:03:31 608d194cb50c: Layer already exists 03:03:31 8e8d8923beb0: Layer already exists 03:03:31 35d75d657fb0: Layer already exists 03:03:31 9311127dd44e: Layer already exists 03:03:31 95e58e653d16: Layer already exists 03:03:31 32da8c44d5d8: Layer already exists 03:03:31 26cbea5cba74: Layer already exists 03:03:31 a3844d0f4bb5: Layer already exists 03:03:32 latest: digest: sha256:a949cbc6e1161dc794d62dccb5f64babd1bbb4a973d3cb7ed750a19b010c0516 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:32 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:32 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.24 03:03:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 03:03:32 38b69ff96ce5: Preparing 03:03:32 ff898efbf867: Preparing 03:03:32 159f628392e9: Preparing 03:03:32 608d194cb50c: Preparing 03:03:32 acc83c6ca332: Preparing 03:03:32 9311127dd44e: Preparing 03:03:32 35d75d657fb0: Preparing 03:03:32 8e8d8923beb0: Preparing 03:03:32 95e58e653d16: Preparing 03:03:32 32da8c44d5d8: Preparing 03:03:32 a3844d0f4bb5: Preparing 03:03:32 26cbea5cba74: Preparing 03:03:32 9311127dd44e: Waiting 03:03:32 35d75d657fb0: Waiting 03:03:32 8e8d8923beb0: Waiting 03:03:32 95e58e653d16: Waiting 03:03:32 26cbea5cba74: Waiting 03:03:32 32da8c44d5d8: Waiting 03:03:32 a3844d0f4bb5: Waiting 03:03:32 38b69ff96ce5: Layer already exists 03:03:32 ff898efbf867: Layer already exists 03:03:32 159f628392e9: Layer already exists 03:03:32 acc83c6ca332: Layer already exists 03:03:32 608d194cb50c: Layer already exists 03:03:32 8e8d8923beb0: Layer already exists 03:03:32 35d75d657fb0: Layer already exists 03:03:32 9311127dd44e: Layer already exists 03:03:32 95e58e653d16: Layer already exists 03:03:32 32da8c44d5d8: Layer already exists 03:03:32 a3844d0f4bb5: Layer already exists 03:03:32 26cbea5cba74: Layer already exists 03:03:33 3.0.0-dev.24: digest: sha256:a949cbc6e1161dc794d62dccb5f64babd1bbb4a973d3cb7ed750a19b010c0516 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:33 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:33 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 03:03:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 03:03:33 38b69ff96ce5: Preparing 03:03:33 ff898efbf867: Preparing 03:03:33 159f628392e9: Preparing 03:03:33 608d194cb50c: Preparing 03:03:33 acc83c6ca332: Preparing 03:03:33 9311127dd44e: Preparing 03:03:33 35d75d657fb0: Preparing 03:03:33 8e8d8923beb0: Preparing 03:03:33 95e58e653d16: Preparing 03:03:33 32da8c44d5d8: Preparing 03:03:33 a3844d0f4bb5: Preparing 03:03:33 26cbea5cba74: Preparing 03:03:33 95e58e653d16: Waiting 03:03:33 32da8c44d5d8: Waiting 03:03:33 9311127dd44e: Waiting 03:03:33 a3844d0f4bb5: Waiting 03:03:33 35d75d657fb0: Waiting 03:03:33 8e8d8923beb0: Waiting 03:03:33 26cbea5cba74: Waiting 03:03:33 ff898efbf867: Layer already exists 03:03:33 159f628392e9: Layer already exists 03:03:33 608d194cb50c: Layer already exists 03:03:33 38b69ff96ce5: Layer already exists 03:03:33 acc83c6ca332: Layer already exists 03:03:33 35d75d657fb0: Layer already exists 03:03:33 8e8d8923beb0: Layer already exists 03:03:33 9311127dd44e: Layer already exists 03:03:33 95e58e653d16: Layer already exists 03:03:33 32da8c44d5d8: Layer already exists 03:03:33 a3844d0f4bb5: Layer already exists 03:03:33 26cbea5cba74: Layer already exists 03:03:34 6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24: digest: sha256:a949cbc6e1161dc794d62dccb5f64babd1bbb4a973d3cb7ed750a19b010c0516 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:34 + 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 03:03:34 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 03:03:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 03:03:34 38b69ff96ce5: Preparing 03:03:34 ff898efbf867: Preparing 03:03:34 159f628392e9: Preparing 03:03:34 608d194cb50c: Preparing 03:03:34 acc83c6ca332: Preparing 03:03:34 9311127dd44e: Preparing 03:03:34 35d75d657fb0: Preparing 03:03:34 8e8d8923beb0: Preparing 03:03:34 95e58e653d16: Preparing 03:03:34 32da8c44d5d8: Preparing 03:03:34 a3844d0f4bb5: Preparing 03:03:34 26cbea5cba74: Preparing 03:03:34 9311127dd44e: Waiting 03:03:34 95e58e653d16: Waiting 03:03:34 35d75d657fb0: Waiting 03:03:34 8e8d8923beb0: Waiting 03:03:34 32da8c44d5d8: Waiting 03:03:34 26cbea5cba74: Waiting 03:03:34 a3844d0f4bb5: Waiting 03:03:34 159f628392e9: Layer already exists 03:03:34 608d194cb50c: Layer already exists 03:03:34 acc83c6ca332: Layer already exists 03:03:34 ff898efbf867: Layer already exists 03:03:34 38b69ff96ce5: Layer already exists 03:03:34 35d75d657fb0: Layer already exists 03:03:34 9311127dd44e: Layer already exists 03:03:34 8e8d8923beb0: Layer already exists 03:03:34 32da8c44d5d8: Layer already exists 03:03:34 95e58e653d16: Layer already exists 03:03:34 26cbea5cba74: Layer already exists 03:03:34 a3844d0f4bb5: Layer already exists 03:03:35 main: digest: sha256:a949cbc6e1161dc794d62dccb5f64babd1bbb4a973d3cb7ed750a19b010c0516 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:03:35 ===================================================== [Pipeline] echo 03:03:35 taggedImages: 03:03:35 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208 03:03:35 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 03:03:35 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.24 03:03:35 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:6092c9085675b91a8d413abdbfedf2a2dc879208-3.0.0-dev.24 03:03:35 - 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 03:03:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:03:35 03:03:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:03:35 arm64: Pulling from edgex-lftools-log-publisher 03:03:35 8998bd30e6a1: Pulling fs layer 03:03:35 04944245beec: Pulling fs layer 03:03:35 699f458cf7ca: Pulling fs layer 03:03:35 765212b225bb: Pulling fs layer 03:03:35 f23df028b6ca: Pulling fs layer 03:03:35 d65c8cfc05b1: Pulling fs layer 03:03:35 2437ff75d9bd: Pulling fs layer 03:03:35 f23df028b6ca: Waiting 03:03:35 d65c8cfc05b1: Waiting 03:03:35 2437ff75d9bd: Waiting 03:03:35 765212b225bb: Waiting 03:03:36 04944245beec: Verifying Checksum 03:03:36 04944245beec: Download complete 03:03:36 765212b225bb: Verifying Checksum 03:03:36 765212b225bb: Download complete 03:03:36 f23df028b6ca: Verifying Checksum 03:03:36 f23df028b6ca: Download complete 03:03:36 d65c8cfc05b1: Verifying Checksum 03:03:36 d65c8cfc05b1: Download complete 03:03:36 699f458cf7ca: Verifying Checksum 03:03:36 699f458cf7ca: Download complete 03:03:36 8998bd30e6a1: Download complete 03:03:38 2437ff75d9bd: Verifying Checksum 03:03:38 2437ff75d9bd: Download complete 03:03:40 8998bd30e6a1: Pull complete 03:03:40 04944245beec: Pull complete 03:03:42 699f458cf7ca: Pull complete 03:03:42 765212b225bb: Pull complete 03:03:43 f23df028b6ca: Pull complete 03:03:43 d65c8cfc05b1: Pull complete 03:03:55 2437ff75d9bd: Pull complete 03:03:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:03:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:03:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:55 prd-ubuntu20.04-docker-arm64-4c-16g-7070 does not seem to be running inside a container 03:03:55 $ 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/96 -v /w/workspace/device-usb-camera/96:/w/workspace/device-usb-camera/96:rw,z -v /w/workspace/device-usb-camera/96@tmp:/w/workspace/device-usb-camera/96@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 03:03:58 $ docker top 791eba1063fb8c6ca8e8173a520523ff8a0b1bdca78e1520c14c40c4495831d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:58 ---> job-cost.sh 03:03:58 lf-activate-venv: SKIPPING 03:03:58 INFO: No Stack... 03:03:59 INFO: Retrieving Pricing Info for: v3-standard-4 03:03:59 INFO: Archiving Costs [Pipeline] sh 03:04:00 + cat /w/workspace/device-usb-camera/96/archives/cost.csv 03:04:00 + cut -d, -f6 [Pipeline] lock 03:04:00 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] 03:04:00 Resource [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] did not exist. Created. 03:04:00 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:04:00 /w/workspace/device-usb-camera/96@tmp/durable-d6120475/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:04:01 + echo total: 0.10999999940395355 [Pipeline] stash 03:04:01 Warning: overwriting stash ‘stack-cost’ 03:04:01 Stashed 1 file(s) [Pipeline] } 03:04:01 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 03:04:01 $ docker stop --time=1 791eba1063fb8c6ca8e8173a520523ff8a0b1bdca78e1520c14c40c4495831d4 03:04:04 $ docker rm -f --volumes 791eba1063fb8c6ca8e8173a520523ff8a0b1bdca78e1520c14c40c4495831d4 [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 03:04:04 provisioning config files... 03:04:04 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config10896157515167100602tmp [Pipeline] { [Pipeline] sh 03:04:05 + set +x 03:04:05 + + bash -s -- 03:04:05 curl -s https://codecov.io/bash 03:04:05 03:04:05 _____ _ 03:04:05 / ____| | | 03:04:05 | | ___ __| | ___ ___ _____ __ 03:04:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:04:05 | |___| (_) | (_| | __/ (_| (_) \ V / 03:04:05 \_____\___/ \__,_|\___|\___\___/ \_/ 03:04:05 Bash-1.0.6 03:04:05 03:04:05 03:04:05 ==> git version 2.25.1 found 03:04:05 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:04:05 Release-Date: 2020-01-08 03:04:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:04:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:04:05 ==> Jenkins CI detected. 03:04:05 current dir:  /w/workspace/exfoundry_device-usb-camera_main 03:04:05 project root: . 03:04:05 --> token set from env 03:04:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:04:05 ==> Running gcov in . (disable via -X gcov) 03:04:05 ==> Python coveragepy not found 03:04:05 ==> Searching for coverage reports in: 03:04:05 + . 03:04:05 -> Found 1 reports 03:04:05 ==> Detecting git/mercurial file structure 03:04:05 ==> Reading reports 03:04:05 + ./coverage.out bytes=28352 03:04:05 ==> Appending adjustments 03:04:05 https://docs.codecov.io/docs/fixing-reports 03:04:05 + Found adjustments 03:04:05 ==> Gzipping contents 03:04:05 4.0K /tmp/codecov.kT2yuv.gz 03:04:05 ==> Uploading reports 03:04:05 url: https://codecov.io 03:04:05 query: branch=main&commit=6092c9085675b91a8d413abdbfedf2a2dc879208&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:04:05 -> Pinging Codecov 03:04:05 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=6092c9085675b91a8d413abdbfedf2a2dc879208&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 03:04:05 -> Uploading to 03:04:05 https://storage.googleapis.com/codecov/v4/raw/2023-04-07/73D8F5FF140700D3E01443B452E23636/6092c9085675b91a8d413abdbfedf2a2dc879208/0b753dc6-c77e-4240-8ba0-5ceb632546b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230407T030405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=434e13b0493a52dc6436378bd80467acbf44abdf74d33f2fa42e8ecc39e2fa99 03:04:05 % Total % Received % Xferd Average Speed Time Time Time Current 03:04:05 Dload Upload Total Spent Left Speed 03:04:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3897 0 0 100 3897 0 14650 --:--:-- --:--:-- --:--:-- 14650 03:04:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] } 03:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:04:05 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:04:06 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:06 03:04:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:06 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:04:06 df9b9388f04a: Pulling fs layer 03:04:06 52dc419b0ee2: Pulling fs layer 03:04:06 25bc292e5bac: Pulling fs layer 03:04:06 114826534d7a: Pulling fs layer 03:04:06 4657fd5d0bcf: Pulling fs layer 03:04:06 6ad1cebc031e: Pulling fs layer 03:04:06 8a3aa393b2d8: Pulling fs layer 03:04:06 4657fd5d0bcf: Waiting 03:04:06 6ad1cebc031e: Waiting 03:04:06 8a3aa393b2d8: Waiting 03:04:06 114826534d7a: Waiting 03:04:06 25bc292e5bac: Verifying Checksum 03:04:06 25bc292e5bac: Download complete 03:04:06 52dc419b0ee2: Verifying Checksum 03:04:06 52dc419b0ee2: Download complete 03:04:06 4657fd5d0bcf: Download complete 03:04:06 df9b9388f04a: Download complete 03:04:06 6ad1cebc031e: Verifying Checksum 03:04:06 6ad1cebc031e: Download complete 03:04:06 df9b9388f04a: Pull complete 03:04:06 52dc419b0ee2: Pull complete 03:04:07 25bc292e5bac: Pull complete 03:04:07 114826534d7a: Download complete 03:04:07 8a3aa393b2d8: Download complete 03:04:10 114826534d7a: Pull complete 03:04:10 4657fd5d0bcf: Pull complete 03:04:11 6ad1cebc031e: Pull complete 03:04:13 8a3aa393b2d8: Pull complete 03:04:13 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:04:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:13 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:04:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:04:17 $ docker top bf51174ab7153d17d7b2039d0fa6541e2f1449b5e6e99062c2968314d03745d2 -eo pid,comm [Pipeline] { [Pipeline] echo 03:04:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 03:04:17 + set -o pipefail 03:04:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 03:04:25 03:04:25 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 03:04:25 03:04:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/dc695b93-6ee3-4e3f-96bb-e8a58e6fe35a 03:04:25 03:04:25 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:04:25 03:04:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:04:25 03:04:26 03:04:26 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:04:26 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:04:26 More details here: https://snyk.co/ue1NS 03:04:26 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 03:04:26 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:04:26 $ docker stop --time=1 bf51174ab7153d17d7b2039d0fa6541e2f1449b5e6e99062c2968314d03745d2 03:04:29 $ docker rm -f --volumes bf51174ab7153d17d7b2039d0fa6541e2f1449b5e6e99062c2968314d03745d2 [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 03:04:29 + git log --format=format:%s -1 6092c9085675b91a8d413abdbfedf2a2dc879208 [Pipeline] sh 03:04:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:04:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:04:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:30 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:04:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:04:30 $ docker top e7a83f0bd91d7785e7eeeea55f1d9636e9fe714feaa1994806399b40ac2e14dc -eo pid,comm 03:04:30 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). 03:04:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:31 [ssh-agent] Looking for ssh-agent implementation... 03:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:31 $ docker exec e7a83f0bd91d7785e7eeeea55f1d9636e9fe714feaa1994806399b40ac2e14dc ssh-agent 03:04:31 SSH_AUTH_SOCK=/tmp/ssh-BIH4Qc7XONbW/agent.31 03:04:31 SSH_AGENT_PID=37 03:04:31 Running ssh-add (command line suppressed) 03:04:31 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9734272339016853833.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9734272339016853833.key) 03:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:31 + git semver tag 03:04:31 2023-04-07 03:04:31,817 [run_tag] DEBUG tag force:False 03:04:31 2023-04-07 03:04:31,817 [check_head_tag] DEBUG check head tag 03:04:31 2023-04-07 03:04:31,819 [execute] INFO git cat-file --batch-check 03:04:31 2023-04-07 03:04:31,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 03:04:31 2023-04-07 03:04:31,823 [execute] INFO git cat-file --batch 03:04:31 2023-04-07 03:04:31,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 03:04:31 2023-04-07 03:04:31,850 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:31 2023-04-07 03:04:31,850 [execute] INFO git tag -a v3.0.0-dev.24 -m v3.0.0-dev.24 03:04:31 2023-04-07 03:04:31,850 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.24', '-m', 'v3.0.0-dev.24'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 03:04:31 2023-04-07 03:04:31,854 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:31 3.0.0-dev.24 [Pipeline] } 03:04:31 $ docker exec --env ******** --env ******** e7a83f0bd91d7785e7eeeea55f1d9636e9fe714feaa1994806399b40ac2e14dc ssh-agent -k 03:04:32 unset SSH_AUTH_SOCK; 03:04:32 unset SSH_AGENT_PID; 03:04:32 echo Agent pid 37 killed; 03:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:32 + git semver [Pipeline] } 03:04:32 $ docker stop --time=1 e7a83f0bd91d7785e7eeeea55f1d9636e9fe714feaa1994806399b40ac2e14dc 03:04:33 $ docker rm -f --volumes e7a83f0bd91d7785e7eeeea55f1d9636e9fe714feaa1994806399b40ac2e14dc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:04:34 03:04:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:04:34 0.23.1-centos7: Pulling from edgex-lftools 03:04:34 ab5ef0e58194: Pulling fs layer 03:04:34 9712f1f96733: Pulling fs layer 03:04:34 63f879dbbcfc: Pulling fs layer 03:04:34 0d9ebad4ef96: Pulling fs layer 03:04:34 e9a5061849ea: Pulling fs layer 03:04:34 d747dcd14b5f: Pulling fs layer 03:04:34 0d9ebad4ef96: Waiting 03:04:34 e9a5061849ea: Waiting 03:04:34 2de7ff778b66: Pulling fs layer 03:04:34 9712f1f96733: Verifying Checksum 03:04:34 9712f1f96733: Download complete 03:04:34 63f879dbbcfc: Verifying Checksum 03:04:34 63f879dbbcfc: Download complete 03:04:35 e9a5061849ea: Verifying Checksum 03:04:35 e9a5061849ea: Download complete 03:04:35 d747dcd14b5f: Verifying Checksum 03:04:35 d747dcd14b5f: Download complete 03:04:35 ab5ef0e58194: Verifying Checksum 03:04:35 ab5ef0e58194: Download complete 03:04:35 0d9ebad4ef96: Download complete 03:04:35 2de7ff778b66: Verifying Checksum 03:04:35 2de7ff778b66: Download complete 03:04:37 ab5ef0e58194: Pull complete 03:04:37 9712f1f96733: Pull complete 03:04:38 63f879dbbcfc: Pull complete 03:04:41 0d9ebad4ef96: Pull complete 03:04:41 e9a5061849ea: Pull complete 03:04:41 d747dcd14b5f: Pull complete 03:04:42 2de7ff778b66: Pull complete 03:04:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:04:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:42 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:04:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:04:46 $ docker top be4099206dbd3543ca2245d8a75b32c89ef0c854e5f7b45def5e30d97f7ae959 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:04:46 provisioning config files... 03:04:46 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17869406572514210562tmp 03:04:46 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14324880733165496558tmp 03:04:46 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8901846801371813293tmp [Pipeline] { [Pipeline] echo 03:04:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:04:47 ---> sigul-configuration.sh 03:04:47 gpg: directory `/root/.gnupg' created 03:04:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:04:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:04:47 gpg: keyring `/root/.gnupg/secring.gpg' created 03:04:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:04:47 gpg: CAST5 encrypted data 03:04:47 gpg: encrypted with 1 passphrase 03:04:47 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:04:47 + mkdir /home/jenkins 03:04:47 + mkdir /home/jenkins/sigul [Pipeline] sh 03:04:47 + 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 03:04:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:04:48 ---> sigul-install.sh 03:04:48 Sigul already installed; skipping installation. [Pipeline] sh 03:04:48 + git tag --list 03:04:48 v0.0.0 03:04:48 v0.0.1-dev.1 03:04:48 v0.0.1-dev.10 03:04:48 v0.0.1-dev.11 03:04:48 v0.0.1-dev.12 03:04:48 v0.0.1-dev.13 03:04:48 v0.0.1-dev.14 03:04:48 v0.0.1-dev.15 03:04:48 v0.0.1-dev.16 03:04:48 v0.0.1-dev.2 03:04:48 v0.0.1-dev.3 03:04:48 v0.0.1-dev.4 03:04:48 v0.0.1-dev.5 03:04:48 v0.0.1-dev.6 03:04:48 v0.0.1-dev.7 03:04:48 v0.0.1-dev.8 03:04:48 v0.0.1-dev.9 03:04:48 v2.2.0 03:04:48 v2.2.0-dev.17 03:04:48 v2.2.0-dev.18 03:04:48 v2.2.0-dev.19 03:04:48 v2.2.0-dev.20 03:04:48 v2.2.0-dev.21 03:04:48 v2.2.0-dev.22 03:04:48 v2.2.0-dev.23 03:04:48 v2.2.0-dev.24 03:04:48 v2.2.0-dev.25 03:04:48 v2.2.0-dev.26 03:04:48 v2.2.0-dev.27 03:04:48 v2.3.0 03:04:48 v2.3.0-dev.1 03:04:48 v2.3.0-dev.10 03:04:48 v2.3.0-dev.11 03:04:48 v2.3.0-dev.12 03:04:48 v2.3.0-dev.13 03:04:48 v2.3.0-dev.14 03:04:48 v2.3.0-dev.15 03:04:48 v2.3.0-dev.16 03:04:48 v2.3.0-dev.17 03:04:48 v2.3.0-dev.18 03:04:48 v2.3.0-dev.19 03:04:48 v2.3.0-dev.2 03:04:48 v2.3.0-dev.20 03:04:48 v2.3.0-dev.21 03:04:48 v2.3.0-dev.22 03:04:48 v2.3.0-dev.23 03:04:48 v2.3.0-dev.24 03:04:48 v2.3.0-dev.25 03:04:48 v2.3.0-dev.26 03:04:48 v2.3.0-dev.27 03:04:48 v2.3.0-dev.28 03:04:48 v2.3.0-dev.3 03:04:48 v2.3.0-dev.4 03:04:48 v2.3.0-dev.5 03:04:48 v2.3.0-dev.6 03:04:48 v2.3.0-dev.7 03:04:48 v2.3.0-dev.8 03:04:48 v2.3.0-dev.9 03:04:48 v2.3.1 03:04:48 v2.3.1-dev.4 03:04:48 v2.3.1-dev.5 03:04:48 v2.3.1-dev.6 03:04:48 v3.0.0-dev.1 03:04:48 v3.0.0-dev.10 03:04:48 v3.0.0-dev.11 03:04:48 v3.0.0-dev.12 03:04:48 v3.0.0-dev.13 03:04:48 v3.0.0-dev.14 03:04:48 v3.0.0-dev.15 03:04:48 v3.0.0-dev.16 03:04:48 v3.0.0-dev.17 03:04:48 v3.0.0-dev.18 03:04:48 v3.0.0-dev.19 03:04:48 v3.0.0-dev.2 03:04:48 v3.0.0-dev.20 03:04:48 v3.0.0-dev.21 03:04:48 v3.0.0-dev.22 03:04:48 v3.0.0-dev.23 03:04:48 v3.0.0-dev.24 03:04:48 v3.0.0-dev.3 03:04:48 v3.0.0-dev.4 03:04:48 v3.0.0-dev.5 03:04:48 v3.0.0-dev.6 03:04:48 v3.0.0-dev.7 03:04:48 v3.0.0-dev.8 03:04:48 v3.0.0-dev.9 [Pipeline] sh 03:04:48 + lftools sign git-tag v3.0.0-dev.24 03:04:49 Signing Git tag with Sigul... 03:04:49 Signing v3.0.0-dev.24 [Pipeline] echo 03:04:49 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:04:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:04:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:04:49 $ docker stop --time=1 be4099206dbd3543ca2245d8a75b32c89ef0c854e5f7b45def5e30d97f7ae959 03:04:51 $ docker rm -f --volumes be4099206dbd3543ca2245d8a75b32c89ef0c854e5f7b45def5e30d97f7ae959 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:04:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:04:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:04:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:51 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:04:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:04:52 $ docker top dbbca4210e5702e2fa8320bdad65fea5dcf54cbea8f537544c6e6ada486eae6e -eo pid,comm 03:04: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). 03:04:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:52 [ssh-agent] Looking for ssh-agent implementation... 03:04:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:52 $ docker exec dbbca4210e5702e2fa8320bdad65fea5dcf54cbea8f537544c6e6ada486eae6e ssh-agent 03:04:52 SSH_AUTH_SOCK=/tmp/ssh-ZhIcxAkv9Dl1/agent.31 03:04:52 SSH_AGENT_PID=37 03:04:52 Running ssh-add (command line suppressed) 03:04:52 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11048702164848997994.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11048702164848997994.key) 03:04:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:53 + git semver bump pre 03:04:53 2023-04-07 03:04:53,204 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:53 2023-04-07 03:04:53,204 [bump_version] DEBUG bumping version:3.0.0-dev.24 on axis:pre with prefix:dev 03:04:53 2023-04-07 03:04:53,204 [bump_version] DEBUG bumped version:3.0.0-dev.25 03:04:53 2023-04-07 03:04:53,204 [write_version] DEBUG write version:3.0.0-dev.25 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 03:04:53 2023-04-07 03:04:53,204 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:53 2023-04-07 03:04:53,204 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:53 2023-04-07 03:04:53,206 [execute] INFO git cat-file --batch-check 03:04:53 2023-04-07 03:04:53,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:04:53 2023-04-07 03:04:53,212 [execute] INFO git cat-file --batch 03:04:53 2023-04-07 03:04:53,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:04:53 2023-04-07 03:04:53,217 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:53 3.0.0-dev.25 [Pipeline] } 03:04:53 $ docker exec --env ******** --env ******** dbbca4210e5702e2fa8320bdad65fea5dcf54cbea8f537544c6e6ada486eae6e ssh-agent -k 03:04:53 unset SSH_AUTH_SOCK; 03:04:53 unset SSH_AGENT_PID; 03:04:53 echo Agent pid 37 killed; 03:04:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:53 + git semver [Pipeline] } 03:04:53 $ docker stop --time=1 dbbca4210e5702e2fa8320bdad65fea5dcf54cbea8f537544c6e6ada486eae6e 03:04:55 $ docker rm -f --volumes dbbca4210e5702e2fa8320bdad65fea5dcf54cbea8f537544c6e6ada486eae6e [Pipeline] // withDockerContainer [Pipeline] sh 03:04:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:04:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:04:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:55 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:04:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:04:56 $ docker top 7f030b602e0df9067108d19f2f3c17e21abbeee06363125dacd81ed35d0024e4 -eo pid,comm 03:04:56 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). 03:04:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:04:56 [ssh-agent] Looking for ssh-agent implementation... 03:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:04:56 $ docker exec 7f030b602e0df9067108d19f2f3c17e21abbeee06363125dacd81ed35d0024e4 ssh-agent 03:04:56 SSH_AUTH_SOCK=/tmp/ssh-0UBTxt41j0Dr/agent.32 03:04:56 SSH_AGENT_PID=38 03:04:56 Running ssh-add (command line suppressed) 03:04:56 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4321463720687987111.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4321463720687987111.key) 03:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:04:57 + git semver push 03:04:57 2023-04-07 03:04:57,196 [run_push] DEBUG push 03:04:57 2023-04-07 03:04:57,197 [execute] INFO git cat-file --batch-check 03:04:57 2023-04-07 03:04:57,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 03:04:57 2023-04-07 03:04:57,200 [execute] INFO git rev-list 57c484c78c8612668e9fee4141fc2c4b687c851a -- 03:04:57 2023-04-07 03:04:57,200 [execute] DEBUG Popen(['git', 'rev-list', '57c484c78c8612668e9fee4141fc2c4b687c851a', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:04:57 2023-04-07 03:04:57,207 [execute] INFO git fetch -v origin 03:04:57 2023-04-07 03:04:57,207 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 03:04:57 2023-04-07 03:04:57,683 [run_push] DEBUG no remote changes detected 03:04:57 2023-04-07 03:04:57,683 [execute] INFO git push origin semver 03:04:57 2023-04-07 03:04:57,684 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 03:04:58 2023-04-07 03:04:58,440 [run_push] DEBUG push all version tags 03:04:58 2023-04-07 03:04:58,441 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:04:58 2023-04-07 03:04:58,441 [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) 03:04:59 2023-04-07 03:04:59,168 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 03:04:59 3.0.0-dev.25 [Pipeline] } 03:04:59 $ docker exec --env ******** --env ******** 7f030b602e0df9067108d19f2f3c17e21abbeee06363125dacd81ed35d0024e4 ssh-agent -k 03:04:59 unset SSH_AUTH_SOCK; 03:04:59 unset SSH_AGENT_PID; 03:04:59 echo Agent pid 38 killed; 03:04:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:04:59 + git semver [Pipeline] } 03:05:00 $ docker stop --time=1 7f030b602e0df9067108d19f2f3c17e21abbeee06363125dacd81ed35d0024e4 03:05:01 $ docker rm -f --volumes 7f030b602e0df9067108d19f2f3c17e21abbeee06363125dacd81ed35d0024e4 [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 03:05:01 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 03:05:01 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 03:05:01 total 16 03:05:01 drwxr-xr-x 3 root root 4096 Apr 7 02:52 . 03:05:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:04 .. 03:05:01 drwxr-xr-x 2 root root 4096 Apr 7 02:52 cost 03:05:01 -rw-r--r-- 1 root root 88 Apr 7 02:52 cost.csv 03:05:01 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 03:05:01 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 03:05:01 total 16 03:05:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 02:52 . 03:05:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:04 .. 03:05:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 02:52 cost 03:05:01 -rw-r--r-- 1 jenkins jenkins 88 Apr 7 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:05:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:05:03 ---> package-listing.sh 03:05:03 ++ facter osfamily 03:05:03 ++ tr '[:upper:]' '[:lower:]' 03:05:03 + OS_FAMILY=debian 03:05:03 + workspace=/w/workspace/exfoundry_device-usb-camera_main 03:05:03 + START_PACKAGES=/tmp/packages_start.txt 03:05:03 + END_PACKAGES=/tmp/packages_end.txt 03:05:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:05:03 + PACKAGES=/tmp/packages_start.txt 03:05:03 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 03:05:03 + PACKAGES=/tmp/packages_end.txt 03:05:03 + case "${OS_FAMILY}" in 03:05:03 + dpkg -l 03:05:03 + grep '^ii' 03:05:03 + '[' -f /tmp/packages_start.txt ']' 03:05:03 + '[' -f /tmp/packages_end.txt ']' 03:05:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:05:03 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 03:05:03 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 03:05:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 03:05:03 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 03:05:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:05:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:04 prd-ubuntu20.04-docker-8c-8g-7069 does not seem to be running inside a container 03:05:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:05:04 $ docker top fc61a7ad25349d3ecc7a89294f89155bfe15979ffd325ed7849c64b475d65a51 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:04 + touch /tmp/pre-build-complete [Pipeline] sh 03:05:04 + mkdir -p /var/log/sysstat [Pipeline] sh 03:05:05 + ls /var/log/sa-host 03:05:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:05:05 provisioning config files... 03:05:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15109861235667679267tmp [Pipeline] { [Pipeline] echo 03:05:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:05:05 ---> create-netrc.sh [Pipeline] } 03:05:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:05:05 ---> python-tools-install.sh [Pipeline] echo 03:05:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:05:06 ---> sudo-logs.sh 03:05:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:05:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:05:06 ---> job-cost.sh 03:05:06 lf-activate-venv: SKIPPING 03:05:06 DEBUG: total: 0.2199999988079071 03:05:06 INFO: Retrieving Stack Cost... 03:05:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:05:07 INFO: Archiving Costs [Pipeline] echo 03:05:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:05:07 ---> logs-deploy.sh 03:05:07 lf-activate-venv: SKIPPING 03:05:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/96 03:05:07 INFO: archiving workspace using pattern(s): 03:05:08 Archives upload complete. 03:05:08 INFO: archiving logs to Nexus