Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 695cbf35e7563b7af803532131954c37e2b367cb 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-ssh16423245330111892888.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh14196073451068627991.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh142034784939022365.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh9845768412037788430.key Verifying host key using known hosts file > 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-ssh10518098901551963303.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8404’ Running on prd-ubuntu20.04-docker-8c-8g-8407 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 695cbf35e7563b7af803532131954c37e2b367cb (main) Commit message: "Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > 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 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 > git rev-list --no-walk b346198c17a3ebf2419cb456fdaded435ad8b044 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:25:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:25:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:25:02 ========================================================= 20:25:02 EdgeX Global Pipelines Version Info 20:25:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:25:03 ------------------- 20:25:03 stable info: 20:25:03 ------------------- 20:25:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:25:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:25:03 Message: update stable to v1.0.243 20:25:03 ------------------- 20:25:03 experimental info: 20:25:03 ------------------- 20:25:03 Commited By: **** collab-it+edgex@linuxfoundation.org 20:25:03 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 20:25:03 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:25:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 695cbf3 [Pipeline] echo 20:25:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:25:04 provisioning config files... 20:25:04 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8484976300795670911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:04 ---> docker-login.sh 20:25:04 nexus3.edgexfoundry.org:10001 20:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:04 Configure a credential helper to remove this warning. See 20:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:04 20:25:04 Login Succeeded 20:25:04 nexus3.edgexfoundry.org:10002 20:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:05 Configure a credential helper to remove this warning. See 20:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:05 20:25:05 Login Succeeded 20:25:05 nexus3.edgexfoundry.org:10003 20:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:05 Configure a credential helper to remove this warning. See 20:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:05 20:25:05 Login Succeeded 20:25:05 nexus3.edgexfoundry.org:10004 20:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:05 Configure a credential helper to remove this warning. See 20:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:05 20:25:05 Login Succeeded 20:25:05 docker.io 20:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:05 Configure a credential helper to remove this warning. See 20:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:05 20:25:05 Login Succeeded 20:25:05 ---> docker-login.sh ends [Pipeline] } 20:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:25:05 + git rev-list -1 --merges 695cbf35e7563b7af803532131954c37e2b367cb~1..695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] echo 20:25:05 -----------> git rev-list -1 --merges 695cbf35e7563b7af803532131954c37e2b367cb~1..695cbf35e7563b7af803532131954c37e2b367cb 695cbf35e7563b7af803532131954c37e2b367cb 20:25:05 695cbf35e7563b7af803532131954c37e2b367cb [false] [Pipeline] sh 20:25:06 + git log --format=format:%s -1 695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] echo 20:25:06 ========================================================= 20:25:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:25:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:25:06 + git log --format=format:%s -1 695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] echo 20:25:06 [semverPrep] GIT_COMMIT: 695cbf35e7563b7af803532131954c37e2b367cb, Commit Message: Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo 20:25:06 [semverPrep] This is not a build commit. [Pipeline] sh 20:25:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:25:06 + grep -v github /etc/ssh/ssh_known_hosts 20:25:06 + [ -e /tmp/ssh_known_hosts ] 20:25:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:25:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:25:06 + sudo tee -a /etc/ssh/ssh_known_hosts 20:25:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:25:07 20:25:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:25:07 0.1.4: Pulling from edgex-devops/py-git-semver 20:25:07 b85a868b505f: Pulling fs layer 20:25:07 e2be974225ed: Pulling fs layer 20:25:07 339a4e72a1f5: Pulling fs layer 20:25:07 988bab9f4d93: Pulling fs layer 20:25:07 1469e6f7b9e6: Pulling fs layer 20:25:07 eaf3925da568: Pulling fs layer 20:25:07 bab4dde63d76: Pulling fs layer 20:25:07 bde34c3a00c8: Pulling fs layer 20:25:07 b352a97aabf1: Pulling fs layer 20:25:07 4872d77fe225: Pulling fs layer 20:25:07 5851b861e8e6: Pulling fs layer 20:25:07 988bab9f4d93: Waiting 20:25:07 1469e6f7b9e6: Waiting 20:25:07 bde34c3a00c8: Waiting 20:25:07 bab4dde63d76: Waiting 20:25:07 b352a97aabf1: Waiting 20:25:07 5851b861e8e6: Waiting 20:25:07 eaf3925da568: Waiting 20:25:07 e2be974225ed: Verifying Checksum 20:25:07 e2be974225ed: Download complete 20:25:07 988bab9f4d93: Verifying Checksum 20:25:07 988bab9f4d93: Download complete 20:25:07 1469e6f7b9e6: Verifying Checksum 20:25:07 1469e6f7b9e6: Download complete 20:25:07 eaf3925da568: Download complete 20:25:07 339a4e72a1f5: Verifying Checksum 20:25:07 339a4e72a1f5: Download complete 20:25:07 bde34c3a00c8: Verifying Checksum 20:25:07 bde34c3a00c8: Download complete 20:25:07 b352a97aabf1: Download complete 20:25:07 4872d77fe225: Download complete 20:25:07 5851b861e8e6: Download complete 20:25:07 b85a868b505f: Download complete 20:25:08 bab4dde63d76: Verifying Checksum 20:25:08 bab4dde63d76: Download complete 20:25:09 b85a868b505f: Pull complete 20:25:09 e2be974225ed: Pull complete 20:25:09 339a4e72a1f5: Pull complete 20:25:09 988bab9f4d93: Pull complete 20:25:09 1469e6f7b9e6: Pull complete 20:25:09 eaf3925da568: Pull complete 20:25:11 bab4dde63d76: Pull complete 20:25:11 bde34c3a00c8: Pull complete 20:25:11 b352a97aabf1: Pull complete 20:25:11 4872d77fe225: Pull complete 20:25:11 5851b861e8e6: Pull complete 20:25:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:25:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:25:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:25:11 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:25:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:25:13 $ docker top 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 -eo pid,comm 20:25:14 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). 20:25:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:25:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:25:14 [ssh-agent] Looking for ssh-agent implementation... 20:25:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:25:14 $ docker exec 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 ssh-agent 20:25:14 SSH_AUTH_SOCK=/tmp/ssh-MHYjnsBF9RiU/agent.33 20:25:14 SSH_AGENT_PID=39 20:25:14 Running ssh-add (command line suppressed) 20:25:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17228992251325565803.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_17228992251325565803.key) 20:25:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:25:14 + git tag --points-at HEAD [Pipeline] } 20:25:14 $ docker exec --env ******** --env ******** 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 ssh-agent -k 20:25:14 unset SSH_AUTH_SOCK; 20:25:14 unset SSH_AGENT_PID; 20:25:14 echo Agent pid 39 killed; 20:25:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:25:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:25:14 [ssh-agent] Looking for ssh-agent implementation... 20:25:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:25:14 $ docker exec 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 ssh-agent 20:25:15 SSH_AUTH_SOCK=/tmp/ssh-hSDKyuv8PgDz/agent.71 20:25:15 SSH_AGENT_PID=77 20:25:15 Running ssh-add (command line suppressed) 20:25:15 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8661653400960114568.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_8661653400960114568.key) 20:25:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:25:15 + git semver init 20:25:15 2022-10-17 20:25:15,638 [run_init] DEBUG init version:0.0.0 force:False 20:25:15 2022-10-17 20:25:15,639 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-usb-camera_main/.semver 20:25:15 2022-10-17 20:25:15,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/exfoundry_device-usb-camera_main/.semver 20:25:15 2022-10-17 20:25:15,640 [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) 20:25:16 2022-10-17 20:25:16,406 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-usb-camera_main/.git/info/exclude 20:25:16 2022-10-17 20:25:16,407 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:False 20:25:16 2022-10-17 20:25:16,407 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:25:16 2022-10-17 20:25:16,407 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:25:16 2.3.0-dev.17 [Pipeline] } 20:25:16 $ docker exec --env ******** --env ******** 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 ssh-agent -k 20:25:16 unset SSH_AUTH_SOCK; 20:25:16 unset SSH_AGENT_PID; 20:25:16 echo Agent pid 77 killed; 20:25:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:25:17 + git semver [Pipeline] } 20:25:17 $ docker stop --time=1 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 20:25:18 $ docker rm -f 3f97d5f6584c9a64b7e5129da8a6f87f594bc6bedde9619620bbf6a7e5cdd780 [Pipeline] // withDockerContainer [Pipeline] sh 20:25:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:25:19 Stashed 1 file(s) [Pipeline] echo 20:25:19 [edgeXSemver]: initialized semver on version 2.3.0-dev.17 [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 20:25:19 provisioning config files... 20:25:19 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config8735831064223466141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:25:19 ---> docker-login.sh 20:25:19 nexus3.edgexfoundry.org:10001 20:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:19 Configure a credential helper to remove this warning. See 20:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:19 20:25:19 Login Succeeded 20:25:19 nexus3.edgexfoundry.org:10002 20:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:19 Configure a credential helper to remove this warning. See 20:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:19 20:25:19 Login Succeeded 20:25:19 nexus3.edgexfoundry.org:10003 20:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:19 Configure a credential helper to remove this warning. See 20:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:19 20:25:19 Login Succeeded 20:25:19 nexus3.edgexfoundry.org:10004 20:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:19 Configure a credential helper to remove this warning. See 20:25:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:19 20:25:19 Login Succeeded 20:25:19 docker.io 20:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:25:20 Configure a credential helper to remove this warning. See 20:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:25:20 20:25:20 Login Succeeded 20:25:20 ---> docker-login.sh ends [Pipeline] } 20:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:25:20 ========================================================= 20:25:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:25:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:25:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:25:20 Sending build context to Docker daemon 1.508MB 20:25:20 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:25:20 Step 2/14 : FROM ${BASE} AS builder 20:25:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:25:20 213ec9aee27d: Pulling fs layer 20:25:20 4583459ba037: Pulling fs layer 20:25:20 93c1e223e6f2: Pulling fs layer 20:25:20 53926ce57604: Pulling fs layer 20:25:20 21b2b0c7a3f4: Pulling fs layer 20:25:20 30f14e443154: Pulling fs layer 20:25:20 801331c1e519: Pulling fs layer 20:25:20 99cc6dd402b0: Pulling fs layer 20:25:20 7d9ed39f4882: Pulling fs layer 20:25:20 21b2b0c7a3f4: Waiting 20:25:20 30f14e443154: Waiting 20:25:20 801331c1e519: Waiting 20:25:20 99cc6dd402b0: Waiting 20:25:20 7d9ed39f4882: Waiting 20:25:20 53926ce57604: Waiting 20:25:20 93c1e223e6f2: Verifying Checksum 20:25:20 93c1e223e6f2: Download complete 20:25:20 4583459ba037: Verifying Checksum 20:25:20 4583459ba037: Download complete 20:25:20 21b2b0c7a3f4: Verifying Checksum 20:25:20 30f14e443154: Verifying Checksum 20:25:20 30f14e443154: Download complete 20:25:21 213ec9aee27d: Verifying Checksum 20:25:21 213ec9aee27d: Download complete 20:25:21 801331c1e519: Verifying Checksum 20:25:21 801331c1e519: Download complete 20:25:21 213ec9aee27d: Pull complete 20:25:21 4583459ba037: Pull complete 20:25:21 93c1e223e6f2: Pull complete 20:25:21 7d9ed39f4882: Verifying Checksum 20:25:21 7d9ed39f4882: Download complete 20:25:21 99cc6dd402b0: Verifying Checksum 20:25:21 99cc6dd402b0: Download complete 20:25:22 53926ce57604: Verifying Checksum 20:25:22 53926ce57604: Download complete 20:25:26 53926ce57604: Pull complete 20:25:26 21b2b0c7a3f4: Pull complete 20:25:26 30f14e443154: Pull complete 20:25:26 801331c1e519: Pull complete 20:25:28 99cc6dd402b0: Pull complete 20:25:29 7d9ed39f4882: Pull complete 20:25:29 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 20:25:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:25:29 ---> 1dedd983c030 20:25:29 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:25:32 ---> Running in f71c5b0fd8c5 20:25:32 Removing intermediate container f71c5b0fd8c5 20:25:32 ---> 19819cea0562 20:25:32 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:25:32 ---> Running in d87279b2ff8b 20:25:32 Removing intermediate container d87279b2ff8b 20:25:32 ---> b9fac0235bf3 20:25:32 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:25:32 ---> Running in 381c21ee7b43 20:25:32 Removing intermediate container 381c21ee7b43 20:25:32 ---> 6597149b4e62 20:25:32 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:25:32 ---> Running in 8401409581f2 20:25:32 Removing intermediate container 8401409581f2 20:25:32 ---> c2d3b834a04c 20:25:32 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:25:32 ---> Running in ccc3b7f782db 20:25:33 Removing intermediate container ccc3b7f782db 20:25:33 ---> 65d2bcb788cb 20:25:33 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:25:33 ---> Running in f39d9826f9b7 20:25:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:25:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:25:34 Still waiting to schedule task 20:25:34 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8405’ 20:25:34 (1/80) Installing mesa (21.3.8-r2) 20:25:34 (2/80) Installing libxau (1.0.9-r0) 20:25:34 (3/80) Installing libxdmcp (1.1.3-r0) 20:25:34 (4/80) Installing libxcb (1.15-r0) 20:25:34 (5/80) Installing libx11 (1.8-r0) 20:25:34 (6/80) Installing libxext (1.3.4-r0) 20:25:34 (7/80) Installing libxfixes (6.0.0-r0) 20:25:34 (8/80) Installing libxxf86vm (1.1.4-r2) 20:25:35 (9/80) Installing libpciaccess (0.16-r0) 20:25:35 (10/80) Installing libdrm (2.4.110-r0) 20:25:35 (11/80) Installing mesa-glapi (21.3.8-r2) 20:25:35 (12/80) Installing libxshmfence (1.3-r1) 20:25:35 (13/80) Installing mesa-gl (21.3.8-r2) 20:25:35 (14/80) Installing icu-data-full (71.1-r2) 20:25:36 (15/80) Installing libice (1.0.10-r0) 20:25:36 (16/80) Installing libuuid (2.38-r1) 20:25:36 (17/80) Installing libsm (1.2.3-r0) 20:25:36 (18/80) Installing libxt (1.2.1-r0) 20:25:36 (19/80) Installing libxmu (1.1.3-r0) 20:25:36 (20/80) Installing xset (1.2.4-r0) 20:25:36 (21/80) Installing xprop (1.2.5-r0) 20:25:36 (22/80) Installing xdg-utils (1.1.3-r3) 20:25:36 (23/80) Installing dbus-libs (1.14.4-r0) 20:25:36 (24/80) Installing libffi (3.4.2-r1) 20:25:37 (25/80) Installing libintl (0.21-r2) 20:25:37 (26/80) Installing libblkid (2.38-r1) 20:25:37 (27/80) Installing libmount (2.38-r1) 20:25:37 (28/80) Installing pcre (8.45-r2) 20:25:37 (29/80) Installing glib (2.72.1-r0) 20:25:37 (30/80) Installing icu-libs (71.1-r2) 20:25:38 (31/80) Installing libpcre2-16 (10.40-r0) 20:25:38 (32/80) Installing zstd-libs (1.5.2-r1) 20:25:38 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 20:25:38 (34/80) Installing hicolor-icon-theme (0.17-r1) 20:25:39 (35/80) Installing wayland-libs-server (1.20.0-r0) 20:25:39 (36/80) Installing mesa-gbm (21.3.8-r2) 20:25:39 (37/80) Installing wayland-libs-client (1.20.0-r0) 20:25:39 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 20:25:40 (39/80) Installing libxcomposite (0.4.5-r0) 20:25:40 (40/80) Installing libbz2 (1.0.8-r1) 20:25:40 (41/80) Installing libpng (1.6.37-r1) 20:25:40 (42/80) Installing freetype (2.12.1-r0) 20:25:40 (43/80) Installing fontconfig (2.14.0-r0) 20:25:40 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 20:25:40 (45/80) Installing wayland-libs-egl (1.20.0-r0) 20:25:40 (46/80) Installing xkeyboard-config (2.35.1-r0) 20:25:40 (47/80) Installing xz-libs (5.2.5-r1) 20:25:40 (48/80) Installing libxml2 (2.9.14-r2) 20:25:40 (49/80) Installing libxkbcommon (1.4.1-r0) 20:25:40 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 20:25:41 (51/80) Installing mesa-egl (21.3.8-r2) 20:25:41 (52/80) Installing avahi-libs (0.8-r6) 20:25:41 (53/80) Installing nettle (3.7.3-r0) 20:25:41 (54/80) Installing p11-kit (0.24.1-r0) 20:25:41 (55/80) Installing libtasn1 (4.18.0-r0) 20:25:41 (56/80) Installing libunistring (1.0-r0) 20:25:41 (57/80) Installing gnutls (3.7.7-r0) 20:25:42 (58/80) Installing cups-libs (2.4.2-r0) 20:25:42 (59/80) Installing graphite2 (1.3.14-r1) 20:25:42 (60/80) Installing harfbuzz (4.3.0-r0) 20:25:42 (61/80) Installing libevdev (1.12.1-r0) 20:25:42 (62/80) Installing mtdev (1.1.6-r0) 20:25:42 (63/80) Installing eudev-libs (3.2.11-r0) 20:25:42 (64/80) Installing libinput-libs (1.20.1-r0) 20:25:43 (65/80) Installing libjpeg-turbo (2.1.3-r1) 20:25:43 (66/80) Installing xcb-util-wm (0.4.1-r1) 20:25:43 (67/80) Installing xcb-util (0.4.0-r3) 20:25:43 (68/80) Installing xcb-util-image (0.4.0-r1) 20:25:43 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 20:25:43 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 20:25:43 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 20:25:43 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 20:25:44 (73/80) Installing v4l-utils-libs (1.22.1-r1) 20:25:44 (74/80) Installing v4l-utils (1.22.1-r1) 20:25:44 (75/80) Installing udev-init-scripts (35-r0) 20:25:44 Executing udev-init-scripts-35-r0.post-install 20:25:44 (76/80) Installing kmod-libs (29-r2) 20:25:44 (77/80) Installing eudev (3.2.11-r0) 20:25:44 (78/80) Installing eudev-dev (3.2.11-r0) 20:25:45 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:25:45 (80/80) Installing v4l-utils-dev (1.22.1-r1) 20:25:45 Executing busybox-1.35.0-r17.trigger 20:25:45 Executing eudev-3.2.11-r0.trigger 20:25:45 OK: 330 MiB in 131 packages 20:25:49 Removing intermediate container f39d9826f9b7 20:25:49 ---> 09f8f9b4c4f3 20:25:49 Step 9/14 : WORKDIR /device-usb-camera 20:25:49 ---> Running in c684b11f19fe 20:25:49 Removing intermediate container c684b11f19fe 20:25:49 ---> b8928ae27184 20:25:49 Step 10/14 : COPY go.mod vendor* ./ 20:25:49 ---> 7d6d3f0ef8d9 20:25:49 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:25:49 ---> Running in 87779215934c 20:26:07 Removing intermediate container 87779215934c 20:26:07 ---> 4fa13982156e 20:26:07 Step 12/14 : COPY . . 20:26:07 ---> fb0f39f008f2 20:26:07 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:26:07 ---> Running in a1d2bf50e1d3 20:26:07  % Total % Received % Xferd Average Speed Time Time Time Current 20:26:07 Dload Upload Total Spent Left Speed 20:26:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 7167 0 --:--:-- --:--:-- --:--:-- 7175 20:26:07 Removing intermediate container a1d2bf50e1d3 20:26:07 ---> ca98a6598768 20:26:07 Step 14/14 : RUN ${MAKE} 20:26:07 ---> Running in b07fb9c9a169 20:26:07 noop 20:26:07 Removing intermediate container b07fb9c9a169 20:26:07 ---> b6f2b22bda63 20:26:07 Successfully built b6f2b22bda63 20:26:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:07 + docker inspect -f . ci-base-image-x86_64 20:26:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:07 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:26:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:26:08 $ docker top 22563fc03dae5f9bef11da6442b323e183062e040948f1f10e2574581b8e7369 -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:08 + go version 20:26:08 go version go1.18.7 linux/amd64 [Pipeline] } 20:26:08 $ docker stop --time=1 22563fc03dae5f9bef11da6442b323e183062e040948f1f10e2574581b8e7369 20:26:09 $ docker rm -f 22563fc03dae5f9bef11da6442b323e183062e040948f1f10e2574581b8e7369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:10 + docker inspect -f . ci-base-image-x86_64 20:26:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:26:10 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:26:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:26:10 $ docker top 9940aed6e66ed69c47a200f18d70432cec2ad852a731cc8ecd79f79c9a7c1e0b -eo pid,comm [Pipeline] { [Pipeline] sh 20:26:10 + git config --global --add safe.directory /w/workspace/exfoundry_device-usb-camera_main [Pipeline] fileExists [Pipeline] sh 20:26:11 + make test 20:26:11 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:26:11 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:26:21 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:26:21 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.019s coverage: 1.9% of statements 20:26:28 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:26:28 CGO_ENABLED=1 go vet ./... 20:26:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:26:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:26:31 ./bin/test-attribution-txt.sh [Pipeline] echo 20:26:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:26:31 $ docker stop --time=1 9940aed6e66ed69c47a200f18d70432cec2ad852a731cc8ecd79f79c9a7c1e0b 20:26:33 $ docker rm -f 9940aed6e66ed69c47a200f18d70432cec2ad852a731cc8ecd79f79c9a7c1e0b [Pipeline] // withDockerContainer [Pipeline] sh 20:26:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:26:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:26:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:26:35 + ls -al . 20:26:35 total 196 20:26:35 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:26 . 20:26:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:25 .. 20:26:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:26 .git 20:26:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:25 .github 20:26:35 -rw-rw-r-- 1 jenkins jenkins 414 Oct 17 20:25 .gitignore 20:26:35 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 20:25 .golangci.yml 20:26:35 -rw-rw-r-- 1 jenkins jenkins 77 Oct 17 20:25 .hadolint.yml 20:26:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:25 .semver 20:26:35 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 17 20:25 Attribution.txt 20:26:35 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 17 20:25 CHANGELOG.md 20:26:35 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 17 20:25 Dockerfile 20:26:35 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 20:25 GOVERNANCE.md 20:26:35 -rw-rw-r-- 1 jenkins jenkins 659 Oct 17 20:25 Jenkinsfile 20:26:35 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 20:25 LICENSE 20:26:35 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 17 20:25 Makefile 20:26:35 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 20:25 OWNERS.md 20:26:35 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 17 20:25 README.md 20:26:35 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:25 VERSION 20:26:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:25 bin 20:26:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:25 cmd 20:26:35 -rw-r--r-- 1 jenkins jenkins 29387 Oct 17 20:26 coverage.out 20:26:35 -rwxrwxr-x 1 jenkins jenkins 140 Oct 17 20:25 docker-entrypoint.sh 20:26:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:25 docs 20:26:35 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 17 20:25 go.mod 20:26:35 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 17 20:25 go.sum 20:26:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:25 internal 20:26:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:25 snap 20:26:35 -rw-rw-r-- 1 jenkins jenkins 231 Oct 17 20:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:26:35 + 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=695cbf35e7563b7af803532131954c37e2b367cb --label arch=amd64 --label version=2.3.0-dev.17 . 20:26:35 Sending build context to Docker daemon 1.538MB 20:26:35 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 20:26:35 Step 2/36 : FROM ${BASE} AS builder 20:26:35 ---> b6f2b22bda63 20:26:35 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:26:35 ---> Running in c2ff331771e5 20:26:35 Removing intermediate container c2ff331771e5 20:26:35 ---> 6e12ff010de8 20:26:35 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:26:35 ---> Running in 1bb5ff6a773a 20:26:35 Removing intermediate container 1bb5ff6a773a 20:26:35 ---> 49da2b1459ac 20:26:35 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:26:35 ---> Running in 0cbabc8b62f0 20:26:35 Removing intermediate container 0cbabc8b62f0 20:26:35 ---> 6fdb9b5362bf 20:26:35 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:26:35 ---> Running in 242239cfb510 20:26:35 Removing intermediate container 242239cfb510 20:26:35 ---> c78082132a62 20:26:35 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:26:35 ---> Running in 7485d8cdaa0e 20:26:36 Removing intermediate container 7485d8cdaa0e 20:26:36 ---> 98ac4c608d7d 20:26:36 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:26:36 ---> Running in 0241b659b2d0 20:26:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:26:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:26:37 OK: 330 MiB in 131 packages 20:26:38 Removing intermediate container 0241b659b2d0 20:26:38 ---> 4d9e308fad2b 20:26:38 Step 9/36 : WORKDIR /device-usb-camera 20:26:38 ---> Running in 42b44bba664f 20:26:38 Removing intermediate container 42b44bba664f 20:26:38 ---> 070611e808ce 20:26:38 Step 10/36 : COPY go.mod vendor* ./ 20:26:38 ---> af374c99524a 20:26:38 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:26:38 ---> Running in b393b1b02744 20:26:39 Removing intermediate container b393b1b02744 20:26:39 ---> e22bafc25771 20:26:39 Step 12/36 : COPY . . 20:26:39 ---> 822cfeba04e9 20:26:39 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:26:39 ---> Running in 71242ffc94c2 20:26:39  % Total % Received % Xferd Average Speed Time Time Time Current 20:26:39  Dload Upload Total Spent Left Speed 20:26:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 49565 0 --:--:-- --:--:-- --:--:-- 50571 20:26:39 Removing intermediate container 71242ffc94c2 20:26:39 ---> b434d9b98cc9 20:26:39 Step 14/36 : RUN ${MAKE} 20:26:40 ---> Running in d536c814bc27 20:26:40 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:27:02 Removing intermediate container d536c814bc27 20:27:02 ---> 37eefa7a00b3 20:27:02 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:27:02 v0.18.4: Pulling from aler9/rtsp-simple-server 20:27:02 af6660deedbd: Pulling fs layer 20:27:02 97cd0a44c592: Pulling fs layer 20:27:02 97cd0a44c592: Verifying Checksum 20:27:02 97cd0a44c592: Download complete 20:27:02 af6660deedbd: Verifying Checksum 20:27:02 af6660deedbd: Download complete 20:27:02 af6660deedbd: Pull complete 20:27:02 97cd0a44c592: Pull complete 20:27:02 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:27:02 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:27:02 ---> fea57e182299 20:27:02 Step 16/36 : FROM alpine:3.16 20:27:02 3.16: Pulling from library/alpine 20:27:02 213ec9aee27d: Already exists 20:27:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:27:02 Status: Downloaded newer image for alpine:3.16 20:27:02 ---> 9c6f07244728 20:27:02 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:27:02 ---> Running in fe5fdf5223d1 20:27:02 Removing intermediate container fe5fdf5223d1 20:27:02 ---> b7877a4d49b1 20:27:02 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:27:02 ---> Running in edb6428afd39 20:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:27:03 (1/83) Installing dumb-init (1.2.5-r1) 20:27:03 (2/83) Installing sdl2 (2.0.22-r0) 20:27:03 (3/83) Installing libxau (1.0.9-r0) 20:27:03 (4/83) Installing libxdmcp (1.1.3-r0) 20:27:03 (5/83) Installing libxcb (1.15-r0) 20:27:03 (6/83) Installing libx11 (1.8-r0) 20:27:03 (7/83) Installing aom-libs (3.3.0-r0) 20:27:03 (8/83) Installing alsa-lib (1.2.7.2-r0) 20:27:03 (9/83) Installing expat (2.4.9-r0) 20:27:03 (10/83) Installing brotli-libs (1.0.9-r6) 20:27:03 (11/83) Installing libbz2 (1.0.8-r1) 20:27:03 (12/83) Installing libpng (1.6.37-r1) 20:27:03 (13/83) Installing freetype (2.12.1-r0) 20:27:03 (14/83) Installing fontconfig (2.14.0-r0) 20:27:03 (15/83) Installing fribidi (1.0.12-r0) 20:27:03 (16/83) Installing libffi (3.4.2-r1) 20:27:03 (17/83) Installing libintl (0.21-r2) 20:27:03 (18/83) Installing libblkid (2.38-r1) 20:27:03 (19/83) Installing libmount (2.38-r1) 20:27:03 (20/83) Installing pcre (8.45-r2) 20:27:03 (21/83) Installing glib (2.72.1-r0) 20:27:03 (22/83) Installing graphite2 (1.3.14-r1) 20:27:03 (23/83) Installing harfbuzz (4.3.0-r0) 20:27:03 (24/83) Installing libass (0.16.0-r0) 20:27:03 (25/83) Installing libdav1d (1.0.0-r0) 20:27:03 (26/83) Installing libpciaccess (0.16-r0) 20:27:03 (27/83) Installing libdrm (2.4.110-r0) 20:27:03 (28/83) Installing gmp (6.2.1-r2) 20:27:03 (29/83) Installing nettle (3.7.3-r0) 20:27:03 (30/83) Installing p11-kit (0.24.1-r0) 20:27:03 (31/83) Installing libtasn1 (4.18.0-r0) 20:27:03 (32/83) Installing libunistring (1.0-r0) 20:27:04 (33/83) Installing gnutls (3.7.7-r0) 20:27:04 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:27:04 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 20:27:04 (36/83) Installing lame (3.100-r0) 20:27:04 (37/83) Installing opus (1.3.1-r1) 20:27:04 (38/83) Installing libasyncns (0.8-r1) 20:27:04 (39/83) Installing dbus-libs (1.14.4-r0) 20:27:04 (40/83) Installing libltdl (2.4.7-r0) 20:27:04 (41/83) Installing orc (0.4.32-r0) 20:27:04 (42/83) Installing libgcc (11.2.1_git20220219-r2) 20:27:04 (43/83) Installing libogg (1.3.5-r1) 20:27:04 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 20:27:04 (45/83) Installing flac (1.3.4-r0) 20:27:04 (46/83) Installing libvorbis (1.3.7-r0) 20:27:04 (47/83) Installing libsndfile (1.1.0-r0) 20:27:04 (48/83) Installing libgomp (11.2.1_git20220219-r2) 20:27:04 (49/83) Installing soxr (0.1.3-r2) 20:27:04 (50/83) Installing speexdsp (1.2.0-r0) 20:27:04 (51/83) Installing tdb-libs (1.4.6-r0) 20:27:04 (52/83) Installing libpulse (15.0-r2) 20:27:04 (53/83) Installing cjson (1.7.15-r3) 20:27:04 (54/83) Installing mbedtls (2.28.1-r0) 20:27:04 (55/83) Installing librist (0.2.6-r1) 20:27:04 (56/83) Installing libsrt (1.4.4-r0) 20:27:04 (57/83) Installing libssh (0.9.6-r1) 20:27:04 (58/83) Installing libtheora (1.1.1-r16) 20:27:04 (59/83) Installing libjpeg-turbo (2.1.3-r1) 20:27:04 (60/83) Installing v4l-utils-libs (1.22.1-r1) 20:27:04 (61/83) Installing libxext (1.3.4-r0) 20:27:04 (62/83) Installing libxfixes (6.0.0-r0) 20:27:04 (63/83) Installing wayland-libs-client (1.20.0-r0) 20:27:04 (64/83) Installing libva (2.14.0-r0) 20:27:04 (65/83) Installing libvdpau (1.5-r0) 20:27:04 (66/83) Installing vidstab (1.1.0-r1) 20:27:04 (67/83) Installing libvpx (1.11.0-r1) 20:27:04 (68/83) Installing libwebp (1.2.3-r0) 20:27:04 (69/83) Installing x264-libs (0.163_git20210613-r0) 20:27:04 (70/83) Installing numactl (2.0.14-r0) 20:27:04 (71/83) Installing x265-libs (3.5-r3) 20:27:04 (72/83) Installing xvidcore (1.3.7-r1) 20:27:04 (73/83) Installing ffmpeg-libs (5.0.1-r1) 20:27:04 (74/83) Installing ffmpeg (5.0.1-r1) 20:27:04 (75/83) Installing udev-init-scripts (35-r0) 20:27:04 Executing udev-init-scripts-35-r0.post-install 20:27:04 (76/83) Installing eudev-libs (3.2.11-r0) 20:27:04 (77/83) Installing xz-libs (5.2.5-r1) 20:27:04 (78/83) Installing zstd-libs (1.5.2-r1) 20:27:04 (79/83) Installing kmod-libs (29-r2) 20:27:04 (80/83) Installing eudev (3.2.11-r0) 20:27:04 (81/83) Installing libsodium (1.0.18-r0) 20:27:04 (82/83) Installing libzmq (4.3.4-r0) 20:27:04 (83/83) Installing zeromq (4.3.4-r0) 20:27:04 Executing busybox-1.35.0-r17.trigger 20:27:04 Executing eudev-3.2.11-r0.trigger 20:27:04 OK: 101 MiB in 97 packages 20:27:06 Removing intermediate container edb6428afd39 20:27:06 ---> 1f4bcc92623d 20:27:06 Step 19/36 : WORKDIR / 20:27:06 ---> Running in 5e75f2a07df7 20:27:06 Removing intermediate container 5e75f2a07df7 20:27:06 ---> 4bdb3a64555e 20:27:06 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 20:27:07 ---> 727e277f7bf5 20:27:07 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:27:07 ---> fab23bf7fc4f 20:27:07 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:27:07 ---> 69d5a0c7a4ba 20:27:07 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:27:08 ---> 162ecc4b160a 20:27:08 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:27:08 ---> 5db3530dae26 20:27:08 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:27:08 ---> 045243ddbcba 20:27:08 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 20:27:08 ---> b24929dc0945 20:27:08 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:27:08 ---> Running in 9777c107d971 20:27:09 Removing intermediate container 9777c107d971 20:27:09 ---> d1a78449aa35 20:27:09 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:27:09 ---> Running in 69d875ffb7a2 20:27:10 Removing intermediate container 69d875ffb7a2 20:27:10 ---> f1d48d631b55 20:27:10 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:27:10 ---> Running in d27a887398cd 20:27:10 Removing intermediate container d27a887398cd 20:27:10 ---> be25ec1809dc 20:27:10 Step 30/36 : EXPOSE 59983 20:27:10 ---> Running in 24c66dc03970 20:27:10 Removing intermediate container 24c66dc03970 20:27:10 ---> 640dd423feea 20:27:10 Step 31/36 : EXPOSE 8554 20:27:10 ---> Running in cbba13b58e59 20:27:10 Removing intermediate container cbba13b58e59 20:27:10 ---> 39ae2bbd5330 20:27:10 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:27:10 ---> Running in 28fd23c7e28f 20:27:10 Removing intermediate container 28fd23c7e28f 20:27:10 ---> fb9359b8983c 20:27:10 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:27:10 ---> Running in 15962e9a970a 20:27:10 Removing intermediate container 15962e9a970a 20:27:10 ---> e1d1d4072a05 20:27:10 Step 34/36 : LABEL arch=amd64 20:27:10 ---> Running in ce5887f3c13d 20:27:10 Removing intermediate container ce5887f3c13d 20:27:10 ---> 16bbec53257b 20:27:10 Step 35/36 : LABEL git_sha=695cbf35e7563b7af803532131954c37e2b367cb 20:27:10 ---> Running in 8442cf15f4e5 20:27:11 Removing intermediate container 8442cf15f4e5 20:27:11 ---> 66ea7652e92e 20:27:11 Step 36/36 : LABEL version=2.3.0-dev.17 20:27:11 ---> Running in a0f58642cc25 20:27:11 Removing intermediate container a0f58642cc25 20:27:11 ---> a08aec852da3 20:27:11 [Warning] One or more build-args [ARCH] were not consumed 20:27:11 Successfully built a08aec852da3 20:27:11 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 20:27:11 provisioning config files... 20:27:11 copy managed file [device-usb-camera-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config7914856047916676660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:11 ---> docker-login.sh 20:27:11 nexus3.edgexfoundry.org:10001 20:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:11 Configure a credential helper to remove this warning. See 20:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:11 20:27:11 Login Succeeded 20:27:11 nexus3.edgexfoundry.org:10002 20:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:11 Configure a credential helper to remove this warning. See 20:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:11 20:27:11 Login Succeeded 20:27:11 nexus3.edgexfoundry.org:10003 20:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:11 Configure a credential helper to remove this warning. See 20:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:11 20:27:11 Login Succeeded 20:27:11 nexus3.edgexfoundry.org:10004 20:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:11 Configure a credential helper to remove this warning. See 20:27:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:11 20:27:11 Login Succeeded 20:27:11 docker.io 20:27:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:12 Configure a credential helper to remove this warning. See 20:27:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:12 20:27:12 Login Succeeded 20:27:12 ---> docker-login.sh ends [Pipeline] } 20:27:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:27:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:12 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 20:27:12 695cbf35e7563b7af803532131954c37e2b367cb 20:27:12 latest 20:27:12 2.3.0-dev.17 20:27:12 695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:27:12 main 20:27:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:12 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:13 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb 20:27:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:27:13 dbb1023637ca: Preparing 20:27:13 6905673a8cab: Preparing 20:27:13 5b56a07010b0: Preparing 20:27:13 550e596c6d0e: Preparing 20:27:13 1207169bf42c: Preparing 20:27:13 aa90ecf5f97b: Preparing 20:27:13 7150f504e72f: Preparing 20:27:13 1b00d2de9adf: Preparing 20:27:13 0bed329a765f: Preparing 20:27:13 7378f102a9e0: Preparing 20:27:13 37196ca31722: Preparing 20:27:13 994393dc58e7: Preparing 20:27:13 1b00d2de9adf: Waiting 20:27:13 0bed329a765f: Waiting 20:27:13 7378f102a9e0: Waiting 20:27:13 994393dc58e7: Waiting 20:27:13 37196ca31722: Waiting 20:27:13 aa90ecf5f97b: Waiting 20:27:13 7150f504e72f: Waiting 20:27:13 1207169bf42c: Pushed 20:27:13 5b56a07010b0: Pushed 20:27:13 6905673a8cab: Pushed 20:27:13 dbb1023637ca: Pushed 20:27:13 aa90ecf5f97b: Pushed 20:27:13 1b00d2de9adf: Pushed 20:27:13 7150f504e72f: Pushed 20:27:13 0bed329a765f: Pushed 20:27:13 994393dc58e7: Layer already exists 20:27:14 550e596c6d0e: Pushed 20:27:15 7378f102a9e0: Pushed 20:27:22 37196ca31722: Pushed 20:27:22 695cbf35e7563b7af803532131954c37e2b367cb: digest: sha256:4760ee1fadb9b6a5b0767f22db28adaf6ea6036c940922d044da0db9148c3d99 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:22 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:22 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:27:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:27:22 dbb1023637ca: Preparing 20:27:22 6905673a8cab: Preparing 20:27:22 5b56a07010b0: Preparing 20:27:22 550e596c6d0e: Preparing 20:27:22 1207169bf42c: Preparing 20:27:22 aa90ecf5f97b: Preparing 20:27:22 7150f504e72f: Preparing 20:27:22 1b00d2de9adf: Preparing 20:27:22 0bed329a765f: Preparing 20:27:22 7378f102a9e0: Preparing 20:27:22 37196ca31722: Preparing 20:27:22 994393dc58e7: Preparing 20:27:22 aa90ecf5f97b: Waiting 20:27:22 7150f504e72f: Waiting 20:27:22 1b00d2de9adf: Waiting 20:27:22 0bed329a765f: Waiting 20:27:22 7378f102a9e0: Waiting 20:27:22 37196ca31722: Waiting 20:27:22 994393dc58e7: Waiting 20:27:22 1207169bf42c: Layer already exists 20:27:22 dbb1023637ca: Layer already exists 20:27:22 6905673a8cab: Layer already exists 20:27:22 5b56a07010b0: Layer already exists 20:27:22 550e596c6d0e: Layer already exists 20:27:22 7150f504e72f: Layer already exists 20:27:22 aa90ecf5f97b: Layer already exists 20:27:22 1b00d2de9adf: Layer already exists 20:27:22 7378f102a9e0: Layer already exists 20:27:22 0bed329a765f: Layer already exists 20:27:22 37196ca31722: Layer already exists 20:27:22 994393dc58e7: Layer already exists 20:27:22 latest: digest: sha256:4760ee1fadb9b6a5b0767f22db28adaf6ea6036c940922d044da0db9148c3d99 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:23 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.17 20:27:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:27:23 dbb1023637ca: Preparing 20:27:23 6905673a8cab: Preparing 20:27:23 5b56a07010b0: Preparing 20:27:23 550e596c6d0e: Preparing 20:27:23 1207169bf42c: Preparing 20:27:23 aa90ecf5f97b: Preparing 20:27:23 7150f504e72f: Preparing 20:27:23 1b00d2de9adf: Preparing 20:27:23 0bed329a765f: Preparing 20:27:23 7378f102a9e0: Preparing 20:27:23 37196ca31722: Preparing 20:27:23 994393dc58e7: Preparing 20:27:23 aa90ecf5f97b: Waiting 20:27:23 7150f504e72f: Waiting 20:27:23 1b00d2de9adf: Waiting 20:27:23 994393dc58e7: Waiting 20:27:23 7378f102a9e0: Waiting 20:27:23 0bed329a765f: Waiting 20:27:23 550e596c6d0e: Layer already exists 20:27:23 5b56a07010b0: Layer already exists 20:27:23 dbb1023637ca: Layer already exists 20:27:23 1207169bf42c: Layer already exists 20:27:23 6905673a8cab: Layer already exists 20:27:23 aa90ecf5f97b: Layer already exists 20:27:23 7150f504e72f: Layer already exists 20:27:23 1b00d2de9adf: Layer already exists 20:27:23 7378f102a9e0: Layer already exists 20:27:23 0bed329a765f: Layer already exists 20:27:23 994393dc58e7: Layer already exists 20:27:23 37196ca31722: Layer already exists 20:27:23 2.3.0-dev.17: digest: sha256:4760ee1fadb9b6a5b0767f22db28adaf6ea6036c940922d044da0db9148c3d99 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:23 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:27:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:27:24 dbb1023637ca: Preparing 20:27:24 6905673a8cab: Preparing 20:27:24 5b56a07010b0: Preparing 20:27:24 550e596c6d0e: Preparing 20:27:24 1207169bf42c: Preparing 20:27:24 aa90ecf5f97b: Preparing 20:27:24 7150f504e72f: Preparing 20:27:24 1b00d2de9adf: Preparing 20:27:24 0bed329a765f: Preparing 20:27:24 7378f102a9e0: Preparing 20:27:24 37196ca31722: Preparing 20:27:24 994393dc58e7: Preparing 20:27:24 1b00d2de9adf: Waiting 20:27:24 0bed329a765f: Waiting 20:27:24 7378f102a9e0: Waiting 20:27:24 37196ca31722: Waiting 20:27:24 994393dc58e7: Waiting 20:27:24 aa90ecf5f97b: Waiting 20:27:24 7150f504e72f: Waiting 20:27:24 6905673a8cab: Layer already exists 20:27:24 550e596c6d0e: Layer already exists 20:27:24 5b56a07010b0: Layer already exists 20:27:24 dbb1023637ca: Layer already exists 20:27:24 1207169bf42c: Layer already exists 20:27:24 aa90ecf5f97b: Layer already exists 20:27:24 1b00d2de9adf: Layer already exists 20:27:24 7378f102a9e0: Layer already exists 20:27:24 7150f504e72f: Layer already exists 20:27:24 0bed329a765f: Layer already exists 20:27:24 37196ca31722: Layer already exists 20:27:24 994393dc58e7: Layer already exists 20:27:24 695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17: digest: sha256:4760ee1fadb9b6a5b0767f22db28adaf6ea6036c940922d044da0db9148c3d99 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:24 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:24 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:main 20:27:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 20:27:24 dbb1023637ca: Preparing 20:27:24 6905673a8cab: Preparing 20:27:24 5b56a07010b0: Preparing 20:27:24 550e596c6d0e: Preparing 20:27:24 1207169bf42c: Preparing 20:27:24 aa90ecf5f97b: Preparing 20:27:24 7150f504e72f: Preparing 20:27:24 1b00d2de9adf: Preparing 20:27:24 0bed329a765f: Preparing 20:27:24 7378f102a9e0: Preparing 20:27:24 37196ca31722: Preparing 20:27:24 994393dc58e7: Preparing 20:27:24 37196ca31722: Waiting 20:27:24 1b00d2de9adf: Waiting 20:27:24 994393dc58e7: Waiting 20:27:24 0bed329a765f: Waiting 20:27:24 7378f102a9e0: Waiting 20:27:24 aa90ecf5f97b: Waiting 20:27:24 7150f504e72f: Waiting 20:27:24 dbb1023637ca: Layer already exists 20:27:24 1207169bf42c: Layer already exists 20:27:24 550e596c6d0e: Layer already exists 20:27:24 5b56a07010b0: Layer already exists 20:27:24 6905673a8cab: Layer already exists 20:27:24 aa90ecf5f97b: Layer already exists 20:27:24 1b00d2de9adf: Layer already exists 20:27:24 7150f504e72f: Layer already exists 20:27:24 0bed329a765f: Layer already exists 20:27:24 7378f102a9e0: Layer already exists 20:27:24 37196ca31722: Layer already exists 20:27:24 994393dc58e7: Layer already exists 20:27:24 main: digest: sha256:4760ee1fadb9b6a5b0767f22db28adaf6ea6036c940922d044da0db9148c3d99 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:27:24 ===================================================== [Pipeline] echo 20:27:24 taggedImages: 20:27:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb 20:27:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 20:27:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.0-dev.17 20:27:24 - nexus3.edgexfoundry.org:10004/device-usb-camera:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:27:24 - 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 20:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:25 20:27:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:25 latest: Pulling from edgex-lftools-log-publisher 20:27:25 5eb5b503b376: Pulling fs layer 20:27:25 5c69ac0246d0: Pulling fs layer 20:27:25 ec43610c2a17: Pulling fs layer 20:27:25 3a2ae6a8a46f: Pulling fs layer 20:27:25 33b1e0a273af: Pulling fs layer 20:27:25 5d3b04190fa2: Pulling fs layer 20:27:25 2f39f015ded8: Pulling fs layer 20:27:25 33b1e0a273af: Waiting 20:27:25 2f39f015ded8: Waiting 20:27:25 5d3b04190fa2: Waiting 20:27:25 3a2ae6a8a46f: Waiting 20:27:25 5c69ac0246d0: Verifying Checksum 20:27:25 5c69ac0246d0: Download complete 20:27:25 3a2ae6a8a46f: Download complete 20:27:25 33b1e0a273af: Verifying Checksum 20:27:25 33b1e0a273af: Download complete 20:27:25 5d3b04190fa2: Verifying Checksum 20:27:25 5d3b04190fa2: Download complete 20:27:25 ec43610c2a17: Verifying Checksum 20:27:25 ec43610c2a17: Download complete 20:27:25 5eb5b503b376: Verifying Checksum 20:27:25 5eb5b503b376: Download complete 20:27:26 2f39f015ded8: Download complete 20:27:26 5eb5b503b376: Pull complete 20:27:26 5c69ac0246d0: Pull complete 20:27:27 ec43610c2a17: Pull complete 20:27:27 3a2ae6a8a46f: Pull complete 20:27:27 33b1e0a273af: Pull complete 20:27:27 5d3b04190fa2: Pull complete 20:27:31 2f39f015ded8: Pull complete 20:27:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:27:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:27:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:31 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:27:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:27:34 $ docker top 12bc9aced84fa873ec957484e6eb91b8aaa78fe77da08d40a8f6dd7cafd016fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:35 ---> job-cost.sh 20:27:35 lf-activate-venv: SKIPPING 20:27:35 INFO: No Stack... 20:27:35 INFO: Retrieving Pricing Info for: v3-standard-8 20:27:35 INFO: Archiving Costs [Pipeline] sh 20:27:36 + + cut -d, -f6 20:27:36 cat /w/workspace/exfoundry_device-usb-camera_main/archives/cost.csv [Pipeline] lock 20:27:36 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] 20:27:36 Resource [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] did not exist. Created. 20:27:36 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:27:36 + echo total: 0.2199999988079071 [Pipeline] stash 20:27:36 Stashed 1 file(s) [Pipeline] } 20:27:36 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 20:27:36 $ docker stop --time=1 12bc9aced84fa873ec957484e6eb91b8aaa78fe77da08d40a8f6dd7cafd016fe 20:27:37 $ docker rm -f 12bc9aced84fa873ec957484e6eb91b8aaa78fe77da08d40a8f6dd7cafd016fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:28:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8411 in /w/workspace/exfoundry_device-usb-camera_main [Pipeline] { [Pipeline] ws 20:28:34 Running in /w/workspace/device-usb-camera/56 [Pipeline] { [Pipeline] checkout 20:28:34 Selected Git installation does not exist. Using Default 20:28:34 The recommended git tool is: NONE 20:28:40 using credential edgex-jenkins-ssh 20:28:40 Cloning the remote Git repository 20:28:40 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 20:28:40 > git init /w/workspace/device-usb-camera/56 # timeout=10 20:28:40 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 20:28:40 > git --version # timeout=10 20:28:40 > git --version # 'git version 2.25.1' 20:28:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:28:40 Verifying host key using known hosts file 20:28:40 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 20:28:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:41 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 20:28:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:28:42 Avoid second fetch 20:28:42 Checking out Revision 695cbf35e7563b7af803532131954c37e2b367cb (main) 20:28:43 Commit message: "Merge pull request #104 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:28:42 > git config core.sparsecheckout # timeout=10 20:28:42 > git checkout -f 695cbf35e7563b7af803532131954c37e2b367cb # timeout=10 20:28:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:28:43 % Total % Received % Xferd Average Speed Time Time Time Current 20:28:43 Dload Upload Total Spent Left Speed 20:28:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 [Pipeline] sh 20:28:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:28:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 20:28:44 sudo tee /etc/docker/daemon.new 20:28:44 { 20:28:44 "registry-mirrors": [ 20:28:44 "https://nexus3.edgexfoundry.org:10001" 20:28:44 ], 20:28:44 "bip": "10.250.0.254/24", 20:28:44 "hosts": [ 20:28:44 "tcp://0.0.0.0:5555", 20:28:44 "unix:///var/run/docker.sock" 20:28:44 ], 20:28:44 "mtu": 1458, 20:28:44 "selinux-enabled": true, 20:28:44 "seccomp-profile": "/etc/docker/seccomp.json" 20:28:44 } [Pipeline] sh 20:28:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:28:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:03 provisioning config files... 20:29:03 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/56@tmp/config5615773162908291594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:04 ---> docker-login.sh 20:29:04 nexus3.edgexfoundry.org:10001 20:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:04 Configure a credential helper to remove this warning. See 20:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:04 20:29:04 Login Succeeded 20:29:04 nexus3.edgexfoundry.org:10002 20:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:05 Configure a credential helper to remove this warning. See 20:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:05 20:29:05 Login Succeeded 20:29:05 nexus3.edgexfoundry.org:10003 20:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:05 Configure a credential helper to remove this warning. See 20:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:05 20:29:05 Login Succeeded 20:29:05 nexus3.edgexfoundry.org:10004 20:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:05 Configure a credential helper to remove this warning. See 20:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:05 20:29:05 Login Succeeded 20:29:05 docker.io 20:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:06 Configure a credential helper to remove this warning. See 20:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:06 20:29:06 Login Succeeded 20:29:06 ---> docker-login.sh ends [Pipeline] } 20:29:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:06 ========================================================= 20:29:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:29:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:29:07 Sending build context to Docker daemon 993.3kB 20:29:07 Step 1/14 : ARG BASE=golang:1.18-alpine3.16 20:29:07 Step 2/14 : FROM ${BASE} AS builder 20:29:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:29:07 9b18e9b68314: Pulling fs layer 20:29:07 d32db5db7311: Pulling fs layer 20:29:07 d0c4b47475fc: Pulling fs layer 20:29:07 5831b945b038: Pulling fs layer 20:29:07 86bbec2aaacd: Pulling fs layer 20:29:07 e10730c5d714: Pulling fs layer 20:29:07 5dd5c2283517: Pulling fs layer 20:29:07 d5ac0230b979: Pulling fs layer 20:29:07 5831b945b038: Waiting 20:29:07 86bbec2aaacd: Waiting 20:29:07 5dd5c2283517: Waiting 20:29:07 e10730c5d714: Waiting 20:29:07 d5ac0230b979: Waiting 20:29:07 d0c4b47475fc: Download complete 20:29:07 d32db5db7311: Verifying Checksum 20:29:07 d32db5db7311: Download complete 20:29:07 86bbec2aaacd: Verifying Checksum 20:29:07 86bbec2aaacd: Download complete 20:29:07 e10730c5d714: Download complete 20:29:07 9b18e9b68314: Verifying Checksum 20:29:07 9b18e9b68314: Download complete 20:29:08 9b18e9b68314: Pull complete 20:29:08 d5ac0230b979: Verifying Checksum 20:29:08 d5ac0230b979: Download complete 20:29:09 d32db5db7311: Pull complete 20:29:09 d0c4b47475fc: Pull complete 20:29:09 5dd5c2283517: Verifying Checksum 20:29:09 5dd5c2283517: Download complete 20:29:10 5831b945b038: Verifying Checksum 20:29:10 5831b945b038: Download complete 20:29:22 5831b945b038: Pull complete 20:29:22 86bbec2aaacd: Pull complete 20:29:22 e10730c5d714: Pull complete 20:29:27 5dd5c2283517: Pull complete 20:29:28 d5ac0230b979: Pull complete 20:29:28 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 20:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:29:28 ---> 59b3b1a385d4 20:29:28 Step 3/14 : ARG ADD_BUILD_TAGS="" 20:29:30 ---> Running in fe18ac09b2aa 20:29:30 Removing intermediate container fe18ac09b2aa 20:29:30 ---> 680b91188340 20:29:30 Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:31 ---> Running in 6565b360401a 20:29:31 Removing intermediate container 6565b360401a 20:29:31 ---> 20fa4d55cc88 20:29:31 Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:29:31 ---> Running in 8edc65e966e8 20:29:31 Removing intermediate container 8edc65e966e8 20:29:31 ---> b0e280f52078 20:29:31 Step 6/14 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:29:31 ---> Running in 992f00071efc 20:29:32 Removing intermediate container 992f00071efc 20:29:32 ---> 8d2ee7f3ae1d 20:29:32 Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:29:32 ---> Running in e57433769f84 20:29:34 Removing intermediate container e57433769f84 20:29:34 ---> 721351b0a9bc 20:29:34 Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:34 ---> Running in 851d2ac73ad2 20:29:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:29:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:29:36 (1/14) Installing libintl (0.21-r2) 20:29:37 (2/14) Installing eudev-libs (3.2.11-r0) 20:29:37 (3/14) Installing libjpeg-turbo (2.1.3-r1) 20:29:37 (4/14) Installing v4l-utils-libs (1.22.1-r1) 20:29:37 (5/14) Installing v4l-utils (1.22.1-r1) 20:29:37 (6/14) Installing udev-init-scripts (35-r0) 20:29:37 Executing udev-init-scripts-35-r0.post-install 20:29:37 (7/14) Installing libblkid (2.38-r1) 20:29:37 (8/14) Installing xz-libs (5.2.5-r1) 20:29:37 (9/14) Installing zstd-libs (1.5.2-r1) 20:29:37 (10/14) Installing kmod-libs (29-r2) 20:29:37 (11/14) Installing eudev (3.2.11-r0) 20:29:38 (12/14) Installing eudev-dev (3.2.11-r0) 20:29:38 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 20:29:38 (14/14) Installing v4l-utils-dev (1.22.1-r1) 20:29:38 Executing busybox-1.35.0-r17.trigger 20:29:38 Executing eudev-3.2.11-r0.trigger 20:29:38 OK: 228 MiB in 65 packages 20:29:39 Removing intermediate container 851d2ac73ad2 20:29:39 ---> e7130f806a78 20:29:39 Step 9/14 : WORKDIR /device-usb-camera 20:29:39 ---> Running in d1ea3c8097f1 20:29:40 Removing intermediate container d1ea3c8097f1 20:29:40 ---> 97af85d4dabe 20:29:40 Step 10/14 : COPY go.mod vendor* ./ 20:29:40 ---> 7bed58edc96e 20:29:40 Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:40 ---> Running in deff8cc31467 20:30:27 Removing intermediate container deff8cc31467 20:30:27 ---> bf67381af53a 20:30:27 Step 12/14 : COPY . . 20:30:28 ---> 678166fd8b0d 20:30:28 Step 13/14 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:30:28 ---> Running in 0b346202c086 20:30:29   % Total % Received % Xferd Average Speed Time Time Time Current 20:30:29 Dload Upload Total Spent Left Speed 20:30:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 13625 0 --:--:-- --:--:-- --:--:-- 13792 20:30:30 Removing intermediate container 0b346202c086 20:30:30 ---> 73d114cbc359 20:30:30 Step 14/14 : RUN ${MAKE} 20:30:30 ---> Running in 77db409aff5d 20:30:31 noop 20:30:31 Removing intermediate container 77db409aff5d 20:30:31 ---> df4325f94443 20:30:31 Successfully built df4325f94443 20:30:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:32 + docker inspect -f . ci-base-image-arm64 20:30:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 20:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/56 -v /w/workspace/device-usb-camera/56:/w/workspace/device-usb-camera/56:rw,z -v /w/workspace/device-usb-camera/56@tmp:/w/workspace/device-usb-camera/56@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 20:30:33 $ docker top 3c6ee2c960dda0c53286d0a3dc318d5b64837b87246b8a60117069a734388332 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:34 + go version 20:30:34 go version go1.18.7 linux/arm64 [Pipeline] } 20:30:34 $ docker stop --time=1 3c6ee2c960dda0c53286d0a3dc318d5b64837b87246b8a60117069a734388332 20:30:36 $ docker rm -f 3c6ee2c960dda0c53286d0a3dc318d5b64837b87246b8a60117069a734388332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:36 + docker inspect -f . ci-base-image-arm64 20:30:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:37 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 20:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/56 -v /w/workspace/device-usb-camera/56:/w/workspace/device-usb-camera/56:rw,z -v /w/workspace/device-usb-camera/56@tmp:/w/workspace/device-usb-camera/56@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 20:30:38 $ docker top 4179149add50d72c82074769490d846cb0645ea27651f20d00fa8d5e95832728 -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:39 + git config --global --add safe.directory /w/workspace/device-usb-camera/56 [Pipeline] fileExists [Pipeline] sh 20:30:39 + make test 20:30:39 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 20:30:41 ? github.com/edgexfoundry/device-usb-camera [no test files] 20:32:32 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 20:32:32 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.073s coverage: 1.9% of statements 20:32:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:32:32 CGO_ENABLED=1 go vet ./... 20:32:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:32:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:32:54 ./bin/test-attribution-txt.sh [Pipeline] echo 20:32:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:32:54 $ docker stop --time=1 4179149add50d72c82074769490d846cb0645ea27651f20d00fa8d5e95832728 20:32:56 $ docker rm -f 4179149add50d72c82074769490d846cb0645ea27651f20d00fa8d5e95832728 [Pipeline] // withDockerContainer [Pipeline] sh 20:32:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:32:57 Warning: overwriting stash ‘coverage-report’ 20:32:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:32:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:32:58 + ls -al . 20:32:58 total 192 20:32:58 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 20:30 . 20:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:28 .. 20:32:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:28 .git 20:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:28 .github 20:32:58 -rw-rw-r-- 1 jenkins jenkins 414 Oct 17 20:28 .gitignore 20:32:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 17 20:28 .golangci.yml 20:32:58 -rw-rw-r-- 1 jenkins jenkins 77 Oct 17 20:28 .hadolint.yml 20:32:58 -rw-rw-r-- 1 jenkins jenkins 9702 Oct 17 20:28 Attribution.txt 20:32:58 -rw-rw-r-- 1 jenkins jenkins 1206 Oct 17 20:28 CHANGELOG.md 20:32:58 -rw-rw-r-- 1 jenkins jenkins 2467 Oct 17 20:28 Dockerfile 20:32:58 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 20:28 GOVERNANCE.md 20:32:58 -rw-rw-r-- 1 jenkins jenkins 659 Oct 17 20:28 Jenkinsfile 20:32:58 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 17 20:28 LICENSE 20:32:58 -rw-rw-r-- 1 jenkins jenkins 2554 Oct 17 20:28 Makefile 20:32:58 -rw-rw-r-- 1 jenkins jenkins 622 Oct 17 20:28 OWNERS.md 20:32:58 -rw-rw-r-- 1 jenkins jenkins 5773 Oct 17 20:28 README.md 20:32:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:25 VERSION 20:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:28 bin 20:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:28 cmd 20:32:58 -rw-r--r-- 1 jenkins jenkins 29387 Oct 17 20:32 coverage.out 20:32:58 -rwxrwxr-x 1 jenkins jenkins 140 Oct 17 20:28 docker-entrypoint.sh 20:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:28 docs 20:32:58 -rw-rw-r-- 1 jenkins jenkins 3633 Oct 17 20:28 go.mod 20:32:58 -rw-rw-r-- 1 jenkins jenkins 38103 Oct 17 20:28 go.sum 20:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:28 internal 20:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:28 snap 20:32:58 -rw-rw-r-- 1 jenkins jenkins 231 Oct 17 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:59 + 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=695cbf35e7563b7af803532131954c37e2b367cb --label arch=arm64 --label version=2.3.0-dev.17 . 20:32:59 Sending build context to Docker daemon 1.023MB 20:32:59 Step 1/36 : ARG BASE=golang:1.18-alpine3.16 20:32:59 Step 2/36 : FROM ${BASE} AS builder 20:32:59 ---> df4325f94443 20:32:59 Step 3/36 : ARG ADD_BUILD_TAGS="" 20:32:59 ---> Running in edab50435714 20:33:00 Removing intermediate container edab50435714 20:33:00 ---> 695babb47e7a 20:33:00 Step 4/36 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:33:00 ---> Running in 2b4c7c6c6b3f 20:33:00 Removing intermediate container 2b4c7c6c6b3f 20:33:00 ---> f83c41639d3e 20:33:00 Step 5/36 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 20:33:00 ---> Running in ef8d29fef455 20:33:01 Removing intermediate container ef8d29fef455 20:33:01 ---> d3626719b283 20:33:01 Step 6/36 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 20:33:01 ---> Running in 739a0d3a1e44 20:33:01 Removing intermediate container 739a0d3a1e44 20:33:01 ---> 2af41d370241 20:33:01 Step 7/36 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:33:01 ---> Running in 053d4a869d68 20:33:03 Removing intermediate container 053d4a869d68 20:33:03 ---> 962a583a0377 20:33:03 Step 8/36 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:33:03 ---> Running in 71b561606db3 20:33:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:33:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:33:07 OK: 228 MiB in 65 packages 20:33:08 Removing intermediate container 71b561606db3 20:33:08 ---> e48b4f2a0aaf 20:33:08 Step 9/36 : WORKDIR /device-usb-camera 20:33:08 ---> Running in 2893ed4bfa09 20:33:09 Removing intermediate container 2893ed4bfa09 20:33:09 ---> 33dfcaa7f5ad 20:33:09 Step 10/36 : COPY go.mod vendor* ./ 20:33:10 ---> c0b3500dfa72 20:33:10 Step 11/36 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:33:10 ---> Running in d7842564b2f7 20:33:12 Removing intermediate container d7842564b2f7 20:33:12 ---> 667a3b1b4e40 20:33:12 Step 12/36 : COPY . . 20:33:13 ---> 5aa077de95a3 20:33:13 Step 13/36 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 20:33:13 ---> Running in 625fc556aa6c 20:33:14  % Total % Received % Xferd Average Speed Time Time Time Current 20:33:14 Dload Upload Total Spent Left Speed 20:33:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11254 0 --:--:-- --:--:-- --:--:-- 11297 20:33:16 Removing intermediate container 625fc556aa6c 20:33:16 ---> 5797e5c9dabf 20:33:16 Step 14/36 : RUN ${MAKE} 20:33:16 ---> Running in d569901045b2 20:33:17 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 20:36:09 Removing intermediate container d569901045b2 20:36:09 ---> bdb108bcceeb 20:36:09 Step 15/36 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp 20:36:09 v0.18.4: Pulling from aler9/rtsp-simple-server 20:36:09 eab2503cf8f4: Pulling fs layer 20:36:09 97cd0a44c592: Pulling fs layer 20:36:10 97cd0a44c592: Verifying Checksum 20:36:10 97cd0a44c592: Download complete 20:36:10 eab2503cf8f4: Verifying Checksum 20:36:10 eab2503cf8f4: Download complete 20:36:11 eab2503cf8f4: Pull complete 20:36:11 97cd0a44c592: Pull complete 20:36:11 Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 20:36:11 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 20:36:11 ---> 7f763cca56b3 20:36:11 Step 16/36 : FROM alpine:3.16 20:36:12 3.16: Pulling from library/alpine 20:36:12 9b18e9b68314: Already exists 20:36:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:36:12 Status: Downloaded newer image for alpine:3.16 20:36:12 ---> a6215f271958 20:36:12 Step 17/36 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 20:36:12 ---> Running in bb93e7195d5a 20:36:12 Removing intermediate container bb93e7195d5a 20:36:12 ---> b288d5af7606 20:36:12 Step 18/36 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 20:36:12 ---> Running in 81733e1dd9e7 20:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:36:14 (1/82) Installing dumb-init (1.2.5-r1) 20:36:14 (2/82) Installing sdl2 (2.0.22-r0) 20:36:15 (3/82) Installing libxau (1.0.9-r0) 20:36:15 (4/82) Installing libxdmcp (1.1.3-r0) 20:36:15 (5/82) Installing libxcb (1.15-r0) 20:36:15 (6/82) Installing libx11 (1.8-r0) 20:36:15 (7/82) Installing aom-libs (3.3.0-r0) 20:36:15 (8/82) Installing alsa-lib (1.2.7.2-r0) 20:36:15 (9/82) Installing expat (2.4.9-r0) 20:36:15 (10/82) Installing brotli-libs (1.0.9-r6) 20:36:15 (11/82) Installing libbz2 (1.0.8-r1) 20:36:15 (12/82) Installing libpng (1.6.37-r1) 20:36:15 (13/82) Installing freetype (2.12.1-r0) 20:36:15 (14/82) Installing fontconfig (2.14.0-r0) 20:36:15 (15/82) Installing fribidi (1.0.12-r0) 20:36:15 (16/82) Installing libffi (3.4.2-r1) 20:36:15 (17/82) Installing libintl (0.21-r2) 20:36:15 (18/82) Installing libblkid (2.38-r1) 20:36:15 (19/82) Installing libmount (2.38-r1) 20:36:15 (20/82) Installing pcre (8.45-r2) 20:36:15 (21/82) Installing glib (2.72.1-r0) 20:36:15 (22/82) Installing graphite2 (1.3.14-r1) 20:36:15 (23/82) Installing harfbuzz (4.3.0-r0) 20:36:15 (24/82) Installing libass (0.16.0-r0) 20:36:15 (25/82) Installing libdav1d (1.0.0-r0) 20:36:15 (26/82) Installing libdrm (2.4.110-r0) 20:36:15 (27/82) Installing gmp (6.2.1-r2) 20:36:15 (28/82) Installing nettle (3.7.3-r0) 20:36:15 (29/82) Installing p11-kit (0.24.1-r0) 20:36:15 (30/82) Installing libtasn1 (4.18.0-r0) 20:36:15 (31/82) Installing libunistring (1.0-r0) 20:36:16 (32/82) Installing gnutls (3.7.7-r0) 20:36:16 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 20:36:16 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 20:36:16 (35/82) Installing lame (3.100-r0) 20:36:16 (36/82) Installing opus (1.3.1-r1) 20:36:16 (37/82) Installing libasyncns (0.8-r1) 20:36:16 (38/82) Installing dbus-libs (1.14.4-r0) 20:36:16 (39/82) Installing libltdl (2.4.7-r0) 20:36:16 (40/82) Installing orc (0.4.32-r0) 20:36:16 (41/82) Installing libgcc (11.2.1_git20220219-r2) 20:36:16 (42/82) Installing libogg (1.3.5-r1) 20:36:16 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 20:36:16 (44/82) Installing flac (1.3.4-r0) 20:36:16 (45/82) Installing libvorbis (1.3.7-r0) 20:36:16 (46/82) Installing libsndfile (1.1.0-r0) 20:36:16 (47/82) Installing libgomp (11.2.1_git20220219-r2) 20:36:16 (48/82) Installing soxr (0.1.3-r2) 20:36:16 (49/82) Installing speexdsp (1.2.0-r0) 20:36:16 (50/82) Installing tdb-libs (1.4.6-r0) 20:36:16 (51/82) Installing libpulse (15.0-r2) 20:36:16 (52/82) Installing cjson (1.7.15-r3) 20:36:16 (53/82) Installing mbedtls (2.28.1-r0) 20:36:16 (54/82) Installing librist (0.2.6-r1) 20:36:16 (55/82) Installing libsrt (1.4.4-r0) 20:36:16 (56/82) Installing libssh (0.9.6-r1) 20:36:16 (57/82) Installing libtheora (1.1.1-r16) 20:36:16 (58/82) Installing libjpeg-turbo (2.1.3-r1) 20:36:16 (59/82) Installing v4l-utils-libs (1.22.1-r1) 20:36:16 (60/82) Installing libxext (1.3.4-r0) 20:36:16 (61/82) Installing libxfixes (6.0.0-r0) 20:36:16 (62/82) Installing wayland-libs-client (1.20.0-r0) 20:36:16 (63/82) Installing libva (2.14.0-r0) 20:36:16 (64/82) Installing libvdpau (1.5-r0) 20:36:16 (65/82) Installing vidstab (1.1.0-r1) 20:36:16 (66/82) Installing libvpx (1.11.0-r1) 20:36:16 (67/82) Installing libwebp (1.2.3-r0) 20:36:17 (68/82) Installing x264-libs (0.163_git20210613-r0) 20:36:17 (69/82) Installing numactl (2.0.14-r0) 20:36:17 (70/82) Installing x265-libs (3.5-r3) 20:36:17 (71/82) Installing xvidcore (1.3.7-r1) 20:36:17 (72/82) Installing ffmpeg-libs (5.0.1-r1) 20:36:17 (73/82) Installing ffmpeg (5.0.1-r1) 20:36:17 (74/82) Installing udev-init-scripts (35-r0) 20:36:17 Executing udev-init-scripts-35-r0.post-install 20:36:17 (75/82) Installing eudev-libs (3.2.11-r0) 20:36:17 (76/82) Installing xz-libs (5.2.5-r1) 20:36:17 (77/82) Installing zstd-libs (1.5.2-r1) 20:36:17 (78/82) Installing kmod-libs (29-r2) 20:36:17 (79/82) Installing eudev (3.2.11-r0) 20:36:17 (80/82) Installing libsodium (1.0.18-r0) 20:36:17 (81/82) Installing libzmq (4.3.4-r0) 20:36:17 (82/82) Installing zeromq (4.3.4-r0) 20:36:17 Executing busybox-1.35.0-r17.trigger 20:36:17 Executing eudev-3.2.11-r0.trigger 20:36:17 OK: 78 MiB in 96 packages 20:36:21 Removing intermediate container 81733e1dd9e7 20:36:21 ---> a6bcaeff3d37 20:36:21 Step 19/36 : WORKDIR / 20:36:21 ---> Running in 9d86a8243191 20:36:21 Removing intermediate container 9d86a8243191 20:36:21 ---> 6a55ddaa5a4d 20:36:21 Step 20/36 : COPY --from=builder /device-usb-camera/cmd / 20:36:23 ---> 37ebba202c3f 20:36:23 Step 21/36 : COPY --from=builder /device-usb-camera/LICENSE / 20:36:23 ---> 901a00cbb564 20:36:23 Step 22/36 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 20:36:24 ---> 2fc5b3d1d2a4 20:36:24 Step 23/36 : COPY --from=builder /device-usb-camera/Attribution.txt / 20:36:24 ---> 9dfc8b20ccbc 20:36:24 Step 24/36 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 20:36:25 ---> c45488fbd793 20:36:25 Step 25/36 : COPY --from=rtsp /rtsp-simple-server.yml / 20:36:25 ---> f1d8de7664f9 20:36:25 Step 26/36 : COPY --from=rtsp /rtsp-simple-server / 20:36:27 ---> 18a2232775f0 20:36:27 Step 27/36 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 20:36:27 ---> Running in 0a4ea3904055 20:36:28 Removing intermediate container 0a4ea3904055 20:36:28 ---> d5b8e0f9051c 20:36:28 Step 28/36 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 20:36:29 ---> Running in 8eda4ec0d389 20:36:31 Removing intermediate container 8eda4ec0d389 20:36:31 ---> 4641f7eb131e 20:36:31 Step 29/36 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 20:36:31 ---> Running in 9d3a58665d2d 20:36:32 Removing intermediate container 9d3a58665d2d 20:36:32 ---> aabe69d6d27a 20:36:32 Step 30/36 : EXPOSE 59983 20:36:32 ---> Running in fe2d8852129a 20:36:32 Removing intermediate container fe2d8852129a 20:36:32 ---> b3fdca939f69 20:36:32 Step 31/36 : EXPOSE 8554 20:36:33 ---> Running in d0a26b8250bd 20:36:33 Removing intermediate container d0a26b8250bd 20:36:33 ---> 979198b6b145 20:36:33 Step 32/36 : ENTRYPOINT ["/docker-entrypoint.sh"] 20:36:33 ---> Running in 4dbd39ff8465 20:36:33 Removing intermediate container 4dbd39ff8465 20:36:33 ---> cbeab19fafeb 20:36:33 Step 33/36 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 20:36:33 ---> Running in c328ba7ab6c6 20:36:33 Removing intermediate container c328ba7ab6c6 20:36:33 ---> b3c18d442290 20:36:33 Step 34/36 : LABEL arch=arm64 20:36:34 ---> Running in e3328aad6023 20:36:34 Removing intermediate container e3328aad6023 20:36:34 ---> f37c11ccc8b3 20:36:34 Step 35/36 : LABEL git_sha=695cbf35e7563b7af803532131954c37e2b367cb 20:36:34 ---> Running in f55b1fafa0b8 20:36:34 Removing intermediate container f55b1fafa0b8 20:36:34 ---> 632dd43aaea4 20:36:34 Step 36/36 : LABEL version=2.3.0-dev.17 20:36:34 ---> Running in 812e8f9eee83 20:36:34 Removing intermediate container 812e8f9eee83 20:36:34 ---> 6858ef205943 20:36:34 [Warning] One or more build-args [ARCH] were not consumed 20:36:35 Successfully built 6858ef205943 20:36:35 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 20:36:35 provisioning config files... 20:36:35 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/56@tmp/config12012822049817201135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:35 ---> docker-login.sh 20:36:35 nexus3.edgexfoundry.org:10001 20:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:35 Configure a credential helper to remove this warning. See 20:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:35 20:36:35 Login Succeeded 20:36:35 nexus3.edgexfoundry.org:10002 20:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:36 Configure a credential helper to remove this warning. See 20:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:36 20:36:36 Login Succeeded 20:36:36 nexus3.edgexfoundry.org:10003 20:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:36 Configure a credential helper to remove this warning. See 20:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:36 20:36:36 Login Succeeded 20:36:36 nexus3.edgexfoundry.org:10004 20:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:37 Configure a credential helper to remove this warning. See 20:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:37 20:36:37 Login Succeeded 20:36:37 docker.io 20:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:37 Configure a credential helper to remove this warning. See 20:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:37 20:36:37 Login Succeeded 20:36:37 ---> docker-login.sh ends [Pipeline] } 20:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:37 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 20:36:37 695cbf35e7563b7af803532131954c37e2b367cb 20:36:37 latest 20:36:37 2.3.0-dev.17 20:36:37 695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:36:37 main 20:36:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:38 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:38 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb 20:36:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:36:38 743016aa6d5d: Preparing 20:36:38 b3dbea44d205: Preparing 20:36:38 002c4c1f9ad4: Preparing 20:36:38 a43932d1df72: Preparing 20:36:38 1207169bf42c: Preparing 20:36:38 406a90a5b54e: Preparing 20:36:38 c861746bd18b: Preparing 20:36:38 3e3a6d2d9813: Preparing 20:36:38 987a3bf51a67: Preparing 20:36:38 f82800150bd3: Preparing 20:36:38 6af52523f095: Preparing 20:36:38 5d3e392a13a0: Preparing 20:36:38 3e3a6d2d9813: Waiting 20:36:38 987a3bf51a67: Waiting 20:36:38 f82800150bd3: Waiting 20:36:38 6af52523f095: Waiting 20:36:38 5d3e392a13a0: Waiting 20:36:38 406a90a5b54e: Waiting 20:36:38 1207169bf42c: Pushed 20:36:38 b3dbea44d205: Pushed 20:36:38 002c4c1f9ad4: Pushed 20:36:38 743016aa6d5d: Pushed 20:36:39 406a90a5b54e: Pushed 20:36:39 c861746bd18b: Pushed 20:36:39 3e3a6d2d9813: Pushed 20:36:39 987a3bf51a67: Pushed 20:36:39 5d3e392a13a0: Layer already exists 20:36:43 a43932d1df72: Pushed 20:36:44 f82800150bd3: Pushed 20:36:54 6af52523f095: Pushed 20:36:54 695cbf35e7563b7af803532131954c37e2b367cb: digest: sha256:5f62f5f1662e97e81b439790c46c4f8985bda08d420b8745363a3600be4f92f2 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:54 + 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 20:36:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:36:55 743016aa6d5d: Preparing 20:36:55 b3dbea44d205: Preparing 20:36:55 002c4c1f9ad4: Preparing 20:36:55 a43932d1df72: Preparing 20:36:55 1207169bf42c: Preparing 20:36:55 406a90a5b54e: Preparing 20:36:55 c861746bd18b: Preparing 20:36:55 3e3a6d2d9813: Preparing 20:36:55 987a3bf51a67: Preparing 20:36:55 f82800150bd3: Preparing 20:36:55 6af52523f095: Preparing 20:36:55 5d3e392a13a0: Preparing 20:36:55 3e3a6d2d9813: Waiting 20:36:55 987a3bf51a67: Waiting 20:36:55 f82800150bd3: Waiting 20:36:55 6af52523f095: Waiting 20:36:55 5d3e392a13a0: Waiting 20:36:55 406a90a5b54e: Waiting 20:36:55 c861746bd18b: Waiting 20:36:55 b3dbea44d205: Layer already exists 20:36:55 743016aa6d5d: Layer already exists 20:36:55 002c4c1f9ad4: Layer already exists 20:36:55 1207169bf42c: Layer already exists 20:36:55 a43932d1df72: Layer already exists 20:36:55 987a3bf51a67: Layer already exists 20:36:55 c861746bd18b: Layer already exists 20:36:55 3e3a6d2d9813: Layer already exists 20:36:55 406a90a5b54e: Layer already exists 20:36:55 f82800150bd3: Layer already exists 20:36:55 6af52523f095: Layer already exists 20:36:55 5d3e392a13a0: Layer already exists 20:36:55 latest: digest: sha256:5f62f5f1662e97e81b439790c46c4f8985bda08d420b8745363a3600be4f92f2 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:55 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:55 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.17 20:36:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:36:55 743016aa6d5d: Preparing 20:36:55 b3dbea44d205: Preparing 20:36:55 002c4c1f9ad4: Preparing 20:36:55 a43932d1df72: Preparing 20:36:55 1207169bf42c: Preparing 20:36:55 406a90a5b54e: Preparing 20:36:55 c861746bd18b: Preparing 20:36:55 3e3a6d2d9813: Preparing 20:36:55 987a3bf51a67: Preparing 20:36:55 f82800150bd3: Preparing 20:36:55 6af52523f095: Preparing 20:36:55 5d3e392a13a0: Preparing 20:36:55 987a3bf51a67: Waiting 20:36:55 406a90a5b54e: Waiting 20:36:55 f82800150bd3: Waiting 20:36:55 6af52523f095: Waiting 20:36:55 5d3e392a13a0: Waiting 20:36:55 c861746bd18b: Waiting 20:36:55 3e3a6d2d9813: Waiting 20:36:55 b3dbea44d205: Layer already exists 20:36:55 002c4c1f9ad4: Layer already exists 20:36:55 1207169bf42c: Layer already exists 20:36:55 a43932d1df72: Layer already exists 20:36:55 743016aa6d5d: Layer already exists 20:36:55 987a3bf51a67: Layer already exists 20:36:55 406a90a5b54e: Layer already exists 20:36:55 3e3a6d2d9813: Layer already exists 20:36:55 c861746bd18b: Layer already exists 20:36:55 f82800150bd3: Layer already exists 20:36:55 6af52523f095: Layer already exists 20:36:55 5d3e392a13a0: Layer already exists 20:36:56 2.3.0-dev.17: digest: sha256:5f62f5f1662e97e81b439790c46c4f8985bda08d420b8745363a3600be4f92f2 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:56 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:36:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:36:56 743016aa6d5d: Preparing 20:36:56 b3dbea44d205: Preparing 20:36:56 002c4c1f9ad4: Preparing 20:36:56 a43932d1df72: Preparing 20:36:56 1207169bf42c: Preparing 20:36:56 406a90a5b54e: Preparing 20:36:56 c861746bd18b: Preparing 20:36:56 3e3a6d2d9813: Preparing 20:36:56 987a3bf51a67: Preparing 20:36:56 f82800150bd3: Preparing 20:36:56 6af52523f095: Preparing 20:36:56 5d3e392a13a0: Preparing 20:36:56 987a3bf51a67: Waiting 20:36:56 f82800150bd3: Waiting 20:36:56 5d3e392a13a0: Waiting 20:36:56 406a90a5b54e: Waiting 20:36:56 6af52523f095: Waiting 20:36:56 c861746bd18b: Waiting 20:36:56 3e3a6d2d9813: Waiting 20:36:56 1207169bf42c: Layer already exists 20:36:56 743016aa6d5d: Layer already exists 20:36:56 002c4c1f9ad4: Layer already exists 20:36:56 b3dbea44d205: Layer already exists 20:36:56 a43932d1df72: Layer already exists 20:36:56 987a3bf51a67: Layer already exists 20:36:56 406a90a5b54e: Layer already exists 20:36:56 3e3a6d2d9813: Layer already exists 20:36:56 f82800150bd3: Layer already exists 20:36:56 c861746bd18b: Layer already exists 20:36:56 5d3e392a13a0: Layer already exists 20:36:56 6af52523f095: Layer already exists 20:36:57 695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17: digest: sha256:5f62f5f1662e97e81b439790c46c4f8985bda08d420b8745363a3600be4f92f2 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:57 + 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 20:36:57 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:main 20:36:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 20:36:58 743016aa6d5d: Preparing 20:36:58 b3dbea44d205: Preparing 20:36:58 002c4c1f9ad4: Preparing 20:36:58 a43932d1df72: Preparing 20:36:58 1207169bf42c: Preparing 20:36:58 406a90a5b54e: Preparing 20:36:58 c861746bd18b: Preparing 20:36:58 3e3a6d2d9813: Preparing 20:36:58 987a3bf51a67: Preparing 20:36:58 f82800150bd3: Preparing 20:36:58 6af52523f095: Preparing 20:36:58 5d3e392a13a0: Preparing 20:36:58 406a90a5b54e: Waiting 20:36:58 c861746bd18b: Waiting 20:36:58 3e3a6d2d9813: Waiting 20:36:58 987a3bf51a67: Waiting 20:36:58 f82800150bd3: Waiting 20:36:58 6af52523f095: Waiting 20:36:58 5d3e392a13a0: Waiting 20:36:58 b3dbea44d205: Layer already exists 20:36:58 1207169bf42c: Layer already exists 20:36:58 a43932d1df72: Layer already exists 20:36:58 002c4c1f9ad4: Layer already exists 20:36:58 743016aa6d5d: Layer already exists 20:36:58 c861746bd18b: Layer already exists 20:36:58 3e3a6d2d9813: Layer already exists 20:36:58 987a3bf51a67: Layer already exists 20:36:58 f82800150bd3: Layer already exists 20:36:58 406a90a5b54e: Layer already exists 20:36:58 5d3e392a13a0: Layer already exists 20:36:58 6af52523f095: Layer already exists 20:36:58 main: digest: sha256:5f62f5f1662e97e81b439790c46c4f8985bda08d420b8745363a3600be4f92f2 size: 2825 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:36:58 ===================================================== [Pipeline] echo 20:36:58 taggedImages: 20:36:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb 20:36:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 20:36:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.0-dev.17 20:36:58 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:695cbf35e7563b7af803532131954c37e2b367cb-2.3.0-dev.17 20:36:58 - 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 20:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:58 20:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:36:59 arm64: Pulling from edgex-lftools-log-publisher 20:36:59 8998bd30e6a1: Pulling fs layer 20:36:59 04944245beec: Pulling fs layer 20:36:59 699f458cf7ca: Pulling fs layer 20:36:59 765212b225bb: Pulling fs layer 20:36:59 f23df028b6ca: Pulling fs layer 20:36:59 d65c8cfc05b1: Pulling fs layer 20:36:59 2437ff75d9bd: Pulling fs layer 20:36:59 765212b225bb: Waiting 20:36:59 f23df028b6ca: Waiting 20:36:59 d65c8cfc05b1: Waiting 20:36:59 2437ff75d9bd: Waiting 20:36:59 04944245beec: Verifying Checksum 20:36:59 04944245beec: Download complete 20:36:59 765212b225bb: Download complete 20:36:59 f23df028b6ca: Verifying Checksum 20:36:59 f23df028b6ca: Download complete 20:36:59 d65c8cfc05b1: Verifying Checksum 20:36:59 d65c8cfc05b1: Download complete 20:36:59 699f458cf7ca: Verifying Checksum 20:36:59 699f458cf7ca: Download complete 20:37:00 8998bd30e6a1: Verifying Checksum 20:37:02 2437ff75d9bd: Verifying Checksum 20:37:02 2437ff75d9bd: Download complete 20:37:04 8998bd30e6a1: Pull complete 20:37:04 04944245beec: Pull complete 20:37:06 699f458cf7ca: Pull complete 20:37:06 765212b225bb: Pull complete 20:37:06 f23df028b6ca: Pull complete 20:37:07 d65c8cfc05b1: Pull complete 20:37:22 2437ff75d9bd: Pull complete 20:37:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:37:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:22 prd-ubuntu20.04-docker-arm64-4c-16g-8411 does not seem to be running inside a container 20:37:22 $ 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/56 -v /w/workspace/device-usb-camera/56:/w/workspace/device-usb-camera/56:rw,z -v /w/workspace/device-usb-camera/56@tmp:/w/workspace/device-usb-camera/56@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 20:37:25 $ docker top a2dca09fe7aad982c9fb50ef1a46cfc84644bf23a46301eac9956e52bcdd4f1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:37:26 ---> job-cost.sh 20:37:26 lf-activate-venv: SKIPPING 20:37:26 INFO: No Stack... 20:37:26 INFO: Retrieving Pricing Info for: v3-standard-4 20:37:27 INFO: Archiving Costs [Pipeline] sh 20:37:27 + cat /w/workspace/device-usb-camera/56/archives/cost.csv 20:37:27 + cut -d, -f6 [Pipeline] lock 20:37:27 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] 20:37:27 Resource [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] did not exist. Created. 20:37:27 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:37:28 /w/workspace/device-usb-camera/56@tmp/durable-876b322b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:37:29 + echo total: 0.10999999940395355 [Pipeline] stash 20:37:29 Warning: overwriting stash ‘stack-cost’ 20:37:29 Stashed 1 file(s) [Pipeline] } 20:37:29 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-main-56-stack-cost] [Pipeline] // lock [Pipeline] } 20:37:29 $ docker stop --time=1 a2dca09fe7aad982c9fb50ef1a46cfc84644bf23a46301eac9956e52bcdd4f1a 20:37:30 $ docker rm -f a2dca09fe7aad982c9fb50ef1a46cfc84644bf23a46301eac9956e52bcdd4f1a [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 20:37:31 provisioning config files... 20:37:31 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config12507902301841267102tmp [Pipeline] { [Pipeline] sh 20:37:31 + set +x 20:37:31 + bash -s -- 20:37:31 + curl -s https://codecov.io/bash 20:37:31 20:37:31 _____ _ 20:37:31 / ____| | | 20:37:31 | | ___ __| | ___ ___ _____ __ 20:37:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:37:31 | |___| (_) | (_| | __/ (_| (_) \ V / 20:37:31 \_____\___/ \__,_|\___|\___\___/ \_/ 20:37:31 Bash-1.0.6 20:37:31 20:37:31 20:37:31 ==> git version 2.25.1 found 20:37:31 ==> 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 20:37:31 Release-Date: 2020-01-08 20:37:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:37:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:37:31 ==> Jenkins CI detected. 20:37:31 current dir:  /w/workspace/exfoundry_device-usb-camera_main 20:37:31 project root: . 20:37:31 --> token set from env 20:37:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:37:31 ==> Running gcov in . (disable via -X gcov) 20:37:31 ==> Python coveragepy not found 20:37:31 ==> Searching for coverage reports in: 20:37:31 + . 20:37:31 -> Found 1 reports 20:37:31 ==> Detecting git/mercurial file structure 20:37:31 ==> Reading reports 20:37:31 + ./coverage.out bytes=29387 20:37:31 ==> Appending adjustments 20:37:31 https://docs.codecov.io/docs/fixing-reports 20:37:31 + Found adjustments 20:37:31 ==> Gzipping contents 20:37:31 8.0K /tmp/codecov.RftAWW.gz 20:37:31 ==> Uploading reports 20:37:31 url: https://codecov.io 20:37:31 query: branch=main&commit=695cbf35e7563b7af803532131954c37e2b367cb&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:37:31 -> Pinging Codecov 20:37:31 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=695cbf35e7563b7af803532131954c37e2b367cb&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 20:37:32 -> Uploading to 20:37:32 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/73D8F5FF140700D3E01443B452E23636/695cbf35e7563b7af803532131954c37e2b367cb/c627dced-58b1-46dc-ad21-6e370e0e9137.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T203732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c40be4f25a6c0e4fbc0f04ecfd1d7073e11d47adcafb10d3f2cdda705cab2605 20:37:32 % Total % Received % Xferd Average Speed Time Time Time Current 20:37:32 Dload Upload Total Spent Left Speed 20:37:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4175 0 0 100 4175 0 18891 --:--:-- --:--:-- --:--:-- 18806 100 4175 0 0 100 4175 0 17690 --:--:-- --:--:-- --:--:-- 17616 20:37:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] } 20:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:37:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:37:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:37:33 20:37:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:37:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:37:33 df9b9388f04a: Pulling fs layer 20:37:33 52dc419b0ee2: Pulling fs layer 20:37:33 25bc292e5bac: Pulling fs layer 20:37:33 114826534d7a: Pulling fs layer 20:37:33 4657fd5d0bcf: Pulling fs layer 20:37:33 6ad1cebc031e: Pulling fs layer 20:37:33 8a3aa393b2d8: Pulling fs layer 20:37:33 4657fd5d0bcf: Waiting 20:37:33 6ad1cebc031e: Waiting 20:37:33 8a3aa393b2d8: Waiting 20:37:33 114826534d7a: Waiting 20:37:33 25bc292e5bac: Verifying Checksum 20:37:33 25bc292e5bac: Download complete 20:37:33 52dc419b0ee2: Download complete 20:37:33 4657fd5d0bcf: Verifying Checksum 20:37:33 4657fd5d0bcf: Download complete 20:37:33 df9b9388f04a: Download complete 20:37:33 6ad1cebc031e: Verifying Checksum 20:37:33 6ad1cebc031e: Download complete 20:37:33 df9b9388f04a: Pull complete 20:37:33 52dc419b0ee2: Pull complete 20:37:33 25bc292e5bac: Pull complete 20:37:34 114826534d7a: Verifying Checksum 20:37:34 114826534d7a: Download complete 20:37:34 8a3aa393b2d8: Verifying Checksum 20:37:34 8a3aa393b2d8: Download complete 20:37:37 114826534d7a: Pull complete 20:37:37 4657fd5d0bcf: Pull complete 20:37:37 6ad1cebc031e: Pull complete 20:37:40 8a3aa393b2d8: Pull complete 20:37:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:37:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:37:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:40 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:37:43 $ docker top 9c625505df47d6ebb9d41717084c6d576573c147126a76d0b3bcaca54a2bc5cf -eo pid,comm [Pipeline] { [Pipeline] echo 20:37:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:main' [Pipeline] sh 20:37:43 + set -o pipefail 20:37:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:main' 20:37:48 20:37:48 Monitoring /w/workspace/exfoundry_device-usb-camera_main (github.com/edgexfoundry/device-usb-camera)... 20:37:48 20:37:48 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bdb14ab0-0d5f-4d79-9d3c-333131f95750/history/827028db-7346-4889-956d-6630e36fa8a1 20:37:48 20:37:48 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:37:48 20:37:48 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:37:48 20:37:48 20:37:48 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:37:48 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:37:48 More details here: https://snyk.co/ue1NS [Pipeline] } 20:37:48 $ docker stop --time=1 9c625505df47d6ebb9d41717084c6d576573c147126a76d0b3bcaca54a2bc5cf 20:37:51 $ docker rm -f 9c625505df47d6ebb9d41717084c6d576573c147126a76d0b3bcaca54a2bc5cf [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 20:37:52 + git log --format=format:%s -1 695cbf35e7563b7af803532131954c37e2b367cb [Pipeline] sh 20:37:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:37:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:37:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:53 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:37:53 $ docker top 35babf072b4687fa8aef93da420ee18f36e476bf9221b2c451b603089a8c4831 -eo pid,comm 20:37:53 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:37:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:37:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:37:53 [ssh-agent] Looking for ssh-agent implementation... 20:37:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:37:53 $ docker exec 35babf072b4687fa8aef93da420ee18f36e476bf9221b2c451b603089a8c4831 ssh-agent 20:37:53 SSH_AUTH_SOCK=/tmp/ssh-0iNlGsg2NUVV/agent.32 20:37:53 SSH_AGENT_PID=38 20:37:53 Running ssh-add (command line suppressed) 20:37:53 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5491311539301628566.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_5491311539301628566.key) 20:37:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:37:54 + git semver tag 20:37:54 2022-10-17 20:37:54,325 [run_tag] DEBUG tag force:False 20:37:54 2022-10-17 20:37:54,325 [check_head_tag] DEBUG check head tag 20:37:54 2022-10-17 20:37:54,326 [execute] INFO git cat-file --batch-check 20:37:54 2022-10-17 20:37:54,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:37:54 2022-10-17 20:37:54,330 [execute] INFO git cat-file --batch 20:37:54 2022-10-17 20:37:54,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=) 20:37:54 2022-10-17 20:37:54,343 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:37:54 2022-10-17 20:37:54,343 [execute] INFO git tag -a v2.3.0-dev.17 -m v2.3.0-dev.17 20:37:54 2022-10-17 20:37:54,343 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.17', '-m', 'v2.3.0-dev.17'], cwd=/w/workspace/exfoundry_device-usb-camera_main, universal_newlines=False, shell=None, istream=None) 20:37:54 2022-10-17 20:37:54,348 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:37:54 2.3.0-dev.17 [Pipeline] } 20:37:54 $ docker exec --env ******** --env ******** 35babf072b4687fa8aef93da420ee18f36e476bf9221b2c451b603089a8c4831 ssh-agent -k 20:37:54 unset SSH_AUTH_SOCK; 20:37:54 unset SSH_AGENT_PID; 20:37:54 echo Agent pid 38 killed; 20:37:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:37:54 + git semver [Pipeline] } 20:37:55 $ docker stop --time=1 35babf072b4687fa8aef93da420ee18f36e476bf9221b2c451b603089a8c4831 20:37:56 $ docker rm -f 35babf072b4687fa8aef93da420ee18f36e476bf9221b2c451b603089a8c4831 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:37:56 20:37:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:37:57 0.23.1-centos7: Pulling from edgex-lftools 20:37:57 ab5ef0e58194: Pulling fs layer 20:37:57 9712f1f96733: Pulling fs layer 20:37:57 63f879dbbcfc: Pulling fs layer 20:37:57 0d9ebad4ef96: Pulling fs layer 20:37:57 e9a5061849ea: Pulling fs layer 20:37:57 d747dcd14b5f: Pulling fs layer 20:37:57 2de7ff778b66: Pulling fs layer 20:37:57 d747dcd14b5f: Waiting 20:37:57 e9a5061849ea: Waiting 20:37:57 2de7ff778b66: Waiting 20:37:57 0d9ebad4ef96: Waiting 20:37:57 9712f1f96733: Download complete 20:37:57 63f879dbbcfc: Verifying Checksum 20:37:57 63f879dbbcfc: Download complete 20:37:57 e9a5061849ea: Verifying Checksum 20:37:57 e9a5061849ea: Download complete 20:37:57 ab5ef0e58194: Verifying Checksum 20:37:57 ab5ef0e58194: Download complete 20:37:57 d747dcd14b5f: Verifying Checksum 20:37:57 d747dcd14b5f: Download complete 20:37:57 0d9ebad4ef96: Verifying Checksum 20:37:57 0d9ebad4ef96: Download complete 20:37:57 2de7ff778b66: Verifying Checksum 20:37:57 2de7ff778b66: Download complete 20:38:00 ab5ef0e58194: Pull complete 20:38:00 9712f1f96733: Pull complete 20:38:00 63f879dbbcfc: Pull complete 20:38:03 0d9ebad4ef96: Pull complete 20:38:04 e9a5061849ea: Pull complete 20:38:04 d747dcd14b5f: Pull complete 20:38:05 2de7ff778b66: Pull complete 20:38:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:38:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:38:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:05 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:38:08 $ docker top 5bcaf6bc5041f0445782b0341289b3af672066573e11b50e8d9dc7bc7990459d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:38:08 provisioning config files... 20:38:08 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config3391053108205769415tmp 20:38:08 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config2870301491316033470tmp 20:38:08 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config15528798217953544717tmp [Pipeline] { [Pipeline] echo 20:38:08 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:38:08 ---> sigul-configuration.sh 20:38:08 gpg: directory `/root/.gnupg' created 20:38:08 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:38:08 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:38:08 gpg: keyring `/root/.gnupg/secring.gpg' created 20:38:08 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:38:08 gpg: CAST5 encrypted data 20:38:08 gpg: encrypted with 1 passphrase 20:38:08 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:38:09 + mkdir /home/jenkins 20:38:09 + mkdir /home/jenkins/sigul [Pipeline] sh 20:38:09 + 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 20:38:09 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:38:09 ---> sigul-install.sh 20:38:09 Sigul already installed; skipping installation. [Pipeline] sh 20:38:10 + git tag --list 20:38:10 v0.0.0 20:38:10 v0.0.1-dev.1 20:38:10 v0.0.1-dev.10 20:38:10 v0.0.1-dev.11 20:38:10 v0.0.1-dev.12 20:38:10 v0.0.1-dev.13 20:38:10 v0.0.1-dev.14 20:38:10 v0.0.1-dev.15 20:38:10 v0.0.1-dev.16 20:38:10 v0.0.1-dev.2 20:38:10 v0.0.1-dev.3 20:38:10 v0.0.1-dev.4 20:38:10 v0.0.1-dev.5 20:38:10 v0.0.1-dev.6 20:38:10 v0.0.1-dev.7 20:38:10 v0.0.1-dev.8 20:38:10 v0.0.1-dev.9 20:38:10 v2.2.0 20:38:10 v2.2.0-dev.17 20:38:10 v2.2.0-dev.18 20:38:10 v2.2.0-dev.19 20:38:10 v2.2.0-dev.20 20:38:10 v2.2.0-dev.21 20:38:10 v2.2.0-dev.22 20:38:10 v2.2.0-dev.23 20:38:10 v2.2.0-dev.24 20:38:10 v2.2.0-dev.25 20:38:10 v2.2.0-dev.26 20:38:10 v2.2.0-dev.27 20:38:10 v2.3.0-dev.1 20:38:10 v2.3.0-dev.10 20:38:10 v2.3.0-dev.11 20:38:10 v2.3.0-dev.12 20:38:10 v2.3.0-dev.13 20:38:10 v2.3.0-dev.14 20:38:10 v2.3.0-dev.15 20:38:10 v2.3.0-dev.16 20:38:10 v2.3.0-dev.17 20:38:10 v2.3.0-dev.2 20:38:10 v2.3.0-dev.3 20:38:10 v2.3.0-dev.4 20:38:10 v2.3.0-dev.5 20:38:10 v2.3.0-dev.6 20:38:10 v2.3.0-dev.7 20:38:10 v2.3.0-dev.8 20:38:10 v2.3.0-dev.9 [Pipeline] sh 20:38:10 + lftools sign git-tag v2.3.0-dev.17 20:38:10 Signing Git tag with Sigul... 20:38:10 Signing v2.3.0-dev.17 [Pipeline] echo 20:38:11 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:38:11 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:38:11 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:38:11 $ docker stop --time=1 5bcaf6bc5041f0445782b0341289b3af672066573e11b50e8d9dc7bc7990459d 20:38:12 $ docker rm -f 5bcaf6bc5041f0445782b0341289b3af672066573e11b50e8d9dc7bc7990459d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:38:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:38:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:13 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:38:13 $ docker top d99bc3eb4cce81df015f18ce1afb4c18f6fcb193734c159e7fd5ad3b708c8671 -eo pid,comm 20:38:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:38:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:38:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:13 [ssh-agent] Looking for ssh-agent implementation... 20:38:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:14 $ docker exec d99bc3eb4cce81df015f18ce1afb4c18f6fcb193734c159e7fd5ad3b708c8671 ssh-agent 20:38:14 SSH_AUTH_SOCK=/tmp/ssh-lHv9Q5Ttgi5P/agent.33 20:38:14 SSH_AGENT_PID=39 20:38:14 Running ssh-add (command line suppressed) 20:38:14 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16277556097120930030.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_16277556097120930030.key) 20:38:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:14 + git semver bump pre 20:38:14 2022-10-17 20:38:14,764 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:38:14 2022-10-17 20:38:14,764 [bump_version] DEBUG bumping version:2.3.0-dev.17 on axis:pre with prefix:dev 20:38:14 2022-10-17 20:38:14,765 [bump_version] DEBUG bumped version:2.3.0-dev.18 20:38:14 2022-10-17 20:38:14,765 [write_version] DEBUG write version:2.3.0-dev.18 to path:/w/workspace/exfoundry_device-usb-camera_main/.semver/main with force:True 20:38:14 2022-10-17 20:38:14,765 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:38:14 2022-10-17 20:38:14,765 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:38:14 2022-10-17 20:38:14,767 [execute] INFO git cat-file --batch-check 20:38:14 2022-10-17 20:38:14,767 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:38:14 2022-10-17 20:38:14,773 [execute] INFO git cat-file --batch 20:38:14 2022-10-17 20:38:14,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:38:14 2022-10-17 20:38:14,778 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:38:14 2.3.0-dev.18 [Pipeline] } 20:38:14 $ docker exec --env ******** --env ******** d99bc3eb4cce81df015f18ce1afb4c18f6fcb193734c159e7fd5ad3b708c8671 ssh-agent -k 20:38:14 unset SSH_AUTH_SOCK; 20:38:14 unset SSH_AGENT_PID; 20:38:14 echo Agent pid 39 killed; 20:38:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:38:15 + git semver [Pipeline] } 20:38:15 $ docker stop --time=1 d99bc3eb4cce81df015f18ce1afb4c18f6fcb193734c159e7fd5ad3b708c8671 20:38:16 $ docker rm -f d99bc3eb4cce81df015f18ce1afb4c18f6fcb193734c159e7fd5ad3b708c8671 [Pipeline] // withDockerContainer [Pipeline] sh 20:38:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:38:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:38:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:17 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:38:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:38:17 $ docker top b9abb880eacf52e242d4da5f9771b30b4b61deab2b97f3685167b2a9e39a4b27 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:38:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:38:17 [ssh-agent] Looking for ssh-agent implementation... 20:38:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:38:18 $ docker exec b9abb880eacf52e242d4da5f9771b30b4b61deab2b97f3685167b2a9e39a4b27 ssh-agent 20:38:18 SSH_AUTH_SOCK=/tmp/ssh-1pDVE5kEHg9d/agent.33 20:38:18 SSH_AGENT_PID=39 20:38:18 Running ssh-add (command line suppressed) 20:38:18 Identity added: /w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6777211006045396623.key (/w/workspace/exfoundry_device-usb-camera_main@tmp/private_key_6777211006045396623.key) 20:38:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:38:18 + git semver push 20:38:18 2022-10-17 20:38:18,757 [run_push] DEBUG push 20:38:18 2022-10-17 20:38:18,758 [execute] INFO git cat-file --batch-check 20:38:18 2022-10-17 20:38:18,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=) 20:38:18 2022-10-17 20:38:18,762 [execute] INFO git rev-list a7dfedcf2b8d33dad173d57dd4de8dcc7cb205ff -- 20:38:18 2022-10-17 20:38:18,762 [execute] DEBUG Popen(['git', 'rev-list', 'a7dfedcf2b8d33dad173d57dd4de8dcc7cb205ff', '--'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:38:18 2022-10-17 20:38:18,767 [execute] INFO git fetch -v origin 20:38:18 2022-10-17 20:38:18,767 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 20:38:19 2022-10-17 20:38:19,338 [run_push] DEBUG no remote changes detected 20:38:19 2022-10-17 20:38:19,338 [execute] INFO git push origin semver 20:38:19 2022-10-17 20:38:19,339 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-usb-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 20:38:20 2022-10-17 20:38:20,115 [run_push] DEBUG push all version tags 20:38:20 2022-10-17 20:38:20,116 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:38:20 2022-10-17 20:38:20,116 [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) 20:38:20 2022-10-17 20:38:20,932 [read_version] DEBUG read version from /w/workspace/exfoundry_device-usb-camera_main/.semver/main 20:38:20 2.3.0-dev.18 [Pipeline] } 20:38:20 $ docker exec --env ******** --env ******** b9abb880eacf52e242d4da5f9771b30b4b61deab2b97f3685167b2a9e39a4b27 ssh-agent -k 20:38:21 unset SSH_AUTH_SOCK; 20:38:21 unset SSH_AGENT_PID; 20:38:21 echo Agent pid 39 killed; 20:38:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:38:21 + git semver [Pipeline] } 20:38:21 $ docker stop --time=1 b9abb880eacf52e242d4da5f9771b30b4b61deab2b97f3685167b2a9e39a4b27 20:38:22 $ docker rm -f b9abb880eacf52e242d4da5f9771b30b4b61deab2b97f3685167b2a9e39a4b27 [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 20:38:23 + [ -d /w/workspace/exfoundry_device-usb-camera_main/archives ] 20:38:23 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:38:23 total 16 20:38:23 drwxr-xr-x 3 root root 4096 Oct 17 20:27 . 20:38:23 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 20:38 .. 20:38:23 drwxr-xr-x 2 root root 4096 Oct 17 20:27 cost 20:38:23 -rw-r--r-- 1 root root 88 Oct 17 20:27 cost.csv 20:38:23 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-usb-camera_main/archives 20:38:23 + ls -al /w/workspace/exfoundry_device-usb-camera_main/archives 20:38:23 total 16 20:38:23 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:27 . 20:38:23 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 20:38 .. 20:38:23 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:27 cost 20:38:23 -rw-r--r-- 1 jenkins jenkins 88 Oct 17 20:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:38:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:38:24 ---> package-listing.sh 20:38:24 ++ facter osfamily 20:38:24 ++ tr '[:upper:]' '[:lower:]' 20:38:24 + OS_FAMILY=debian 20:38:24 + workspace=/w/workspace/exfoundry_device-usb-camera_main 20:38:24 + START_PACKAGES=/tmp/packages_start.txt 20:38:24 + END_PACKAGES=/tmp/packages_end.txt 20:38:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:38:24 + PACKAGES=/tmp/packages_start.txt 20:38:24 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:38:24 + PACKAGES=/tmp/packages_end.txt 20:38:24 + case "${OS_FAMILY}" in 20:38:24 + dpkg -l 20:38:24 + grep '^ii' 20:38:24 + '[' -f /tmp/packages_start.txt ']' 20:38:24 + '[' -f /tmp/packages_end.txt ']' 20:38:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:38:24 + '[' /w/workspace/exfoundry_device-usb-camera_main ']' 20:38:24 + mkdir -p /w/workspace/exfoundry_device-usb-camera_main/archives/ 20:38:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-usb-camera_main/archives/ [Pipeline] echo 20:38:24 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 20:38:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:25 prd-ubuntu20.04-docker-8c-8g-8407 does not seem to be running inside a container 20:38:25 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/exfoundry_device-usb-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-usb-camera_main -v /w/workspace/exfoundry_device-usb-camera_main:/w/workspace/exfoundry_device-usb-camera_main:rw,z -v /w/workspace/exfoundry_device-usb-camera_main@tmp:/w/workspace/exfoundry_device-usb-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:38:25 $ docker top e30961076c3eeba661e751bbcf322e9dc7e2d79653d4bc1f706db05f92935e4c -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:26 + touch /tmp/pre-build-complete [Pipeline] sh 20:38:26 + mkdir -p /var/log/sysstat [Pipeline] sh 20:38:26 + ls /var/log/sa-host 20:38:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:26 provisioning config files... 20:38:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-usb-camera_main@tmp/config14396230286964288222tmp [Pipeline] { [Pipeline] echo 20:38:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:38:27 ---> create-netrc.sh [Pipeline] } 20:38:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:38:27 ---> python-tools-install.sh [Pipeline] echo 20:38:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:38:27 ---> sudo-logs.sh 20:38:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:38:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:38:28 ---> job-cost.sh 20:38:28 lf-activate-venv: SKIPPING 20:38:28 DEBUG: total: 0.2199999988079071 20:38:28 INFO: Retrieving Stack Cost... 20:38:28 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:28 INFO: Archiving Costs [Pipeline] echo 20:38:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:38:29 ---> logs-deploy.sh 20:38:29 lf-activate-venv: SKIPPING 20:38:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/main/56 20:38:29 INFO: archiving workspace using pattern(s): 20:38:30 Archives upload complete. 20:38:30 INFO: archiving logs to Nexus