Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 403384bec3dd417d230cef4b79faf37d5294ce6a 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-ssh8360912725429701988.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh16456272466332601051.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh11114639121129292875.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh8082152636914187613.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-ssh16249076024703926954.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 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-14823’ is offline ‘prd-ubuntu20.04-docker-8c-8g-14830’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-14824’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-14827’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14833 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 403384bec3dd417d230cef4b79faf37d5294ce6a (main) Commit message: "Merge pull request #243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.88" > 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 403384bec3dd417d230cef4b79faf37d5294ce6a # timeout=10 > git rev-list --no-walk 0cc3ff17016e4b9356b20232157fe6cd112e453b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:06:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:06:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:06:14 ========================================================= 00:06:14 EdgeX Global Pipelines Version Info 00:06:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:06:15 ------------------- 00:06:15 stable info: 00:06:15 ------------------- 00:06:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:06:15 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:06:15 Message: update stable to v1.0.249 00:06:16 ------------------- 00:06:16 experimental info: 00:06:16 ------------------- 00:06:16 Commited By: **** collab-it+edgex@linuxfoundation.org 00:06:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:06:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 403384b [Pipeline] echo 00:06:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:16 provisioning config files... 00:06:16 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9301342815860366214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:17 ---> docker-login.sh 00:06:17 nexus3.edgexfoundry.org:10001 00:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:17 Configure a credential helper to remove this warning. See 00:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:17 00:06:17 Login Succeeded 00:06:17 nexus3.edgexfoundry.org:10002 00:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:17 Configure a credential helper to remove this warning. See 00:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:17 00:06:17 Login Succeeded 00:06:17 nexus3.edgexfoundry.org:10003 00:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:17 Configure a credential helper to remove this warning. See 00:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:17 00:06:17 Login Succeeded 00:06:17 nexus3.edgexfoundry.org:10004 00:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:17 Configure a credential helper to remove this warning. See 00:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:17 00:06:17 Login Succeeded 00:06:17 docker.io 00:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:18 Configure a credential helper to remove this warning. See 00:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:18 00:06:18 Login Succeeded 00:06:18 ---> docker-login.sh ends [Pipeline] } 00:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:06:18 + git rev-list -1 --merges 403384bec3dd417d230cef4b79faf37d5294ce6a~1..403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] echo 00:06:18 -----------> git rev-list -1 --merges 403384bec3dd417d230cef4b79faf37d5294ce6a~1..403384bec3dd417d230cef4b79faf37d5294ce6a 403384bec3dd417d230cef4b79faf37d5294ce6a 00:06:18 403384bec3dd417d230cef4b79faf37d5294ce6a [false] [Pipeline] sh 00:06:18 + git log --format=format:%s -1 403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] echo 00:06:18 ========================================================= 00:06:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:06:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:06:19 + git log --format=format:%s -1 403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] echo 00:06:19 [semverPrep] GIT_COMMIT: 403384bec3dd417d230cef4b79faf37d5294ce6a, Commit Message: Merge pull request #243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.88 [Pipeline] echo 00:06:19 [semverPrep] This is not a build commit. [Pipeline] sh 00:06:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:06:19 + grep -v github /etc/ssh/ssh_known_hosts 00:06:19 + [ -e /tmp/ssh_known_hosts ] 00:06:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:06:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:06:19 + sudo tee -a /etc/ssh/ssh_known_hosts 00:06:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:06:19 00:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:06:20 0.1.4: Pulling from edgex-devops/py-git-semver 00:06:20 b85a868b505f: Pulling fs layer 00:06:20 e2be974225ed: Pulling fs layer 00:06:20 339a4e72a1f5: Pulling fs layer 00:06:20 988bab9f4d93: Pulling fs layer 00:06:20 1469e6f7b9e6: Pulling fs layer 00:06:20 eaf3925da568: Pulling fs layer 00:06:20 bab4dde63d76: Pulling fs layer 00:06:20 bde34c3a00c8: Pulling fs layer 00:06:20 b352a97aabf1: Pulling fs layer 00:06:20 4872d77fe225: Pulling fs layer 00:06:20 5851b861e8e6: Pulling fs layer 00:06:20 988bab9f4d93: Waiting 00:06:20 1469e6f7b9e6: Waiting 00:06:20 eaf3925da568: Waiting 00:06:20 bab4dde63d76: Waiting 00:06:20 bde34c3a00c8: Waiting 00:06:20 b352a97aabf1: Waiting 00:06:20 4872d77fe225: Waiting 00:06:20 5851b861e8e6: Waiting 00:06:20 e2be974225ed: Verifying Checksum 00:06:20 e2be974225ed: Download complete 00:06:20 988bab9f4d93: Download complete 00:06:20 1469e6f7b9e6: Verifying Checksum 00:06:20 1469e6f7b9e6: Download complete 00:06:20 eaf3925da568: Download complete 00:06:20 339a4e72a1f5: Verifying Checksum 00:06:20 339a4e72a1f5: Download complete 00:06:20 b85a868b505f: Verifying Checksum 00:06:20 b85a868b505f: Download complete 00:06:20 bde34c3a00c8: Verifying Checksum 00:06:20 bde34c3a00c8: Download complete 00:06:20 4872d77fe225: Verifying Checksum 00:06:20 4872d77fe225: Download complete 00:06:20 5851b861e8e6: Verifying Checksum 00:06:20 5851b861e8e6: Download complete 00:06:20 b352a97aabf1: Verifying Checksum 00:06:20 b352a97aabf1: Download complete 00:06:21 bab4dde63d76: Verifying Checksum 00:06:21 bab4dde63d76: Download complete 00:06:21 b85a868b505f: Pull complete 00:06:21 e2be974225ed: Pull complete 00:06:22 339a4e72a1f5: Pull complete 00:06:22 988bab9f4d93: Pull complete 00:06:22 1469e6f7b9e6: Pull complete 00:06:22 eaf3925da568: Pull complete 00:06:24 bab4dde63d76: Pull complete 00:06:24 bde34c3a00c8: Pull complete 00:06:24 b352a97aabf1: Pull complete 00:06:24 4872d77fe225: Pull complete 00:06:24 5851b861e8e6: Pull complete 00:06:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:06:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:06:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:25 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:06:25 $ 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 00:06:27 $ docker top 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 -eo pid,comm 00:06:27 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). 00:06:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:06:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:06:27 [ssh-agent] Looking for ssh-agent implementation... 00:06:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:06:28 $ docker exec 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 ssh-agent 00:06:28 SSH_AUTH_SOCK=/tmp/ssh-x0H4SnSSQTwX/agent.34 00:06:28 SSH_AGENT_PID=40 00:06:28 Running ssh-add (command line suppressed) 00:06:28 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11176106369373531723.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_11176106369373531723.key) 00:06:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:06:28 + git tag --points-at HEAD [Pipeline] } 00:06:28 $ docker exec --env ******** --env ******** 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 ssh-agent -k 00:06:28 unset SSH_AUTH_SOCK; 00:06:28 unset SSH_AGENT_PID; 00:06:28 echo Agent pid 40 killed; 00:06:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:06:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:06:28 [ssh-agent] Looking for ssh-agent implementation... 00:06:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:06:28 $ docker exec 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 ssh-agent 00:06:29 SSH_AUTH_SOCK=/tmp/ssh-BVatHi6m1txg/agent.72 00:06:29 SSH_AGENT_PID=78 00:06:29 Running ssh-add (command line suppressed) 00:06:29 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7637231276439747785.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_7637231276439747785.key) 00:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:06:29 + git semver init 00:06:29 2023-05-10 00:06:29,671 [run_init] DEBUG init version:0.0.0 force:False 00:06:29 2023-05-10 00:06:29,672 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 00:06:29 2023-05-10 00:06:29,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 00:06:29 2023-05-10 00:06:29,673 [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) 00:06:30 2023-05-10 00:06:30,364 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 00:06:30 2023-05-10 00:06:30,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 00:06:30 2023-05-10 00:06:30,365 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:06:30 2023-05-10 00:06:30,366 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:06:30 3.0.0-dev.37 [Pipeline] } 00:06:30 $ docker exec --env ******** --env ******** 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 ssh-agent -k 00:06:30 unset SSH_AUTH_SOCK; 00:06:30 unset SSH_AGENT_PID; 00:06:30 echo Agent pid 78 killed; 00:06:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:06:31 + git semver [Pipeline] } 00:06:31 $ docker stop --time=1 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 00:06:32 $ docker rm -f --volumes 02b0182389e4c1dd589076b25ede97f5f62a4ab52b509d9ce9b8c8eaa5b434a3 [Pipeline] // withDockerContainer [Pipeline] sh 00:06:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:06:33 Stashed 1 file(s) [Pipeline] echo 00:06:33 [edgeXSemver]: initialized semver on version 3.0.0-dev.37 [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 00:06:33 provisioning config files... 00:06:33 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config267154497724983596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:33 ---> docker-login.sh 00:06:33 nexus3.edgexfoundry.org:10001 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 nexus3.edgexfoundry.org:10002 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 nexus3.edgexfoundry.org:10003 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 nexus3.edgexfoundry.org:10004 00:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:33 Configure a credential helper to remove this warning. See 00:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:33 00:06:33 Login Succeeded 00:06:33 docker.io 00:06:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:06:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:06:34 Configure a credential helper to remove this warning. See 00:06:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:06:34 00:06:34 Login Succeeded 00:06:34 ---> docker-login.sh ends [Pipeline] } 00:06:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:06:34 ========================================================= 00:06:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:06:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:34 + 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 . 00:06:34 Sending build context to Docker daemon 1.995MB 00:06:34 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:06:34 Step 2/13 : FROM ${BASE} AS builder 00:06:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:06:34 f56be85fc22e: Pulling fs layer 00:06:34 85791d961cd3: Pulling fs layer 00:06:34 d694b5ae8c79: Pulling fs layer 00:06:34 9f32a84ed3da: Pulling fs layer 00:06:34 4d19c01a9841: Pulling fs layer 00:06:34 9f32a84ed3da: Waiting 00:06:34 9325e15d5711: Pulling fs layer 00:06:34 556b6ee489ea: Pulling fs layer 00:06:34 4d19c01a9841: Waiting 00:06:34 9325e15d5711: Waiting 00:06:34 c5a4b2cf53e6: Pulling fs layer 00:06:34 556b6ee489ea: Waiting 00:06:34 c5a4b2cf53e6: Waiting 00:06:34 85791d961cd3: Download complete 00:06:34 9f32a84ed3da: Verifying Checksum 00:06:34 9f32a84ed3da: Download complete 00:06:34 4d19c01a9841: Download complete 00:06:34 f56be85fc22e: Verifying Checksum 00:06:34 f56be85fc22e: Download complete 00:06:34 9325e15d5711: Verifying Checksum 00:06:34 9325e15d5711: Download complete 00:06:34 f56be85fc22e: Pull complete 00:06:35 85791d961cd3: Pull complete 00:06:35 d694b5ae8c79: Download complete 00:06:35 c5a4b2cf53e6: Verifying Checksum 00:06:35 c5a4b2cf53e6: Download complete 00:06:35 556b6ee489ea: Verifying Checksum 00:06:35 556b6ee489ea: Download complete 00:06:39 d694b5ae8c79: Pull complete 00:06:39 9f32a84ed3da: Pull complete 00:06:39 4d19c01a9841: Pull complete 00:06:39 9325e15d5711: Pull complete 00:06:41 556b6ee489ea: Pull complete 00:06:42 c5a4b2cf53e6: Pull complete 00:06:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:06:42 ---> c4be618373d6 00:06:42 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:06:48 Still waiting to schedule task 00:06:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:06:50 ---> Running in a88d10123b01 00:06:50 Removing intermediate container a88d10123b01 00:06:50 ---> dacca62cfc8e 00:06:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:06:50 ---> Running in 7372f1d63956 00:06:50 Removing intermediate container 7372f1d63956 00:06:50 ---> e140a0d050fd 00:06:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:06:50 ---> Running in c2362228fd64 00:06:50 Removing intermediate container c2362228fd64 00:06:50 ---> 0f642b9fe45e 00:06:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:06:50 ---> Running in 348b56d7a3d3 00:06:50 Removing intermediate container 348b56d7a3d3 00:06:50 ---> 29373d0bf340 00:06:50 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:50 ---> Running in 5cc8c2e7a3c8 00:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:06:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:06:50 (1/14) Installing libintl (0.21.1-r1) 00:06:50 (2/14) Installing eudev-libs (3.2.11-r4) 00:06:50 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:06:50 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:06:50 (5/14) Installing v4l-utils (1.22.1-r2) 00:06:50 (6/14) Installing udev-init-scripts (35-r1) 00:06:50 (7/14) Installing libblkid (2.38.1-r1) 00:06:50 (8/14) Installing xz-libs (5.2.9-r0) 00:06:50 (9/14) Installing zstd-libs (1.5.5-r0) 00:06:50 (10/14) Installing kmod-libs (30-r1) 00:06:50 (11/14) Installing eudev (3.2.11-r4) 00:06:50 (12/14) Installing eudev-dev (3.2.11-r4) 00:06:50 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:06:50 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:06:50 Executing busybox-1.35.0-r29.trigger 00:06:50 Executing eudev-3.2.11-r4.trigger 00:06:50 OK: 272 MiB in 67 packages 00:06:51 Removing intermediate container 5cc8c2e7a3c8 00:06:51 ---> 67203eb6c521 00:06:51 Step 8/13 : WORKDIR /device-usb-camera 00:06:51 ---> Running in 86c35734ff44 00:06:51 Removing intermediate container 86c35734ff44 00:06:51 ---> 21b50e909f79 00:06:51 Step 9/13 : COPY go.mod vendor* ./ 00:06:51 ---> 3e578f4a188d 00:06:51 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:51 ---> Running in 80c1a1440a11 00:07:30 Removing intermediate container 80c1a1440a11 00:07:30 ---> 739276643337 00:07:30 Step 11/13 : COPY . . 00:07:30 ---> 3532d99e8b04 00:07:30 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:07:30 ---> Running in 3b9d181a9cfc 00:07:30  % Total % Received % Xferd Average Speed Time Time Time Current 00:07:30 Dload Upload Total Spent Left Speed 00:07:30  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8457 0 --:--:-- --:--:-- --:--:-- 8496 00:07:30 Removing intermediate container 3b9d181a9cfc 00:07:30 ---> 9c17a5d0bbbc 00:07:30 Step 13/13 : RUN ${MAKE} 00:07:30 ---> Running in a10635c79863 00:07:30 noop 00:07:30 Removing intermediate container a10635c79863 00:07:30 ---> d84a2009376c 00:07:30 Successfully built d84a2009376c 00:07:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:30 + docker inspect -f . ci-base-image-x86_64 00:07:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:30 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:07:31 $ 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 00:07:31 $ docker top 2368a56ddd790764314eb16e1c25c80d12fe57f3d0f1d2dcadc69756f3ee20d0 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:31 + go version 00:07:31 go version go1.20.2 linux/amd64 [Pipeline] } 00:07:31 $ docker stop --time=1 2368a56ddd790764314eb16e1c25c80d12fe57f3d0f1d2dcadc69756f3ee20d0 00:07:32 $ docker rm -f --volumes 2368a56ddd790764314eb16e1c25c80d12fe57f3d0f1d2dcadc69756f3ee20d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:07:33 + docker inspect -f . ci-base-image-x86_64 00:07:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:07:33 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:07:33 $ 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 00:07:33 $ docker top 5818af0efbe7de96d5b7bc04927db6415420de6da621b40a0501ec4c774d25ad -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:34 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 00:07:34 + make test 00:07:34 go test ./... -coverprofile=coverage.out ./... 00:07:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:07:50 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:07:50 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.011s coverage: 2.0% of statements 00:07:55 go vet ./... 00:07:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:07:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:07:58 ./bin/test-attribution-txt.sh [Pipeline] echo 00:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:07:58 $ docker stop --time=1 5818af0efbe7de96d5b7bc04927db6415420de6da621b40a0501ec4c774d25ad 00:08:03 $ docker rm -f --volumes 5818af0efbe7de96d5b7bc04927db6415420de6da621b40a0501ec4c774d25ad [Pipeline] // withDockerContainer [Pipeline] sh 00:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:08:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:08:05 + ls -al . 00:08:05 total 192 00:08:05 drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:07 . 00:08:05 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:06 .. 00:08:05 drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:06 .git 00:08:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:06 .github 00:08:05 -rw-rw-r-- 1 jenkins jenkins 414 May 10 00:06 .gitignore 00:08:05 -rw-rw-r-- 1 jenkins jenkins 42 May 10 00:06 .golangci.yml 00:08:05 -rw-rw-r-- 1 jenkins jenkins 77 May 10 00:06 .hadolint.yml 00:08:05 drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:06 .semver 00:08:05 -rw-rw-r-- 1 jenkins jenkins 9665 May 10 00:06 Attribution.txt 00:08:05 -rw-rw-r-- 1 jenkins jenkins 6219 May 10 00:06 CHANGELOG.md 00:08:05 -rw-rw-r-- 1 jenkins jenkins 2328 May 10 00:06 Dockerfile 00:08:05 -rw-rw-r-- 1 jenkins jenkins 678 May 10 00:06 GOVERNANCE.md 00:08:05 -rw-rw-r-- 1 jenkins jenkins 659 May 10 00:06 Jenkinsfile 00:08:05 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 00:06 LICENSE 00:08:05 -rw-rw-r-- 1 jenkins jenkins 2364 May 10 00:06 Makefile 00:08:05 -rw-rw-r-- 1 jenkins jenkins 622 May 10 00:06 OWNERS.md 00:08:05 -rw-rw-r-- 1 jenkins jenkins 5681 May 10 00:06 README.md 00:08:05 -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:06 VERSION 00:08:05 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:06 bin 00:08:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:06 cmd 00:08:05 -rw-r--r-- 1 jenkins jenkins 28693 May 10 00:07 coverage.out 00:08:05 -rwxrwxr-x 1 jenkins jenkins 140 May 10 00:06 docker-entrypoint.sh 00:08:05 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:06 docs 00:08:05 -rw-rw-r-- 1 jenkins jenkins 3443 May 10 00:06 go.mod 00:08:05 -rw-rw-r-- 1 jenkins jenkins 31488 May 10 00:06 go.sum 00:08:05 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:06 internal 00:08:05 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:06 snap 00:08:05 -rw-rw-r-- 1 jenkins jenkins 231 May 10 00:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:05 + 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=403384bec3dd417d230cef4b79faf37d5294ce6a --label arch=amd64 --label version=3.0.0-dev.37 . 00:08:05 Sending build context to Docker daemon 2.024MB 00:08:05 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 00:08:05 Step 2/35 : FROM ${BASE} AS builder 00:08:05 ---> d84a2009376c 00:08:05 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:08:05 ---> Running in 2a7f13d4ff04 00:08:05 Removing intermediate container 2a7f13d4ff04 00:08:05 ---> a3707510f3f7 00:08:05 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:08:05 ---> Running in ed49a7bee2c6 00:08:05 Removing intermediate container ed49a7bee2c6 00:08:05 ---> d728da7bb9e4 00:08:05 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:08:05 ---> Running in bdf36fef75ba 00:08:05 Removing intermediate container bdf36fef75ba 00:08:05 ---> 39157049054f 00:08:05 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:08:05 ---> Running in 6e8a9ab1e160 00:08:05 Removing intermediate container 6e8a9ab1e160 00:08:05 ---> 394be32cb690 00:08:05 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:08:05 ---> Running in 485f7944b3a2 00:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:08:06 OK: 272 MiB in 67 packages 00:08:06 Removing intermediate container 485f7944b3a2 00:08:06 ---> 17813b0e5352 00:08:06 Step 8/35 : WORKDIR /device-usb-camera 00:08:06 ---> Running in 27a069c7336c 00:08:06 Removing intermediate container 27a069c7336c 00:08:06 ---> bc62ac63fad3 00:08:06 Step 9/35 : COPY go.mod vendor* ./ 00:08:06 ---> 0031e9623670 00:08:06 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:08:06 ---> Running in 7f35121a659a 00:08:07 Removing intermediate container 7f35121a659a 00:08:07 ---> 4dcc44e0d92c 00:08:07 Step 11/35 : COPY . . 00:08:08 ---> 714d7aae53f3 00:08:08 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:08:08 ---> Running in 3099f9b9ce31 00:08:08  % Total % Received % Xferd Average Speed Time Time Time Current 00:08:08 Dload Upload Total Spent Left Speed 00:08:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 16142 0 --:--:-- --:--:-- --:--:-- 16090 00:08:08 Removing intermediate container 3099f9b9ce31 00:08:08 ---> 9c2bb529e950 00:08:08 Step 13/35 : RUN ${MAKE} 00:08:08 ---> Running in 84c094649a12 00:08:08 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:08:30 Removing intermediate container 84c094649a12 00:08:30 ---> d29db02e6739 00:08:30 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:08:30 v0.21.6: Pulling from aler9/rtsp-simple-server 00:08:30 4acc49c71d14: Pulling fs layer 00:08:30 4acc49c71d14: Verifying Checksum 00:08:30 4acc49c71d14: Download complete 00:08:30 4acc49c71d14: Pull complete 00:08:30 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:08:30 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:08:30 ---> 01a2bd3e5fff 00:08:30 Step 15/35 : FROM alpine:3.17 00:08:30 3.17: Pulling from library/alpine 00:08:30 f56be85fc22e: Already exists 00:08:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:08:31 Status: Downloaded newer image for alpine:3.17 00:08:31 ---> 9ed4aefc74f6 00:08:31 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:08:31 ---> Running in 13dba6fb24f7 00:08:31 Removing intermediate container 13dba6fb24f7 00:08:31 ---> c9943d72d4d0 00:08:31 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:08:31 ---> Running in dc1aa1128e85 00:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:08:31 (1/86) Installing dumb-init (1.2.5-r2) 00:08:31 (2/86) Installing sdl2 (2.26.5-r0) 00:08:31 (3/86) Installing svt-av1-libs (1.3.0-r0) 00:08:32 (4/86) Installing libxau (1.0.10-r0) 00:08:32 (5/86) Installing libmd (1.0.4-r0) 00:08:32 (6/86) Installing libbsd (0.11.7-r0) 00:08:32 (7/86) Installing libxdmcp (1.1.4-r0) 00:08:32 (8/86) Installing libxcb (1.15-r0) 00:08:32 (9/86) Installing libx11 (1.8.4-r0) 00:08:32 (10/86) Installing aom-libs (3.5.0-r0) 00:08:32 (11/86) Installing alsa-lib (1.2.8-r0) 00:08:32 (12/86) Installing libexpat (2.5.0-r0) 00:08:32 (13/86) Installing brotli-libs (1.0.9-r9) 00:08:32 (14/86) Installing libbz2 (1.0.8-r4) 00:08:32 (15/86) Installing libpng (1.6.38-r0) 00:08:32 (16/86) Installing freetype (2.12.1-r0) 00:08:32 (17/86) Installing fontconfig (2.14.1-r0) 00:08:32 (18/86) Installing fribidi (1.0.12-r0) 00:08:32 (19/86) Installing libffi (3.4.4-r0) 00:08:32 (20/86) Installing libintl (0.21.1-r1) 00:08:32 (21/86) Installing libblkid (2.38.1-r1) 00:08:32 (22/86) Installing libmount (2.38.1-r1) 00:08:32 (23/86) Installing pcre2 (10.42-r0) 00:08:32 (24/86) Installing glib (2.74.6-r0) 00:08:32 (25/86) Installing graphite2 (1.3.14-r2) 00:08:32 (26/86) Installing harfbuzz (5.3.1-r1) 00:08:32 (27/86) Installing libass (0.16.0-r1) 00:08:32 (28/86) Installing libdav1d (1.0.0-r2) 00:08:32 (29/86) Installing hwdata-pci (0.364-r0) 00:08:32 (30/86) Installing libpciaccess (0.17-r0) 00:08:32 (31/86) Installing libdrm (2.4.114-r0) 00:08:32 (32/86) Installing gmp (6.2.1-r2) 00:08:32 (33/86) Installing nettle (3.8.1-r0) 00:08:32 (34/86) Installing p11-kit (0.24.1-r1) 00:08:32 (35/86) Installing libtasn1 (4.19.0-r0) 00:08:32 (36/86) Installing libunistring (1.1-r0) 00:08:32 (37/86) Installing gnutls (3.7.8-r3) 00:08:32 (38/86) Installing ncurses-terminfo-base (6.3_p20221119-r0) 00:08:32 (39/86) Installing ncurses-libs (6.3_p20221119-r0) 00:08:32 (40/86) Installing lame (3.100-r2) 00:08:32 (41/86) Installing opus (1.3.1-r1) 00:08:32 (42/86) Installing libasyncns (0.8-r1) 00:08:32 (43/86) Installing dbus-libs (1.14.4-r0) 00:08:32 (44/86) Installing libltdl (2.4.7-r1) 00:08:32 (45/86) Installing orc (0.4.33-r0) 00:08:32 (46/86) Installing libgcc (12.2.1_git20220924-r4) 00:08:32 (47/86) Installing libogg (1.3.5-r2) 00:08:32 (48/86) Installing libstdc++ (12.2.1_git20220924-r4) 00:08:32 (49/86) Installing flac-libs (1.4.2-r0) 00:08:32 (50/86) Installing libvorbis (1.3.7-r0) 00:08:32 (51/86) Installing libsndfile (1.1.0-r2) 00:08:32 (52/86) Installing libgomp (12.2.1_git20220924-r4) 00:08:32 (53/86) Installing soxr (0.1.3-r3) 00:08:32 (54/86) Installing speexdsp (1.2.1-r0) 00:08:32 (55/86) Installing tdb-libs (1.4.6-r0) 00:08:32 (56/86) Installing libpulse (16.1-r6) 00:08:32 (57/86) Installing cjson (1.7.15-r3) 00:08:32 (58/86) Installing mbedtls (2.28.3-r0) 00:08:33 (59/86) Installing librist (0.2.7-r0) 00:08:33 (60/86) Installing libsrt (1.5.1-r0) 00:08:33 (61/86) Installing libssh (0.10.5-r0) 00:08:33 (62/86) Installing libtheora (1.1.1-r16) 00:08:33 (63/86) Installing libjpeg-turbo (2.1.4-r0) 00:08:33 (64/86) Installing v4l-utils-libs (1.22.1-r2) 00:08:33 (65/86) Installing libxext (1.3.5-r0) 00:08:33 (66/86) Installing libxfixes (6.0.0-r0) 00:08:33 (67/86) Installing wayland-libs-client (1.21.0-r1) 00:08:33 (68/86) Installing libva (2.16.0-r0) 00:08:33 (69/86) Installing libvdpau (1.5-r0) 00:08:33 (70/86) Installing vidstab (1.1.0-r2) 00:08:33 (71/86) Installing libvpx (1.12.0-r1) 00:08:33 (72/86) Installing libwebp (1.2.4-r1) 00:08:33 (73/86) Installing x264-libs (0.164_git20220602-r0) 00:08:33 (74/86) Installing numactl (2.0.16-r1) 00:08:33 (75/86) Installing x265-libs (3.5-r3) 00:08:33 (76/86) Installing xvidcore (1.3.7-r1) 00:08:33 (77/86) Installing libsodium (1.0.18-r2) 00:08:33 (78/86) Installing libzmq (4.3.4-r1) 00:08:33 (79/86) Installing ffmpeg-libs (5.1.3-r0) 00:08:33 (80/86) Installing ffmpeg (5.1.3-r0) 00:08:33 (81/86) Installing udev-init-scripts (35-r1) 00:08:33 (82/86) Installing eudev-libs (3.2.11-r4) 00:08:33 (83/86) Installing xz-libs (5.2.9-r0) 00:08:33 (84/86) Installing zstd-libs (1.5.5-r0) 00:08:33 (85/86) Installing kmod-libs (30-r1) 00:08:33 (86/86) Installing eudev (3.2.11-r4) 00:08:33 Executing busybox-1.35.0-r29.trigger 00:08:33 Executing eudev-3.2.11-r4.trigger 00:08:33 OK: 112 MiB in 101 packages 00:08:36 Removing intermediate container dc1aa1128e85 00:08:36 ---> 55eb5f20305d 00:08:36 Step 18/35 : WORKDIR / 00:08:36 ---> Running in c14247ba10d7 00:08:36 Removing intermediate container c14247ba10d7 00:08:36 ---> c55efe26746d 00:08:36 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:08:36 ---> da3cf9ec6eb5 00:08:36 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:08:36 ---> d4df0573519b 00:08:36 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:08:36 ---> 6222a378a446 00:08:36 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:08:36 ---> f6e6789a5822 00:08:36 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:08:36 ---> 62f5988bcef0 00:08:36 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:08:36 ---> d6d853e52ca4 00:08:36 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:08:37 ---> 779347a59002 00:08:37 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:08:37 ---> Running in 2c8239b7c878 00:08:38 Removing intermediate container 2c8239b7c878 00:08:38 ---> 30055c9c7eec 00:08:38 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:08:38 ---> Running in 13a39353e378 00:08:39 Removing intermediate container 13a39353e378 00:08:39 ---> fef12099ab70 00:08:39 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:08:39 ---> Running in 76b73f29005a 00:08:39 Removing intermediate container 76b73f29005a 00:08:39 ---> 282b6e391f81 00:08:39 Step 29/35 : EXPOSE 59983 00:08:39 ---> Running in 678de92105c2 00:08:39 Removing intermediate container 678de92105c2 00:08:39 ---> 35b44869785f 00:08:39 Step 30/35 : EXPOSE 8554 00:08:39 ---> Running in d1ff549e25f0 00:08:39 Removing intermediate container d1ff549e25f0 00:08:39 ---> 21ea26f44aca 00:08:39 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:08:39 ---> Running in 5637cf1c40e6 00:08:40 Removing intermediate container 5637cf1c40e6 00:08:40 ---> 47266164da25 00:08:40 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:08:40 ---> Running in e4467928109e 00:08:40 Removing intermediate container e4467928109e 00:08:40 ---> d35a2c25de49 00:08:40 Step 33/35 : LABEL arch=amd64 00:08:40 ---> Running in d8629bf77299 00:08:40 Removing intermediate container d8629bf77299 00:08:40 ---> 1e8d1f355e7e 00:08:40 Step 34/35 : LABEL git_sha=403384bec3dd417d230cef4b79faf37d5294ce6a 00:08:40 ---> Running in e15973f2afa6 00:08:40 Removing intermediate container e15973f2afa6 00:08:40 ---> 112d991f6a84 00:08:40 Step 35/35 : LABEL version=3.0.0-dev.37 00:08:40 ---> Running in f09f505e589f 00:08:40 Removing intermediate container f09f505e589f 00:08:40 ---> c3d05ed3e4a8 00:08:40 [Warning] One or more build-args [ARCH] were not consumed 00:08:40 Successfully built c3d05ed3e4a8 00:08:40 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 00:08:40 provisioning config files... 00:08:40 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config9968232493907785344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:40 ---> docker-login.sh 00:08:40 nexus3.edgexfoundry.org:10001 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 nexus3.edgexfoundry.org:10002 00:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:40 Configure a credential helper to remove this warning. See 00:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:40 00:08:40 Login Succeeded 00:08:40 nexus3.edgexfoundry.org:10003 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 nexus3.edgexfoundry.org:10004 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 docker.io 00:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:41 Configure a credential helper to remove this warning. See 00:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:41 00:08:41 Login Succeeded 00:08:41 ---> docker-login.sh ends [Pipeline] } 00:08:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:08:41 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 00:08:41 403384bec3dd417d230cef4b79faf37d5294ce6a 00:08:41 latest 00:08:41 3.0.0-dev.37 00:08:41 403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:08:41 main 00:08:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:41 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:41 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a 00:08:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:08:41 5527c1edff67: Preparing 00:08:41 6aa4eb5ca194: Preparing 00:08:41 e9e8dad6f263: Preparing 00:08:41 3827b5b91e75: Preparing 00:08:41 acc83c6ca332: Preparing 00:08:41 296975c9c3cb: Preparing 00:08:41 3d9892b654c0: Preparing 00:08:41 204d09e66035: Preparing 00:08:41 d26aac1819fa: Preparing 00:08:41 a0fe5dbdfcbf: Preparing 00:08:41 b9d83fa2bf32: Preparing 00:08:41 f1417ff83b31: Preparing 00:08:41 3d9892b654c0: Waiting 00:08:41 204d09e66035: Waiting 00:08:41 d26aac1819fa: Waiting 00:08:41 a0fe5dbdfcbf: Waiting 00:08:41 b9d83fa2bf32: Waiting 00:08:41 f1417ff83b31: Waiting 00:08:41 296975c9c3cb: Waiting 00:08:42 6aa4eb5ca194: Pushed 00:08:42 5527c1edff67: Pushed 00:08:42 e9e8dad6f263: Pushed 00:08:42 acc83c6ca332: Pushed 00:08:42 3d9892b654c0: Pushed 00:08:42 204d09e66035: Pushed 00:08:42 d26aac1819fa: Pushed 00:08:42 296975c9c3cb: Pushed 00:08:42 f1417ff83b31: Layer already exists 00:08:44 3827b5b91e75: Pushed 00:08:44 a0fe5dbdfcbf: Pushed 00:08:51 b9d83fa2bf32: Pushed 00:08:51 403384bec3dd417d230cef4b79faf37d5294ce6a: digest: sha256:0aef8a2a213d46883ef2d8dbbfb425f53aa0ef8a31bd6833ebce1baba4a3cc00 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:52 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:52 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:08:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:08:52 5527c1edff67: Preparing 00:08:52 6aa4eb5ca194: Preparing 00:08:52 e9e8dad6f263: Preparing 00:08:52 3827b5b91e75: Preparing 00:08:52 acc83c6ca332: Preparing 00:08:52 296975c9c3cb: Preparing 00:08:52 3d9892b654c0: Preparing 00:08:52 204d09e66035: Preparing 00:08:52 d26aac1819fa: Preparing 00:08:52 a0fe5dbdfcbf: Preparing 00:08:52 b9d83fa2bf32: Preparing 00:08:52 f1417ff83b31: Preparing 00:08:52 296975c9c3cb: Waiting 00:08:52 3d9892b654c0: Waiting 00:08:52 d26aac1819fa: Waiting 00:08:52 204d09e66035: Waiting 00:08:52 a0fe5dbdfcbf: Waiting 00:08:52 b9d83fa2bf32: Waiting 00:08:52 f1417ff83b31: Waiting 00:08:52 5527c1edff67: Layer already exists 00:08:52 e9e8dad6f263: Layer already exists 00:08:52 acc83c6ca332: Layer already exists 00:08:52 3827b5b91e75: Layer already exists 00:08:52 6aa4eb5ca194: Layer already exists 00:08:52 296975c9c3cb: Layer already exists 00:08:52 d26aac1819fa: Layer already exists 00:08:52 a0fe5dbdfcbf: Layer already exists 00:08:52 204d09e66035: Layer already exists 00:08:52 3d9892b654c0: Layer already exists 00:08:52 f1417ff83b31: Layer already exists 00:08:52 b9d83fa2bf32: Layer already exists 00:08:52 latest: digest: sha256:0aef8a2a213d46883ef2d8dbbfb425f53aa0ef8a31bd6833ebce1baba4a3cc00 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:52 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.37 00:08:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:08:53 5527c1edff67: Preparing 00:08:53 6aa4eb5ca194: Preparing 00:08:53 e9e8dad6f263: Preparing 00:08:53 3827b5b91e75: Preparing 00:08:53 acc83c6ca332: Preparing 00:08:53 296975c9c3cb: Preparing 00:08:53 3d9892b654c0: Preparing 00:08:53 204d09e66035: Preparing 00:08:53 d26aac1819fa: Preparing 00:08:53 a0fe5dbdfcbf: Preparing 00:08:53 b9d83fa2bf32: Preparing 00:08:53 f1417ff83b31: Preparing 00:08:53 a0fe5dbdfcbf: Waiting 00:08:53 d26aac1819fa: Waiting 00:08:53 f1417ff83b31: Waiting 00:08:53 b9d83fa2bf32: Waiting 00:08:53 296975c9c3cb: Waiting 00:08:53 3d9892b654c0: Waiting 00:08:53 204d09e66035: Waiting 00:08:53 5527c1edff67: Layer already exists 00:08:53 acc83c6ca332: Layer already exists 00:08:53 3827b5b91e75: Layer already exists 00:08:53 e9e8dad6f263: Layer already exists 00:08:53 6aa4eb5ca194: Layer already exists 00:08:53 3d9892b654c0: Layer already exists 00:08:53 d26aac1819fa: Layer already exists 00:08:53 296975c9c3cb: Layer already exists 00:08:53 204d09e66035: Layer already exists 00:08:53 a0fe5dbdfcbf: Layer already exists 00:08:53 b9d83fa2bf32: Layer already exists 00:08:53 f1417ff83b31: Layer already exists 00:08:53 3.0.0-dev.37: digest: sha256:0aef8a2a213d46883ef2d8dbbfb425f53aa0ef8a31bd6833ebce1baba4a3cc00 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:53 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:08:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:08:53 5527c1edff67: Preparing 00:08:53 6aa4eb5ca194: Preparing 00:08:53 e9e8dad6f263: Preparing 00:08:53 3827b5b91e75: Preparing 00:08:53 acc83c6ca332: Preparing 00:08:53 296975c9c3cb: Preparing 00:08:53 3d9892b654c0: Preparing 00:08:53 204d09e66035: Preparing 00:08:53 d26aac1819fa: Preparing 00:08:53 a0fe5dbdfcbf: Preparing 00:08:53 b9d83fa2bf32: Preparing 00:08:53 f1417ff83b31: Preparing 00:08:53 3d9892b654c0: Waiting 00:08:53 204d09e66035: Waiting 00:08:53 d26aac1819fa: Waiting 00:08:53 a0fe5dbdfcbf: Waiting 00:08:53 f1417ff83b31: Waiting 00:08:53 296975c9c3cb: Waiting 00:08:53 acc83c6ca332: Layer already exists 00:08:53 6aa4eb5ca194: Layer already exists 00:08:53 3827b5b91e75: Layer already exists 00:08:53 e9e8dad6f263: Layer already exists 00:08:53 5527c1edff67: Layer already exists 00:08:53 d26aac1819fa: Layer already exists 00:08:53 a0fe5dbdfcbf: Layer already exists 00:08:53 204d09e66035: Layer already exists 00:08:53 3d9892b654c0: Layer already exists 00:08:53 296975c9c3cb: Layer already exists 00:08:53 b9d83fa2bf32: Layer already exists 00:08:53 f1417ff83b31: Layer already exists 00:08:53 403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37: digest: sha256:0aef8a2a213d46883ef2d8dbbfb425f53aa0ef8a31bd6833ebce1baba4a3cc00 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:53 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:54 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 00:08:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 00:08:54 5527c1edff67: Preparing 00:08:54 6aa4eb5ca194: Preparing 00:08:54 e9e8dad6f263: Preparing 00:08:54 3827b5b91e75: Preparing 00:08:54 acc83c6ca332: Preparing 00:08:54 296975c9c3cb: Preparing 00:08:54 3d9892b654c0: Preparing 00:08:54 204d09e66035: Preparing 00:08:54 d26aac1819fa: Preparing 00:08:54 a0fe5dbdfcbf: Preparing 00:08:54 b9d83fa2bf32: Preparing 00:08:54 f1417ff83b31: Preparing 00:08:54 b9d83fa2bf32: Waiting 00:08:54 204d09e66035: Waiting 00:08:54 d26aac1819fa: Waiting 00:08:54 a0fe5dbdfcbf: Waiting 00:08:54 296975c9c3cb: Waiting 00:08:54 f1417ff83b31: Waiting 00:08:54 3d9892b654c0: Waiting 00:08:54 6aa4eb5ca194: Layer already exists 00:08:54 acc83c6ca332: Layer already exists 00:08:54 3827b5b91e75: Layer already exists 00:08:54 5527c1edff67: Layer already exists 00:08:54 e9e8dad6f263: Layer already exists 00:08:54 d26aac1819fa: Layer already exists 00:08:54 3d9892b654c0: Layer already exists 00:08:54 296975c9c3cb: Layer already exists 00:08:54 a0fe5dbdfcbf: Layer already exists 00:08:54 204d09e66035: Layer already exists 00:08:54 b9d83fa2bf32: Layer already exists 00:08:54 f1417ff83b31: Layer already exists 00:08:54 main: digest: sha256:0aef8a2a213d46883ef2d8dbbfb425f53aa0ef8a31bd6833ebce1baba4a3cc00 size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:08:54 ===================================================== [Pipeline] echo 00:08:54 taggedImages: 00:08:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a 00:08:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 00:08:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:3.0.0-dev.37 00:08:54 - nexus3.edgexfoundry.org:10004/device-usb-camera:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:08:54 - 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 00:08:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:54 00:08:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:08:55 latest: Pulling from edgex-lftools-log-publisher 00:08:55 5eb5b503b376: Pulling fs layer 00:08:55 5c69ac0246d0: Pulling fs layer 00:08:55 ec43610c2a17: Pulling fs layer 00:08:55 3a2ae6a8a46f: Pulling fs layer 00:08:55 33b1e0a273af: Pulling fs layer 00:08:55 5d3b04190fa2: Pulling fs layer 00:08:55 2f39f015ded8: Pulling fs layer 00:08:55 2f39f015ded8: Waiting 00:08:55 5d3b04190fa2: Waiting 00:08:55 3a2ae6a8a46f: Waiting 00:08:55 33b1e0a273af: Waiting 00:08:55 5c69ac0246d0: Verifying Checksum 00:08:55 5c69ac0246d0: Download complete 00:08:55 3a2ae6a8a46f: Verifying Checksum 00:08:55 3a2ae6a8a46f: Download complete 00:08:55 33b1e0a273af: Verifying Checksum 00:08:55 33b1e0a273af: Download complete 00:08:55 5d3b04190fa2: Verifying Checksum 00:08:55 5d3b04190fa2: Download complete 00:08:55 ec43610c2a17: Verifying Checksum 00:08:55 5eb5b503b376: Verifying Checksum 00:08:55 5eb5b503b376: Download complete 00:08:56 2f39f015ded8: Verifying Checksum 00:08:56 2f39f015ded8: Download complete 00:08:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14837 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 00:08:56 Running in /w/workspace/device-usb-camera/109 [Pipeline] { [Pipeline] checkout 00:08:56 Selected Git installation does not exist. Using Default 00:08:56 The recommended git tool is: NONE 00:08:57 5eb5b503b376: Pull complete 00:08:57 5c69ac0246d0: Pull complete 00:08:57 ec43610c2a17: Pull complete 00:08:57 3a2ae6a8a46f: Pull complete 00:08:57 33b1e0a273af: Pull complete 00:08:57 5d3b04190fa2: Pull complete 00:09:01 2f39f015ded8: Pull complete 00:09:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:09:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:09:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:01 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:09:01 $ 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 00:09:03 using credential edgex-jenkins-ssh 00:09:03 Cloning the remote Git repository 00:09:04 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 00:09:04 > git init /w/workspace/device-usb-camera/109 # timeout=10 00:09:04 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 00:09:04 > git --version # timeout=10 00:09:04 > git --version # 'git version 2.25.1' 00:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 00:09:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:09:06 $ docker top 3ff31066ba2a7c5d6b0f5f2f0cd90f8348f05f8031365ccd21e1530d2fe187e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:06 ---> job-cost.sh 00:09:06 lf-activate-venv: SKIPPING 00:09:06 INFO: No Stack... 00:09:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:09:06 Avoid second fetch 00:09:06 Checking out Revision 403384bec3dd417d230cef4b79faf37d5294ce6a (main) 00:09:05 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 00:09:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:09:06 > git config core.sparsecheckout # timeout=10 00:09:07 INFO: Archiving Costs [Pipeline] sh 00:09:07 + cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv 00:09:07 + cut -d, -f6 [Pipeline] lock 00:09:07 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] 00:09:07 Resource [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] did not exist. Created. 00:09:07 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:07 Commit message: "Merge pull request #243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.88" 00:09:08 00:09:08 GitHub has been notified of this commit’s build result 00:09:08 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:06 > git checkout -f 403384bec3dd417d230cef4b79faf37d5294ce6a # timeout=10 00:09:08 + echo total: 0.2199999988079071 [Pipeline] stash 00:09:08 Stashed 1 file(s) [Pipeline] } 00:09:08 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:08 $ docker stop --time=1 3ff31066ba2a7c5d6b0f5f2f0cd90f8348f05f8031365ccd21e1530d2fe187e3 00:09:11 $ docker rm -f --volumes 3ff31066ba2a7c5d6b0f5f2f0cd90f8348f05f8031365ccd21e1530d2fe187e3 00:09:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:09:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:11 Dload Upload Total Spent Left Speed 00:09:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 00:09:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:09:12 + sudo tee /etc/docker/daemon.new 00:09:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:09:12 { 00:09:12 "registry-mirrors": [ 00:09:12 "https://nexus3.edgexfoundry.org:10001" 00:09:12 ], 00:09:12 "bip": "10.250.0.254/24", 00:09:12 "hosts": [ 00:09:12 "tcp://0.0.0.0:5555", 00:09:12 "unix:///var/run/docker.sock" 00:09:12 ], 00:09:12 "mtu": 1458, 00:09:12 "selinux-enabled": true, 00:09:12 "seccomp-profile": "/etc/docker/seccomp.json" 00:09:12 } [Pipeline] sh 00:09:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:09:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:31 provisioning config files... 00:09:31 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/109@tmp/config13341809339668190199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:32 ---> docker-login.sh 00:09:32 nexus3.edgexfoundry.org:10001 00:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:32 Configure a credential helper to remove this warning. See 00:09:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:32 00:09:32 Login Succeeded 00:09:32 nexus3.edgexfoundry.org:10002 00:09:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:33 Configure a credential helper to remove this warning. See 00:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:33 00:09:33 Login Succeeded 00:09:33 nexus3.edgexfoundry.org:10003 00:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:33 Configure a credential helper to remove this warning. See 00:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:33 00:09:33 Login Succeeded 00:09:33 nexus3.edgexfoundry.org:10004 00:09:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:33 Configure a credential helper to remove this warning. See 00:09:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:33 00:09:33 Login Succeeded 00:09:33 docker.io 00:09:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:34 Configure a credential helper to remove this warning. See 00:09:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:34 00:09:34 Login Succeeded 00:09:34 ---> docker-login.sh ends [Pipeline] } 00:09:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:34 ========================================================= 00:09:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:09:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:35 + 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 . 00:09:35 Sending build context to Docker daemon 1.261MB 00:09:35 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 00:09:35 Step 2/13 : FROM ${BASE} AS builder 00:09:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:09:35 c41833b44d91: Pulling fs layer 00:09:35 ed15518f5707: Pulling fs layer 00:09:35 feae8fd75edb: Pulling fs layer 00:09:35 242c74f7c9fa: Pulling fs layer 00:09:35 3cdef696dda3: Pulling fs layer 00:09:35 2ced38df9373: Pulling fs layer 00:09:35 58f1dce35555: Pulling fs layer 00:09:35 242c74f7c9fa: Waiting 00:09:35 3cdef696dda3: Waiting 00:09:35 2ced38df9373: Waiting 00:09:35 58f1dce35555: Waiting 00:09:35 ed15518f5707: Download complete 00:09:35 242c74f7c9fa: Verifying Checksum 00:09:35 242c74f7c9fa: Download complete 00:09:35 3cdef696dda3: Verifying Checksum 00:09:35 3cdef696dda3: Download complete 00:09:35 c41833b44d91: Verifying Checksum 00:09:35 c41833b44d91: Download complete 00:09:36 c41833b44d91: Pull complete 00:09:37 58f1dce35555: Verifying Checksum 00:09:37 58f1dce35555: Download complete 00:09:37 ed15518f5707: Pull complete 00:09:38 feae8fd75edb: Download complete 00:09:38 2ced38df9373: Verifying Checksum 00:09:38 2ced38df9373: Download complete 00:09:50 feae8fd75edb: Pull complete 00:09:50 242c74f7c9fa: Pull complete 00:09:50 3cdef696dda3: Pull complete 00:09:57 2ced38df9373: Pull complete 00:09:59 58f1dce35555: Pull complete 00:09:59 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:09:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:09:59 ---> fadd8f120f05 00:09:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 00:10:06 ---> Running in 5a05de7d5fae 00:10:06 Removing intermediate container 5a05de7d5fae 00:10:06 ---> 4d15ebc8c86a 00:10:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:10:06 ---> Running in d5a885fe3c6b 00:10:06 Removing intermediate container d5a885fe3c6b 00:10:06 ---> 24e0cc966c06 00:10:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:10:06 ---> Running in 13fb97776407 00:10:06 Removing intermediate container 13fb97776407 00:10:06 ---> 519da1103f87 00:10:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:10:06 ---> Running in 48d3b8f74045 00:10:07 Removing intermediate container 48d3b8f74045 00:10:07 ---> 2166d3a45cf2 00:10:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:07 ---> Running in c20d75fe05b1 00:10:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:10:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:10:10 (1/14) Installing libintl (0.21.1-r1) 00:10:10 (2/14) Installing eudev-libs (3.2.11-r4) 00:10:10 (3/14) Installing libjpeg-turbo (2.1.4-r0) 00:10:10 (4/14) Installing v4l-utils-libs (1.22.1-r2) 00:10:10 (5/14) Installing v4l-utils (1.22.1-r2) 00:10:10 (6/14) Installing udev-init-scripts (35-r1) 00:10:10 (7/14) Installing libblkid (2.38.1-r1) 00:10:10 (8/14) Installing xz-libs (5.2.9-r0) 00:10:10 (9/14) Installing zstd-libs (1.5.5-r0) 00:10:10 (10/14) Installing kmod-libs (30-r1) 00:10:10 (11/14) Installing eudev (3.2.11-r4) 00:10:10 (12/14) Installing eudev-dev (3.2.11-r4) 00:10:10 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) 00:10:10 (14/14) Installing v4l-utils-dev (1.22.1-r2) 00:10:10 Executing busybox-1.35.0-r29.trigger 00:10:10 Executing eudev-3.2.11-r4.trigger 00:10:10 OK: 271 MiB in 67 packages 00:10:12 Removing intermediate container c20d75fe05b1 00:10:12 ---> 1120dd4e3d8d 00:10:12 Step 8/13 : WORKDIR /device-usb-camera 00:10:12 ---> Running in dcfc1a6623b0 00:10:12 Removing intermediate container dcfc1a6623b0 00:10:12 ---> 67f2b78cb282 00:10:12 Step 9/13 : COPY go.mod vendor* ./ 00:10:13 ---> b82e7d839690 00:10:13 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:13 ---> Running in e77d1126cff0 00:11:21 Removing intermediate container e77d1126cff0 00:11:21 ---> 3662e0d4856a 00:11:21 Step 11/13 : COPY . . 00:11:21 ---> e43053755e90 00:11:21 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:11:21 ---> Running in 47bb6b07e770 00:11:21  % Total % Received % Xferd Average Speed Time Time Time Current 00:11:21  Dload Upload Total Spent  Left Speed 00:11:21 0 0 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3423 0 --:--:-- --:--:-- --:--:-- 3436 00:11:21 Removing intermediate container 47bb6b07e770 00:11:21 ---> b3306cfa9dce 00:11:21 Step 13/13 : RUN ${MAKE} 00:11:21 ---> Running in d2c2c1a148e0 00:11:21 noop 00:11:21 Removing intermediate container d2c2c1a148e0 00:11:21 ---> c2c217ada3ea 00:11:21 Successfully built c2c217ada3ea 00:11:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:21 + docker inspect -f . ci-base-image-arm64 00:11:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:21 prd-ubuntu20.04-docker-arm64-4c-16g-14837 does not seem to be running inside a container 00:11:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/109 -v /w/workspace/device-usb-camera/109:/w/workspace/device-usb-camera/109:rw,z -v /w/workspace/device-usb-camera/109@tmp:/w/workspace/device-usb-camera/109@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 00:11:23 $ docker top 5332e222260355b30fb515bf8b03eca5afde96ab6e6017518107508ad2458100 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:23 + go version 00:11:23 go version go1.20.2 linux/arm64 [Pipeline] } 00:11:23 $ docker stop --time=1 5332e222260355b30fb515bf8b03eca5afde96ab6e6017518107508ad2458100 00:11:26 $ docker rm -f --volumes 5332e222260355b30fb515bf8b03eca5afde96ab6e6017518107508ad2458100 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:27 + docker inspect -f . ci-base-image-arm64 00:11:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:11:27 prd-ubuntu20.04-docker-arm64-4c-16g-14837 does not seem to be running inside a container 00:11:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/109 -v /w/workspace/device-usb-camera/109:/w/workspace/device-usb-camera/109:rw,z -v /w/workspace/device-usb-camera/109@tmp:/w/workspace/device-usb-camera/109@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 00:11:28 $ docker top c5b67cea00fed1c2f438d386d689283552c1f3443016226c51f396c2ef313b10 -eo pid,comm [Pipeline] { [Pipeline] sh 00:11:29 + git config --global --add safe.directory /w/workspace/device-usb-camera/109 [Pipeline] fileExists [Pipeline] sh 00:11:30 + make test 00:11:30 go test ./... -coverprofile=coverage.out ./... 00:12:09 ? github.com/edgexfoundry/device-usb-camera [no test files] 00:14:46 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 00:14:46 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.061s coverage: 2.0% of statements 00:14:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:14:46 go vet ./... 00:15:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:15:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:15:19 ./bin/test-attribution-txt.sh [Pipeline] echo 00:15:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:15:19 $ docker stop --time=1 c5b67cea00fed1c2f438d386d689283552c1f3443016226c51f396c2ef313b10 00:15:21 $ docker rm -f --volumes c5b67cea00fed1c2f438d386d689283552c1f3443016226c51f396c2ef313b10 [Pipeline] // withDockerContainer [Pipeline] sh 00:15:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:15:22 Warning: overwriting stash ‘coverage-report’ 00:15:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:15:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:15:23 + ls -al . 00:15:23 total 188 00:15:23 drwxrwxr-x 9 jenkins jenkins 4096 May 10 00:11 . 00:15:23 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:09 .. 00:15:23 drwxrwxr-x 8 jenkins jenkins 4096 May 10 00:09 .git 00:15:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:09 .github 00:15:23 -rw-rw-r-- 1 jenkins jenkins 414 May 10 00:09 .gitignore 00:15:23 -rw-rw-r-- 1 jenkins jenkins 42 May 10 00:09 .golangci.yml 00:15:23 -rw-rw-r-- 1 jenkins jenkins 77 May 10 00:09 .hadolint.yml 00:15:23 -rw-rw-r-- 1 jenkins jenkins 9665 May 10 00:09 Attribution.txt 00:15:23 -rw-rw-r-- 1 jenkins jenkins 6219 May 10 00:09 CHANGELOG.md 00:15:23 -rw-rw-r-- 1 jenkins jenkins 2328 May 10 00:09 Dockerfile 00:15:23 -rw-rw-r-- 1 jenkins jenkins 678 May 10 00:09 GOVERNANCE.md 00:15:23 -rw-rw-r-- 1 jenkins jenkins 659 May 10 00:09 Jenkinsfile 00:15:23 -rw-rw-r-- 1 jenkins jenkins 11348 May 10 00:09 LICENSE 00:15:23 -rw-rw-r-- 1 jenkins jenkins 2364 May 10 00:09 Makefile 00:15:23 -rw-rw-r-- 1 jenkins jenkins 622 May 10 00:09 OWNERS.md 00:15:23 -rw-rw-r-- 1 jenkins jenkins 5681 May 10 00:09 README.md 00:15:23 -rw-rw-r-- 1 jenkins jenkins 12 May 10 00:06 VERSION 00:15:23 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:09 bin 00:15:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:09 cmd 00:15:23 -rw-r--r-- 1 jenkins jenkins 28693 May 10 00:14 coverage.out 00:15:23 -rwxrwxr-x 1 jenkins jenkins 140 May 10 00:09 docker-entrypoint.sh 00:15:23 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:09 docs 00:15:23 -rw-rw-r-- 1 jenkins jenkins 3443 May 10 00:09 go.mod 00:15:23 -rw-rw-r-- 1 jenkins jenkins 31488 May 10 00:09 go.sum 00:15:23 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:09 internal 00:15:23 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:09 snap 00:15:23 -rw-rw-r-- 1 jenkins jenkins 231 May 10 00:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:24 + 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=403384bec3dd417d230cef4b79faf37d5294ce6a --label arch=arm64 --label version=3.0.0-dev.37 . 00:15:24 Sending build context to Docker daemon 1.29MB 00:15:24 Step 1/35 : ARG BASE=golang:1.20-alpine3.17 00:15:24 Step 2/35 : FROM ${BASE} AS builder 00:15:24 ---> c2c217ada3ea 00:15:24 Step 3/35 : ARG ADD_BUILD_TAGS="" 00:15:24 ---> Running in 118eb61a17ba 00:15:24 Removing intermediate container 118eb61a17ba 00:15:24 ---> 0870b5e7608e 00:15:24 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:15:25 ---> Running in 54a4b61f8569 00:15:25 Removing intermediate container 54a4b61f8569 00:15:25 ---> 523f8f1df67f 00:15:25 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" 00:15:25 ---> Running in 93456178216a 00:15:25 Removing intermediate container 93456178216a 00:15:25 ---> eb0558cd915b 00:15:25 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 00:15:26 ---> Running in a546d77c5e7a 00:15:26 Removing intermediate container a546d77c5e7a 00:15:26 ---> 3a0b579c0dda 00:15:26 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:15:26 ---> Running in 98deeffeb5c8 00:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:15:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:15:29 OK: 271 MiB in 67 packages 00:15:30 Removing intermediate container 98deeffeb5c8 00:15:30 ---> aac2376679c0 00:15:30 Step 8/35 : WORKDIR /device-usb-camera 00:15:30 ---> Running in ed0ed68d6525 00:15:30 Removing intermediate container ed0ed68d6525 00:15:30 ---> 6355b80036e1 00:15:30 Step 9/35 : COPY go.mod vendor* ./ 00:15:31 ---> 7454f461722c 00:15:31 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:15:31 ---> Running in a39153f49658 00:15:34 Removing intermediate container a39153f49658 00:15:34 ---> ffcbfe8ec138 00:15:34 Step 11/35 : COPY . . 00:15:35 ---> 92c518e0c5b4 00:15:35 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 00:15:35 ---> Running in 5f77ff43d5e3 00:15:36   % Total % Received % Xferd Average Speed Time Time Time Current 00:15:36    Dload Upload  Total Spent Left Speed 00:15:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100  1062 100 1062 0 0 2733 0 --:--:-- --:--:-- --:--:-- 2744 00:15:37 Removing intermediate container 5f77ff43d5e3 00:15:37 ---> fba73fa1032b 00:15:37 Step 13/35 : RUN ${MAKE} 00:15:37 ---> Running in 7bc86e7a24e0 00:15:39 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-usb-camera.Version=3.0.0-dev.37" -trimpath -mod=readonly -o cmd/device-usb-camera ./cmd 00:18:31 Removing intermediate container 7bc86e7a24e0 00:18:31 ---> 79b50679622f 00:18:31 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 00:18:31 v0.21.6: Pulling from aler9/rtsp-simple-server 00:18:31 8766b47fe142: Pulling fs layer 00:18:31 8766b47fe142: Verifying Checksum 00:18:31 8766b47fe142: Download complete 00:18:31 8766b47fe142: Pull complete 00:18:31 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 00:18:31 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 00:18:31 ---> 69d40e2cb93c 00:18:31 Step 15/35 : FROM alpine:3.17 00:18:31 3.17: Pulling from library/alpine 00:18:31 c41833b44d91: Already exists 00:18:31 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:18:31 Status: Downloaded newer image for alpine:3.17 00:18:31 ---> 51e60588ff2c 00:18:31 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 00:18:31 ---> Running in 7b3923113e7e 00:18:32 Removing intermediate container 7b3923113e7e 00:18:32 ---> 793769a804ca 00:18:32 Step 17/35 : RUN apk add --update --no-cache dumb-init ffmpeg udev 00:18:32 ---> Running in 5cca046af1b7 00:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:18:34 (1/83) Installing dumb-init (1.2.5-r2) 00:18:34 (2/83) Installing sdl2 (2.26.5-r0) 00:18:35 (3/83) Installing libxau (1.0.10-r0) 00:18:35 (4/83) Installing libmd (1.0.4-r0) 00:18:35 (5/83) Installing libbsd (0.11.7-r0) 00:18:35 (6/83) Installing libxdmcp (1.1.4-r0) 00:18:35 (7/83) Installing libxcb (1.15-r0) 00:18:35 (8/83) Installing libx11 (1.8.4-r0) 00:18:35 (9/83) Installing aom-libs (3.5.0-r0) 00:18:35 (10/83) Installing alsa-lib (1.2.8-r0) 00:18:35 (11/83) Installing libexpat (2.5.0-r0) 00:18:35 (12/83) Installing brotli-libs (1.0.9-r9) 00:18:35 (13/83) Installing libbz2 (1.0.8-r4) 00:18:35 (14/83) Installing libpng (1.6.38-r0) 00:18:35 (15/83) Installing freetype (2.12.1-r0) 00:18:35 (16/83) Installing fontconfig (2.14.1-r0) 00:18:35 (17/83) Installing fribidi (1.0.12-r0) 00:18:35 (18/83) Installing libffi (3.4.4-r0) 00:18:35 (19/83) Installing libintl (0.21.1-r1) 00:18:35 (20/83) Installing libblkid (2.38.1-r1) 00:18:35 (21/83) Installing libmount (2.38.1-r1) 00:18:35 (22/83) Installing pcre2 (10.42-r0) 00:18:35 (23/83) Installing glib (2.74.6-r0) 00:18:35 (24/83) Installing graphite2 (1.3.14-r2) 00:18:35 (25/83) Installing harfbuzz (5.3.1-r1) 00:18:35 (26/83) Installing libass (0.16.0-r1) 00:18:35 (27/83) Installing libdav1d (1.0.0-r2) 00:18:35 (28/83) Installing libdrm (2.4.114-r0) 00:18:35 (29/83) Installing gmp (6.2.1-r2) 00:18:35 (30/83) Installing nettle (3.8.1-r0) 00:18:36 (31/83) Installing p11-kit (0.24.1-r1) 00:18:36 (32/83) Installing libtasn1 (4.19.0-r0) 00:18:36 (33/83) Installing libunistring (1.1-r0) 00:18:36 (34/83) Installing gnutls (3.7.8-r3) 00:18:36 (35/83) Installing ncurses-terminfo-base (6.3_p20221119-r0) 00:18:36 (36/83) Installing ncurses-libs (6.3_p20221119-r0) 00:18:36 (37/83) Installing lame (3.100-r2) 00:18:36 (38/83) Installing opus (1.3.1-r1) 00:18:36 (39/83) Installing libasyncns (0.8-r1) 00:18:36 (40/83) Installing dbus-libs (1.14.4-r0) 00:18:36 (41/83) Installing libltdl (2.4.7-r1) 00:18:36 (42/83) Installing orc (0.4.33-r0) 00:18:36 (43/83) Installing libgcc (12.2.1_git20220924-r4) 00:18:36 (44/83) Installing libogg (1.3.5-r2) 00:18:36 (45/83) Installing libstdc++ (12.2.1_git20220924-r4) 00:18:36 (46/83) Installing flac-libs (1.4.2-r0) 00:18:36 (47/83) Installing libvorbis (1.3.7-r0) 00:18:36 (48/83) Installing libsndfile (1.1.0-r2) 00:18:36 (49/83) Installing libgomp (12.2.1_git20220924-r4) 00:18:36 (50/83) Installing soxr (0.1.3-r3) 00:18:36 (51/83) Installing speexdsp (1.2.1-r0) 00:18:36 (52/83) Installing tdb-libs (1.4.6-r0) 00:18:36 (53/83) Installing libpulse (16.1-r6) 00:18:36 (54/83) Installing cjson (1.7.15-r3) 00:18:36 (55/83) Installing mbedtls (2.28.3-r0) 00:18:36 (56/83) Installing librist (0.2.7-r0) 00:18:36 (57/83) Installing libsrt (1.5.1-r0) 00:18:36 (58/83) Installing libssh (0.10.5-r0) 00:18:36 (59/83) Installing libtheora (1.1.1-r16) 00:18:36 (60/83) Installing libjpeg-turbo (2.1.4-r0) 00:18:36 (61/83) Installing v4l-utils-libs (1.22.1-r2) 00:18:36 (62/83) Installing libxext (1.3.5-r0) 00:18:36 (63/83) Installing libxfixes (6.0.0-r0) 00:18:36 (64/83) Installing wayland-libs-client (1.21.0-r1) 00:18:37 (65/83) Installing libva (2.16.0-r0) 00:18:37 (66/83) Installing libvdpau (1.5-r0) 00:18:37 (67/83) Installing vidstab (1.1.0-r2) 00:18:37 (68/83) Installing libvpx (1.12.0-r1) 00:18:37 (69/83) Installing libwebp (1.2.4-r1) 00:18:37 (70/83) Installing x264-libs (0.164_git20220602-r0) 00:18:37 (71/83) Installing numactl (2.0.16-r1) 00:18:37 (72/83) Installing x265-libs (3.5-r3) 00:18:37 (73/83) Installing xvidcore (1.3.7-r1) 00:18:37 (74/83) Installing libsodium (1.0.18-r2) 00:18:37 (75/83) Installing libzmq (4.3.4-r1) 00:18:37 (76/83) Installing ffmpeg-libs (5.1.3-r0) 00:18:37 (77/83) Installing ffmpeg (5.1.3-r0) 00:18:37 (78/83) Installing udev-init-scripts (35-r1) 00:18:37 (79/83) Installing eudev-libs (3.2.11-r4) 00:18:37 (80/83) Installing xz-libs (5.2.9-r0) 00:18:37 (81/83) Installing zstd-libs (1.5.5-r0) 00:18:37 (82/83) Installing kmod-libs (30-r1) 00:18:37 (83/83) Installing eudev (3.2.11-r4) 00:18:37 Executing busybox-1.35.0-r29.trigger 00:18:37 Executing eudev-3.2.11-r4.trigger 00:18:37 OK: 86 MiB in 98 packages 00:18:42 Removing intermediate container 5cca046af1b7 00:18:42 ---> 16b1ccbf2c51 00:18:42 Step 18/35 : WORKDIR / 00:18:42 ---> Running in ede53592778d 00:18:42 Removing intermediate container ede53592778d 00:18:42 ---> af52d606fc7f 00:18:42 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 00:18:43 ---> d299e891d591 00:18:43 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 00:18:43 ---> 49f00cef83da 00:18:43 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 00:18:44 ---> 22a57bbb5aa1 00:18:44 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 00:18:44 ---> 695a38458285 00:18:44 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 00:18:45 ---> 8aefb132e213 00:18:45 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 00:18:45 ---> 5c795e6eeccf 00:18:45 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 00:18:47 ---> 05847bed7fde 00:18:47 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 00:18:47 ---> Running in 5a46f12cb1b7 00:18:48 Removing intermediate container 5a46f12cb1b7 00:18:48 ---> f641cceee84f 00:18:48 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 00:18:48 ---> Running in ae28ef1db5b7 00:18:50 Removing intermediate container ae28ef1db5b7 00:18:50 ---> d9acb6aa3f05 00:18:50 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 00:18:50 ---> Running in 3434184d2ea7 00:18:52 Removing intermediate container 3434184d2ea7 00:18:52 ---> 8f4282119854 00:18:52 Step 29/35 : EXPOSE 59983 00:18:52 ---> Running in 7923fd595b40 00:18:52 Removing intermediate container 7923fd595b40 00:18:52 ---> e9c147f1d233 00:18:52 Step 30/35 : EXPOSE 8554 00:18:52 ---> Running in fc09115b1915 00:18:52 Removing intermediate container fc09115b1915 00:18:52 ---> 0bd058b8ba3d 00:18:52 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 00:18:52 ---> Running in 1acbf6a02db9 00:18:53 Removing intermediate container 1acbf6a02db9 00:18:53 ---> e6700cf5b492 00:18:53 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry" ] 00:18:53 ---> Running in 5086b7c86ab1 00:18:53 Removing intermediate container 5086b7c86ab1 00:18:53 ---> aec6e9f336c4 00:18:53 Step 33/35 : LABEL arch=arm64 00:18:53 ---> Running in bbe6c4f5e980 00:18:53 Removing intermediate container bbe6c4f5e980 00:18:53 ---> d97eb5b44cd6 00:18:53 Step 34/35 : LABEL git_sha=403384bec3dd417d230cef4b79faf37d5294ce6a 00:18:53 ---> Running in 213d8044c3e3 00:18:54 Removing intermediate container 213d8044c3e3 00:18:54 ---> 22aec3c4febb 00:18:54 Step 35/35 : LABEL version=3.0.0-dev.37 00:18:54 ---> Running in b4da0dd0ec48 00:18:54 Removing intermediate container b4da0dd0ec48 00:18:54 ---> 5065d7d14b60 00:18:54 [Warning] One or more build-args [ARCH] were not consumed 00:18:54 Successfully built 5065d7d14b60 00:18:54 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 00:18:54 provisioning config files... 00:18:54 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/109@tmp/config8902482420705035277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:55 ---> docker-login.sh 00:18:55 nexus3.edgexfoundry.org:10001 00:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:55 Configure a credential helper to remove this warning. See 00:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:55 00:18:55 Login Succeeded 00:18:55 nexus3.edgexfoundry.org:10002 00:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:55 Configure a credential helper to remove this warning. See 00:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:55 00:18:55 Login Succeeded 00:18:55 nexus3.edgexfoundry.org:10003 00:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:56 Configure a credential helper to remove this warning. See 00:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:56 00:18:56 Login Succeeded 00:18:56 nexus3.edgexfoundry.org:10004 00:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:56 Configure a credential helper to remove this warning. See 00:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:56 00:18:56 Login Succeeded 00:18:56 docker.io 00:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:18:57 Configure a credential helper to remove this warning. See 00:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:18:57 00:18:57 Login Succeeded 00:18:57 ---> docker-login.sh ends [Pipeline] } 00:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:18:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:18:57 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 00:18:57 403384bec3dd417d230cef4b79faf37d5294ce6a 00:18:57 latest 00:18:57 3.0.0-dev.37 00:18:57 403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:18:57 main 00:18:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:57 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:58 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a 00:18:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:18:58 c8b787bb97df: Preparing 00:18:58 919a7ae5dce1: Preparing 00:18:58 b18990712702: Preparing 00:18:58 608d194cb50c: Preparing 00:18:58 acc83c6ca332: Preparing 00:18:58 d8060a58b0f6: Preparing 00:18:58 063eba2661e2: Preparing 00:18:58 26757d099e1b: Preparing 00:18:58 723ceae18b06: Preparing 00:18:58 f3cb13aa29f5: Preparing 00:18:58 a138fd057bc8: Preparing 00:18:58 26cbea5cba74: Preparing 00:18:58 723ceae18b06: Waiting 00:18:58 d8060a58b0f6: Waiting 00:18:58 063eba2661e2: Waiting 00:18:58 26757d099e1b: Waiting 00:18:58 f3cb13aa29f5: Waiting 00:18:58 26cbea5cba74: Waiting 00:18:58 a138fd057bc8: Waiting 00:18:58 c8b787bb97df: Pushed 00:18:58 b18990712702: Pushed 00:18:58 acc83c6ca332: Pushed 00:18:58 919a7ae5dce1: Pushed 00:18:58 d8060a58b0f6: Pushed 00:18:58 723ceae18b06: Pushed 00:18:58 26757d099e1b: Pushed 00:18:58 063eba2661e2: Pushed 00:18:58 26cbea5cba74: Layer already exists 00:19:03 608d194cb50c: Pushed 00:19:04 f3cb13aa29f5: Pushed 00:19:16 a138fd057bc8: Pushed 00:19:16 403384bec3dd417d230cef4b79faf37d5294ce6a: digest: sha256:e46a72caceb1daf90b683ff07c8fd7eaae180ad57a4a7f64894006a58a3c7f9b size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:16 + 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 00:19:17 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:19:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:19:17 c8b787bb97df: Preparing 00:19:17 919a7ae5dce1: Preparing 00:19:17 b18990712702: Preparing 00:19:17 608d194cb50c: Preparing 00:19:17 acc83c6ca332: Preparing 00:19:17 d8060a58b0f6: Preparing 00:19:17 063eba2661e2: Preparing 00:19:17 26757d099e1b: Preparing 00:19:17 723ceae18b06: Preparing 00:19:17 f3cb13aa29f5: Preparing 00:19:17 a138fd057bc8: Preparing 00:19:17 26cbea5cba74: Preparing 00:19:17 d8060a58b0f6: Waiting 00:19:17 723ceae18b06: Waiting 00:19:17 f3cb13aa29f5: Waiting 00:19:17 a138fd057bc8: Waiting 00:19:17 26cbea5cba74: Waiting 00:19:17 063eba2661e2: Waiting 00:19:17 26757d099e1b: Waiting 00:19:17 acc83c6ca332: Layer already exists 00:19:17 c8b787bb97df: Layer already exists 00:19:17 919a7ae5dce1: Layer already exists 00:19:17 b18990712702: Layer already exists 00:19:17 608d194cb50c: Layer already exists 00:19:17 d8060a58b0f6: Layer already exists 00:19:17 723ceae18b06: Layer already exists 00:19:17 26757d099e1b: Layer already exists 00:19:17 063eba2661e2: Layer already exists 00:19:17 f3cb13aa29f5: Layer already exists 00:19:17 26cbea5cba74: Layer already exists 00:19:17 a138fd057bc8: Layer already exists 00:19:17 latest: digest: sha256:e46a72caceb1daf90b683ff07c8fd7eaae180ad57a4a7f64894006a58a3c7f9b size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:17 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:18 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.37 00:19:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:19:18 c8b787bb97df: Preparing 00:19:18 919a7ae5dce1: Preparing 00:19:18 b18990712702: Preparing 00:19:18 608d194cb50c: Preparing 00:19:18 acc83c6ca332: Preparing 00:19:18 d8060a58b0f6: Preparing 00:19:18 063eba2661e2: Preparing 00:19:18 26757d099e1b: Preparing 00:19:18 723ceae18b06: Preparing 00:19:18 d8060a58b0f6: Waiting 00:19:18 f3cb13aa29f5: Preparing 00:19:18 063eba2661e2: Waiting 00:19:18 26757d099e1b: Waiting 00:19:18 723ceae18b06: Waiting 00:19:18 f3cb13aa29f5: Waiting 00:19:18 a138fd057bc8: Preparing 00:19:18 26cbea5cba74: Preparing 00:19:18 26cbea5cba74: Waiting 00:19:18 a138fd057bc8: Waiting 00:19:18 b18990712702: Layer already exists 00:19:18 608d194cb50c: Layer already exists 00:19:18 919a7ae5dce1: Layer already exists 00:19:18 c8b787bb97df: Layer already exists 00:19:18 acc83c6ca332: Layer already exists 00:19:18 063eba2661e2: Layer already exists 00:19:18 d8060a58b0f6: Layer already exists 00:19:18 723ceae18b06: Layer already exists 00:19:18 26757d099e1b: Layer already exists 00:19:18 f3cb13aa29f5: Layer already exists 00:19:18 a138fd057bc8: Layer already exists 00:19:18 26cbea5cba74: Layer already exists 00:19:18 3.0.0-dev.37: digest: sha256:e46a72caceb1daf90b683ff07c8fd7eaae180ad57a4a7f64894006a58a3c7f9b size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:18 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:19 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:19:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:19:19 c8b787bb97df: Preparing 00:19:19 919a7ae5dce1: Preparing 00:19:19 b18990712702: Preparing 00:19:19 608d194cb50c: Preparing 00:19:19 acc83c6ca332: Preparing 00:19:19 d8060a58b0f6: Preparing 00:19:19 063eba2661e2: Preparing 00:19:19 26757d099e1b: Preparing 00:19:19 723ceae18b06: Preparing 00:19:19 f3cb13aa29f5: Preparing 00:19:19 a138fd057bc8: Preparing 00:19:19 26cbea5cba74: Preparing 00:19:19 723ceae18b06: Waiting 00:19:19 f3cb13aa29f5: Waiting 00:19:19 d8060a58b0f6: Waiting 00:19:19 a138fd057bc8: Waiting 00:19:19 26cbea5cba74: Waiting 00:19:19 26757d099e1b: Waiting 00:19:19 c8b787bb97df: Layer already exists 00:19:19 b18990712702: Layer already exists 00:19:19 acc83c6ca332: Layer already exists 00:19:19 919a7ae5dce1: Layer already exists 00:19:19 608d194cb50c: Layer already exists 00:19:19 26757d099e1b: Layer already exists 00:19:19 d8060a58b0f6: Layer already exists 00:19:19 723ceae18b06: Layer already exists 00:19:19 f3cb13aa29f5: Layer already exists 00:19:19 063eba2661e2: Layer already exists 00:19:19 a138fd057bc8: Layer already exists 00:19:19 26cbea5cba74: Layer already exists 00:19:19 403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37: digest: sha256:e46a72caceb1daf90b683ff07c8fd7eaae180ad57a4a7f64894006a58a3c7f9b size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:19 + 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 00:19:20 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 00:19:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 00:19:20 c8b787bb97df: Preparing 00:19:20 919a7ae5dce1: Preparing 00:19:20 b18990712702: Preparing 00:19:20 608d194cb50c: Preparing 00:19:20 acc83c6ca332: Preparing 00:19:20 d8060a58b0f6: Preparing 00:19:20 063eba2661e2: Preparing 00:19:20 26757d099e1b: Preparing 00:19:20 723ceae18b06: Preparing 00:19:20 f3cb13aa29f5: Preparing 00:19:20 a138fd057bc8: Preparing 00:19:20 26cbea5cba74: Preparing 00:19:20 723ceae18b06: Waiting 00:19:20 f3cb13aa29f5: Waiting 00:19:20 26cbea5cba74: Waiting 00:19:20 a138fd057bc8: Waiting 00:19:20 d8060a58b0f6: Waiting 00:19:20 063eba2661e2: Waiting 00:19:20 26757d099e1b: Waiting 00:19:20 b18990712702: Layer already exists 00:19:20 919a7ae5dce1: Layer already exists 00:19:20 c8b787bb97df: Layer already exists 00:19:20 608d194cb50c: Layer already exists 00:19:20 acc83c6ca332: Layer already exists 00:19:20 723ceae18b06: Layer already exists 00:19:20 d8060a58b0f6: Layer already exists 00:19:20 26757d099e1b: Layer already exists 00:19:20 063eba2661e2: Layer already exists 00:19:20 f3cb13aa29f5: Layer already exists 00:19:20 26cbea5cba74: Layer already exists 00:19:20 a138fd057bc8: Layer already exists 00:19:20 main: digest: sha256:e46a72caceb1daf90b683ff07c8fd7eaae180ad57a4a7f64894006a58a3c7f9b size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:19:20 ===================================================== [Pipeline] echo 00:19:20 taggedImages: 00:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a 00:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 00:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:3.0.0-dev.37 00:19:20 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:403384bec3dd417d230cef4b79faf37d5294ce6a-3.0.0-dev.37 00:19:20 - 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 00:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:20 00:19:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:21 arm64: Pulling from edgex-lftools-log-publisher 00:19:21 8998bd30e6a1: Pulling fs layer 00:19:21 04944245beec: Pulling fs layer 00:19:21 699f458cf7ca: Pulling fs layer 00:19:21 765212b225bb: Pulling fs layer 00:19:21 f23df028b6ca: Pulling fs layer 00:19:21 d65c8cfc05b1: Pulling fs layer 00:19:21 2437ff75d9bd: Pulling fs layer 00:19:21 765212b225bb: Waiting 00:19:21 f23df028b6ca: Waiting 00:19:21 2437ff75d9bd: Waiting 00:19:21 d65c8cfc05b1: Waiting 00:19:21 04944245beec: Verifying Checksum 00:19:21 04944245beec: Download complete 00:19:21 765212b225bb: Download complete 00:19:21 f23df028b6ca: Verifying Checksum 00:19:21 f23df028b6ca: Download complete 00:19:21 d65c8cfc05b1: Verifying Checksum 00:19:21 d65c8cfc05b1: Download complete 00:19:21 699f458cf7ca: Verifying Checksum 00:19:21 699f458cf7ca: Download complete 00:19:22 8998bd30e6a1: Verifying Checksum 00:19:22 8998bd30e6a1: Download complete 00:19:24 2437ff75d9bd: Verifying Checksum 00:19:24 2437ff75d9bd: Download complete 00:19:26 8998bd30e6a1: Pull complete 00:19:26 04944245beec: Pull complete 00:19:27 699f458cf7ca: Pull complete 00:19:27 765212b225bb: Pull complete 00:19:28 f23df028b6ca: Pull complete 00:19:28 d65c8cfc05b1: Pull complete 00:19:40 2437ff75d9bd: Pull complete 00:19:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:19:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:41 prd-ubuntu20.04-docker-arm64-4c-16g-14837 does not seem to be running inside a container 00:19:41 $ 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/109 -v /w/workspace/device-usb-camera/109:/w/workspace/device-usb-camera/109:rw,z -v /w/workspace/device-usb-camera/109@tmp:/w/workspace/device-usb-camera/109@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 00:19:43 $ docker top cb88fc69ba5a492fb3531d725995855ca155b956dc682b07d7a9c2dedd236b86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:44 ---> job-cost.sh 00:19:44 lf-activate-venv: SKIPPING 00:19:44 INFO: No Stack... 00:19:45 INFO: Retrieving Pricing Info for: v3-standard-4 00:19:45 INFO: Archiving Costs [Pipeline] sh 00:19:46 + cat /w/workspace/device-usb-camera/109/archives/cost.csv 00:19:46 + cut -d, -f6 [Pipeline] lock 00:19:46 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] 00:19:46 Resource [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] did not exist. Created. 00:19:46 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:19:47 /w/workspace/device-usb-camera/109@tmp/durable-473e3765/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:19:47 + echo total: 0.10999999940395355 [Pipeline] stash 00:19:47 Warning: overwriting stash ‘stack-cost’ 00:19:47 Stashed 1 file(s) [Pipeline] } 00:19:47 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-109-stack-cost] [Pipeline] // lock [Pipeline] } 00:19:48 $ docker stop --time=1 cb88fc69ba5a492fb3531d725995855ca155b956dc682b07d7a9c2dedd236b86 00:19:49 $ docker rm -f --volumes cb88fc69ba5a492fb3531d725995855ca155b956dc682b07d7a9c2dedd236b86 [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 00:19:50 provisioning config files... 00:19:50 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18093220444349272419tmp [Pipeline] { [Pipeline] sh 00:19:50 + set +x 00:19:50 + bash -s -- 00:19:50 + curl -s https://codecov.io/bash 00:19:50 00:19:50 _____ _ 00:19:50 / ____| | | 00:19:50 | | ___ __| | ___ ___ _____ __ 00:19:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:50 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:50 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:50 Bash-1.0.6 00:19:50 00:19:50 00:19:50 ==> git version 2.25.1 found 00:19:50 ==> 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 00:19:50 Release-Date: 2020-01-08 00:19:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:19:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:19:50 ==> Jenkins CI detected. 00:19:50 current dir:  /w/workspace/exfoundry_device-usb-camera_main 00:19:50 project root: . 00:19:50 --> token set from env 00:19:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:50 ==> Running gcov in . (disable via -X gcov) 00:19:50 ==> Python coveragepy not found 00:19:50 ==> Searching for coverage reports in: 00:19:50 + . 00:19:50 -> Found 1 reports 00:19:50 ==> Detecting git/mercurial file structure 00:19:50 ==> Reading reports 00:19:50 + ./coverage.out bytes=28693 00:19:50 ==> Appending adjustments 00:19:50 https://docs.codecov.io/docs/fixing-reports 00:19:50 + Found adjustments 00:19:50 ==> Gzipping contents 00:19:50 4.0K /tmp/codecov.kjYA5i.gz 00:19:50 ==> Uploading reports 00:19:50 url: https://codecov.io 00:19:50 query: branch=main&commit=403384bec3dd417d230cef4b79faf37d5294ce6a&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:19:50 -> Pinging Codecov 00:19:50 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=403384bec3dd417d230cef4b79faf37d5294ce6a&build=109&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F109%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 00:19:51 -> Uploading to 00:19:51 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/73D8F5FF140700D3E01443B452E23636/403384bec3dd417d230cef4b79faf37d5294ce6a/7fd5b16e-4c54-4ade-8333-e3ce028567bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T001950Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e74199f77253c67f6a19d29bce10213d28d0c230a0c980e1a596ec107d34178 00:19:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:51 Dload Upload Total Spent Left Speed 00:19:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3929 0 0 100 3929 0 17940 --:--:-- --:--:-- --:--:-- 17940 00:19:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] } 00:19:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:19:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:19:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:51 00:19:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:19:52 df9b9388f04a: Pulling fs layer 00:19:52 52dc419b0ee2: Pulling fs layer 00:19:52 25bc292e5bac: Pulling fs layer 00:19:52 114826534d7a: Pulling fs layer 00:19:52 4657fd5d0bcf: Pulling fs layer 00:19:52 6ad1cebc031e: Pulling fs layer 00:19:52 8a3aa393b2d8: Pulling fs layer 00:19:52 114826534d7a: Waiting 00:19:52 4657fd5d0bcf: Waiting 00:19:52 6ad1cebc031e: Waiting 00:19:52 8a3aa393b2d8: Waiting 00:19:52 25bc292e5bac: Verifying Checksum 00:19:52 25bc292e5bac: Download complete 00:19:52 52dc419b0ee2: Verifying Checksum 00:19:52 52dc419b0ee2: Download complete 00:19:52 4657fd5d0bcf: Verifying Checksum 00:19:52 4657fd5d0bcf: Download complete 00:19:52 df9b9388f04a: Verifying Checksum 00:19:52 df9b9388f04a: Download complete 00:19:52 df9b9388f04a: Pull complete 00:19:52 6ad1cebc031e: Verifying Checksum 00:19:52 6ad1cebc031e: Download complete 00:19:52 52dc419b0ee2: Pull complete 00:19:52 25bc292e5bac: Pull complete 00:19:52 114826534d7a: Verifying Checksum 00:19:52 114826534d7a: Download complete 00:19:53 8a3aa393b2d8: Verifying Checksum 00:19:53 8a3aa393b2d8: Download complete 00:19:56 114826534d7a: Pull complete 00:19:56 4657fd5d0bcf: Pull complete 00:19:57 6ad1cebc031e: Pull complete 00:19:59 8a3aa393b2d8: Pull complete 00:19:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:19:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:19:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:59 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:19:59 $ 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 00:20:01 $ docker top c9f07d49b33d3dc45f1c4038d55bed45702683948c463905e5df0c40bda85216 -eo pid,comm [Pipeline] { [Pipeline] echo 00:20:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 00:20:01 + set -o pipefail 00:20:01 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 00:20:06 00:20:06 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 00:20:06 00:20:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/f68c2027-8a62-4f71-a6a9-f932d50f4a69 00:20:06 00:20:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:20:06 00:20:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:20:06 00:20:06 00:20:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:20:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:20:06 More details here: https://snyk.co/ue1NS 00:20:06 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:20:06 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:20:06 $ docker stop --time=1 c9f07d49b33d3dc45f1c4038d55bed45702683948c463905e5df0c40bda85216 00:20:09 $ docker rm -f --volumes c9f07d49b33d3dc45f1c4038d55bed45702683948c463905e5df0c40bda85216 [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 00:20:10 + git log --format=format:%s -1 403384bec3dd417d230cef4b79faf37d5294ce6a [Pipeline] sh 00:20:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:20:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:10 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:20:10 $ 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 00:20:11 $ docker top 01efc0343a58d526dec5857ad12b478e031067a41753065561dc304d662c751a -eo pid,comm 00:20:11 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). 00:20:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:11 [ssh-agent] Looking for ssh-agent implementation... 00:20:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:11 $ docker exec 01efc0343a58d526dec5857ad12b478e031067a41753065561dc304d662c751a ssh-agent 00:20:11 SSH_AUTH_SOCK=/tmp/ssh-rExVi127IRTF/agent.32 00:20:11 SSH_AGENT_PID=38 00:20:11 Running ssh-add (command line suppressed) 00:20:11 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4704824658986028757.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_4704824658986028757.key) 00:20:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:11 + git semver tag 00:20:12 2023-05-10 00:20:11,921 [run_tag] DEBUG tag force:False 00:20:12 2023-05-10 00:20:11,921 [check_head_tag] DEBUG check head tag 00:20:12 2023-05-10 00:20:11,923 [execute] INFO git cat-file --batch-check 00:20:12 2023-05-10 00:20:11,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:20:12 2023-05-10 00:20:11,927 [execute] INFO git cat-file --batch 00:20:12 2023-05-10 00:20:11,927 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 00:20:12 2023-05-10 00:20:11,957 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:12 2023-05-10 00:20:11,957 [execute] INFO git tag -a v3.0.0-dev.37 -m v3.0.0-dev.37 00:20:12 2023-05-10 00:20:11,957 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.37', '-m', 'v3.0.0-dev.37'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 00:20:12 2023-05-10 00:20:11,960 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:12 3.0.0-dev.37 [Pipeline] } 00:20:12 $ docker exec --env ******** --env ******** 01efc0343a58d526dec5857ad12b478e031067a41753065561dc304d662c751a ssh-agent -k 00:20:12 unset SSH_AUTH_SOCK; 00:20:12 unset SSH_AGENT_PID; 00:20:12 echo Agent pid 38 killed; 00:20:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:12 + git semver [Pipeline] } 00:20:12 $ docker stop --time=1 01efc0343a58d526dec5857ad12b478e031067a41753065561dc304d662c751a 00:20:13 $ docker rm -f --volumes 01efc0343a58d526dec5857ad12b478e031067a41753065561dc304d662c751a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:20:14 00:20:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:20:14 0.23.1-centos7: Pulling from edgex-lftools 00:20:14 ab5ef0e58194: Pulling fs layer 00:20:14 9712f1f96733: Pulling fs layer 00:20:14 63f879dbbcfc: Pulling fs layer 00:20:14 0d9ebad4ef96: Pulling fs layer 00:20:14 e9a5061849ea: Pulling fs layer 00:20:14 d747dcd14b5f: Pulling fs layer 00:20:14 2de7ff778b66: Pulling fs layer 00:20:14 0d9ebad4ef96: Waiting 00:20:14 e9a5061849ea: Waiting 00:20:14 d747dcd14b5f: Waiting 00:20:14 2de7ff778b66: Waiting 00:20:14 9712f1f96733: Download complete 00:20:15 63f879dbbcfc: Verifying Checksum 00:20:15 63f879dbbcfc: Download complete 00:20:15 e9a5061849ea: Download complete 00:20:15 d747dcd14b5f: Verifying Checksum 00:20:15 d747dcd14b5f: Download complete 00:20:15 ab5ef0e58194: Verifying Checksum 00:20:15 ab5ef0e58194: Download complete 00:20:15 0d9ebad4ef96: Verifying Checksum 00:20:15 0d9ebad4ef96: Download complete 00:20:15 2de7ff778b66: Verifying Checksum 00:20:15 2de7ff778b66: Download complete 00:20:18 ab5ef0e58194: Pull complete 00:20:18 9712f1f96733: Pull complete 00:20:18 63f879dbbcfc: Pull complete 00:20:21 0d9ebad4ef96: Pull complete 00:20:21 e9a5061849ea: Pull complete 00:20:21 d747dcd14b5f: Pull complete 00:20:22 2de7ff778b66: Pull complete 00:20:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:20:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:20:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:22 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:20:22 $ 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 00:20:26 $ docker top 3d725f124d69b523f90dcbd506ad4b14f3fcc38a2b814cb2bb12a5083d6b0205 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:20:26 provisioning config files... 00:20:26 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config4169835584481408346tmp 00:20:26 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config18386566688905096981tmp 00:20:26 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12219666607463539364tmp [Pipeline] { [Pipeline] echo 00:20:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:20:27 ---> sigul-configuration.sh 00:20:27 gpg: directory `/root/.gnupg' created 00:20:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:20:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:20:27 gpg: keyring `/root/.gnupg/secring.gpg' created 00:20:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:20:27 gpg: CAST5 encrypted data 00:20:27 gpg: encrypted with 1 passphrase 00:20:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:20:27 + mkdir /home/jenkins 00:20:27 + mkdir /home/jenkins/sigul [Pipeline] sh 00:20:27 + 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 00:20:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:20:27 ---> sigul-install.sh 00:20:27 Sigul already installed; skipping installation. [Pipeline] sh 00:20:28 + git tag --list 00:20:28 v0.0.0 00:20:28 v0.0.1-dev.1 00:20:28 v0.0.1-dev.10 00:20:28 v0.0.1-dev.11 00:20:28 v0.0.1-dev.12 00:20:28 v0.0.1-dev.13 00:20:28 v0.0.1-dev.14 00:20:28 v0.0.1-dev.15 00:20:28 v0.0.1-dev.16 00:20:28 v0.0.1-dev.2 00:20:28 v0.0.1-dev.3 00:20:28 v0.0.1-dev.4 00:20:28 v0.0.1-dev.5 00:20:28 v0.0.1-dev.6 00:20:28 v0.0.1-dev.7 00:20:28 v0.0.1-dev.8 00:20:28 v0.0.1-dev.9 00:20:28 v2.2.0 00:20:28 v2.2.0-dev.17 00:20:28 v2.2.0-dev.18 00:20:28 v2.2.0-dev.19 00:20:28 v2.2.0-dev.20 00:20:28 v2.2.0-dev.21 00:20:28 v2.2.0-dev.22 00:20:28 v2.2.0-dev.23 00:20:28 v2.2.0-dev.24 00:20:28 v2.2.0-dev.25 00:20:28 v2.2.0-dev.26 00:20:28 v2.2.0-dev.27 00:20:28 v2.3.0 00:20:28 v2.3.0-dev.1 00:20:28 v2.3.0-dev.10 00:20:28 v2.3.0-dev.11 00:20:28 v2.3.0-dev.12 00:20:28 v2.3.0-dev.13 00:20:28 v2.3.0-dev.14 00:20:28 v2.3.0-dev.15 00:20:28 v2.3.0-dev.16 00:20:28 v2.3.0-dev.17 00:20:28 v2.3.0-dev.18 00:20:28 v2.3.0-dev.19 00:20:28 v2.3.0-dev.2 00:20:28 v2.3.0-dev.20 00:20:28 v2.3.0-dev.21 00:20:28 v2.3.0-dev.22 00:20:28 v2.3.0-dev.23 00:20:28 v2.3.0-dev.24 00:20:28 v2.3.0-dev.25 00:20:28 v2.3.0-dev.26 00:20:28 v2.3.0-dev.27 00:20:28 v2.3.0-dev.28 00:20:28 v2.3.0-dev.3 00:20:28 v2.3.0-dev.4 00:20:28 v2.3.0-dev.5 00:20:28 v2.3.0-dev.6 00:20:28 v2.3.0-dev.7 00:20:28 v2.3.0-dev.8 00:20:28 v2.3.0-dev.9 00:20:28 v2.3.1 00:20:28 v2.3.1-dev.4 00:20:28 v2.3.1-dev.5 00:20:28 v2.3.1-dev.6 00:20:28 v3.0.0-dev.1 00:20:28 v3.0.0-dev.10 00:20:28 v3.0.0-dev.11 00:20:28 v3.0.0-dev.12 00:20:28 v3.0.0-dev.13 00:20:28 v3.0.0-dev.14 00:20:28 v3.0.0-dev.15 00:20:28 v3.0.0-dev.16 00:20:28 v3.0.0-dev.17 00:20:28 v3.0.0-dev.18 00:20:28 v3.0.0-dev.19 00:20:28 v3.0.0-dev.2 00:20:28 v3.0.0-dev.20 00:20:28 v3.0.0-dev.21 00:20:28 v3.0.0-dev.22 00:20:28 v3.0.0-dev.23 00:20:28 v3.0.0-dev.24 00:20:28 v3.0.0-dev.25 00:20:28 v3.0.0-dev.26 00:20:28 v3.0.0-dev.27 00:20:28 v3.0.0-dev.28 00:20:28 v3.0.0-dev.29 00:20:28 v3.0.0-dev.3 00:20:28 v3.0.0-dev.30 00:20:28 v3.0.0-dev.31 00:20:28 v3.0.0-dev.32 00:20:28 v3.0.0-dev.33 00:20:28 v3.0.0-dev.34 00:20:28 v3.0.0-dev.35 00:20:28 v3.0.0-dev.36 00:20:28 v3.0.0-dev.37 00:20:28 v3.0.0-dev.4 00:20:28 v3.0.0-dev.5 00:20:28 v3.0.0-dev.6 00:20:28 v3.0.0-dev.7 00:20:28 v3.0.0-dev.8 00:20:28 v3.0.0-dev.9 [Pipeline] sh 00:20:28 + lftools sign git-tag v3.0.0-dev.37 00:20:29 Signing Git tag with Sigul... 00:20:29 Signing v3.0.0-dev.37 [Pipeline] echo 00:20:29 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:20:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:20:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:20:29 $ docker stop --time=1 3d725f124d69b523f90dcbd506ad4b14f3fcc38a2b814cb2bb12a5083d6b0205 00:20:31 $ docker rm -f --volumes 3d725f124d69b523f90dcbd506ad4b14f3fcc38a2b814cb2bb12a5083d6b0205 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:20:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:20:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:20:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:32 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:20:32 $ 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 00:20:32 $ docker top 5b1ee2aad240531d60a76585f2eab363007629038c2c316e69c51108faed9386 -eo pid,comm 00:20:32 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). 00:20:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:32 [ssh-agent] Looking for ssh-agent implementation... 00:20:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:32 $ docker exec 5b1ee2aad240531d60a76585f2eab363007629038c2c316e69c51108faed9386 ssh-agent 00:20:32 SSH_AUTH_SOCK=/tmp/ssh-rEWgkNj3JJm5/agent.32 00:20:32 SSH_AGENT_PID=38 00:20:32 Running ssh-add (command line suppressed) 00:20:32 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16239130254335077383.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16239130254335077383.key) 00:20:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:33 + git semver bump pre 00:20:33 2023-05-10 00:20:33,296 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:33 2023-05-10 00:20:33,296 [bump_version] DEBUG bumping version:3.0.0-dev.37 on axis:pre with prefix:dev 00:20:33 2023-05-10 00:20:33,296 [bump_version] DEBUG bumped version:3.0.0-dev.38 00:20:33 2023-05-10 00:20:33,296 [write_version] DEBUG write version:3.0.0-dev.38 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 00:20:33 2023-05-10 00:20:33,296 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:33 2023-05-10 00:20:33,297 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:33 2023-05-10 00:20:33,298 [execute] INFO git cat-file --batch-check 00:20:33 2023-05-10 00:20:33,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:33 2023-05-10 00:20:33,303 [execute] INFO git cat-file --batch 00:20:33 2023-05-10 00:20:33,304 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:33 2023-05-10 00:20:33,309 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:33 3.0.0-dev.38 [Pipeline] } 00:20:33 $ docker exec --env ******** --env ******** 5b1ee2aad240531d60a76585f2eab363007629038c2c316e69c51108faed9386 ssh-agent -k 00:20:33 unset SSH_AUTH_SOCK; 00:20:33 unset SSH_AGENT_PID; 00:20:33 echo Agent pid 38 killed; 00:20:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:33 + git semver [Pipeline] } 00:20:34 $ docker stop --time=1 5b1ee2aad240531d60a76585f2eab363007629038c2c316e69c51108faed9386 00:20:35 $ docker rm -f --volumes 5b1ee2aad240531d60a76585f2eab363007629038c2c316e69c51108faed9386 [Pipeline] // withDockerContainer [Pipeline] sh 00:20:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:20:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:20:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:36 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:20:36 $ docker top be7d92aaca97c4c9197bd47afbfc8db961a66e22f56703fe9f28c16e85ce4949 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:20:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:20:36 [ssh-agent] Looking for ssh-agent implementation... 00:20:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:20:36 $ docker exec be7d92aaca97c4c9197bd47afbfc8db961a66e22f56703fe9f28c16e85ce4949 ssh-agent 00:20:37 SSH_AUTH_SOCK=/tmp/ssh-5PhRopHTO6cO/agent.32 00:20:37 SSH_AGENT_PID=38 00:20:37 Running ssh-add (command line suppressed) 00:20:37 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9320312561379032703.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_9320312561379032703.key) 00:20:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:20:37 + git semver push 00:20:37 2023-05-10 00:20:37,719 [run_push] DEBUG push 00:20:37 2023-05-10 00:20:37,720 [execute] INFO git cat-file --batch-check 00:20:37 2023-05-10 00:20:37,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 00:20:37 2023-05-10 00:20:37,725 [execute] INFO git rev-list 4d8bd6f7bb22813f96189bb065e49b833ad9af58 -- 00:20:37 2023-05-10 00:20:37,725 [execute] DEBUG Popen(['git', 'rev-list', '4d8bd6f7bb22813f96189bb065e49b833ad9af58', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:20:37 2023-05-10 00:20:37,734 [execute] INFO git fetch -v origin 00:20:37 2023-05-10 00:20:37,734 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 00:20:38 2023-05-10 00:20:38,196 [run_push] DEBUG no remote changes detected 00:20:38 2023-05-10 00:20:38,196 [execute] INFO git push origin semver 00:20:38 2023-05-10 00:20:38,196 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 00:20:39 2023-05-10 00:20:38,936 [run_push] DEBUG push all version tags 00:20:39 2023-05-10 00:20:38,936 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:20:39 2023-05-10 00:20:38,937 [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) 00:20:39 2023-05-10 00:20:39,659 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 00:20:39 3.0.0-dev.38 [Pipeline] } 00:20:39 $ docker exec --env ******** --env ******** be7d92aaca97c4c9197bd47afbfc8db961a66e22f56703fe9f28c16e85ce4949 ssh-agent -k 00:20:39 unset SSH_AUTH_SOCK; 00:20:39 unset SSH_AGENT_PID; 00:20:39 echo Agent pid 38 killed; 00:20:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:20:40 + git semver [Pipeline] } 00:20:40 $ docker stop --time=1 be7d92aaca97c4c9197bd47afbfc8db961a66e22f56703fe9f28c16e85ce4949 00:20:41 $ docker rm -f --volumes be7d92aaca97c4c9197bd47afbfc8db961a66e22f56703fe9f28c16e85ce4949 [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 00:20:42 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 00:20:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:20:42 total 16 00:20:42 drwxr-xr-x 3 root root 4096 May 10 00:09 . 00:20:42 drwxrwxr-x 11 jenkins jenkins 4096 May 10 00:20 .. 00:20:42 drwxr-xr-x 2 root root 4096 May 10 00:09 cost 00:20:42 -rw-r--r-- 1 root root 89 May 10 00:09 cost.csv 00:20:42 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 00:20:42 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 00:20:42 total 16 00:20:42 drwxr-xr-x 3 jenkins jenkins 4096 May 10 00:09 . 00:20:42 drwxrwxr-x 11 jenkins jenkins 4096 May 10 00:20 .. 00:20:42 drwxr-xr-x 2 jenkins jenkins 4096 May 10 00:09 cost 00:20:42 -rw-r--r-- 1 jenkins jenkins 89 May 10 00:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:20:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:20:43 ---> package-listing.sh 00:20:43 ++ facter osfamily 00:20:43 ++ tr '[:upper:]' '[:lower:]' 00:20:43 + OS_FAMILY=debian 00:20:43 + workspace=/w/workspace/exfoundry_device-usb-camera_main 00:20:43 + START_PACKAGES=/tmp/packages_start.txt 00:20:43 + END_PACKAGES=/tmp/packages_end.txt 00:20:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:20:43 + PACKAGES=/tmp/packages_start.txt 00:20:43 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:20:43 + PACKAGES=/tmp/packages_end.txt 00:20:43 + case "${OS_FAMILY}" in 00:20:43 + dpkg -l 00:20:43 + grep '^ii' 00:20:43 + '[' -f /tmp/packages_start.txt ']' 00:20:43 + '[' -f /tmp/packages_end.txt ']' 00:20:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:43 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 00:20:43 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 00:20:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 00:20:43 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 00:20:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:20:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:44 prd-ubuntu20.04-docker-8c-8g-14833 does not seem to be running inside a container 00:20:44 $ 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 00:20:44 $ docker top 3b018b67e283bce18095e56b126b3c2cf62368d01b51bb5d41f1f6af45368509 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:45 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:45 + mkdir -p /var/log/sysstat [Pipeline] sh 00:20:45 + ls /var/log/sa-host 00:20:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:45 provisioning config files... 00:20:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config17687986108713645103tmp [Pipeline] { [Pipeline] echo 00:20:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:46 ---> create-netrc.sh [Pipeline] } 00:20:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:20:46 ---> python-tools-install.sh [Pipeline] echo 00:20:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:46 ---> sudo-logs.sh 00:20:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:20:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:47 ---> job-cost.sh 00:20:47 lf-activate-venv: SKIPPING 00:20:47 DEBUG: total: 0.2199999988079071 00:20:47 INFO: Retrieving Stack Cost... 00:20:47 INFO: Retrieving Pricing Info for: v3-standard-8 00:20:48 INFO: Archiving Costs [Pipeline] echo 00:20:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:48 ---> logs-deploy.sh 00:20:48 lf-activate-venv: SKIPPING 00:20:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/109 00:20:48 INFO: archiving workspace using pattern(s): 00:20:49 Archives upload complete. 00:20:49 INFO: archiving logs to Nexus