Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 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-ssh143139779895823298.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2105205192567904922.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9836123754858274001.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17329773377365034888.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13443535691978571538.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-usb-camera, goVersion:1.18] ========================================================= [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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4988 in /w/workspace/foundry_device-usb-camera_levski [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/foundry_device-usb-camera_levski # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 (levski) Commit message: "fix: device-sdk levski patch stable tag added (#197)" > 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 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 > git rev-list --no-walk 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:35 ========================================================= 23:17:35 EdgeX Global Pipelines Version Info 23:17:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:36 ------------------- 23:17:36 stable info: 23:17:36 ------------------- 23:17:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:36 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:17:36 Message: update stable to v1.0.245 23:17:36 ------------------- 23:17:36 experimental info: 23:17:36 ------------------- 23:17:36 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 23:17:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e8a9a0 [Pipeline] echo 23:17:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:37 provisioning config files... 23:17:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config7598259592348391001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:37 ---> docker-login.sh 23:17:37 nexus3.edgexfoundry.org:10001 23:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:37 Configure a credential helper to remove this warning. See 23:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:37 23:17:37 Login Succeeded 23:17:37 nexus3.edgexfoundry.org:10002 23:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:37 Configure a credential helper to remove this warning. See 23:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:37 23:17:37 Login Succeeded 23:17:37 nexus3.edgexfoundry.org:10003 23:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:38 Configure a credential helper to remove this warning. See 23:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:38 23:17:38 Login Succeeded 23:17:38 nexus3.edgexfoundry.org:10004 23:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:38 Configure a credential helper to remove this warning. See 23:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:38 23:17:38 Login Succeeded 23:17:38 docker.io 23:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:38 Configure a credential helper to remove this warning. See 23:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:38 23:17:38 Login Succeeded 23:17:38 ---> docker-login.sh ends [Pipeline] } 23:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:38 + git rev-list -1 --merges 1e8a9a0bc5fafbcf5b64264498bdde32df42f291~1..1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] echo 23:17:38 -----------> git rev-list -1 --merges 1e8a9a0bc5fafbcf5b64264498bdde32df42f291~1..1e8a9a0bc5fafbcf5b64264498bdde32df42f291 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [false] [Pipeline] sh 23:17:39 + git log --format=format:%s -1 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] echo 23:17:39 ========================================================= 23:17:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:39 + git log --format=format:%s -1 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] echo 23:17:39 [semverPrep] GIT_COMMIT: 1e8a9a0bc5fafbcf5b64264498bdde32df42f291, Commit Message: fix: device-sdk levski patch stable tag added (#197) [Pipeline] echo 23:17:39 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:39 + grep -v github /etc/ssh/ssh_known_hosts 23:17:39 + [ -e /tmp/ssh_known_hosts ] 23:17:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:39 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:40 23:17:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:40 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:40 b85a868b505f: Pulling fs layer 23:17:40 e2be974225ed: Pulling fs layer 23:17:40 339a4e72a1f5: Pulling fs layer 23:17:40 988bab9f4d93: Pulling fs layer 23:17:40 1469e6f7b9e6: Pulling fs layer 23:17:40 eaf3925da568: Pulling fs layer 23:17:40 bab4dde63d76: Pulling fs layer 23:17:40 bde34c3a00c8: Pulling fs layer 23:17:40 b352a97aabf1: Pulling fs layer 23:17:40 4872d77fe225: Pulling fs layer 23:17:40 5851b861e8e6: Pulling fs layer 23:17:40 b352a97aabf1: Waiting 23:17:40 bab4dde63d76: Waiting 23:17:40 988bab9f4d93: Waiting 23:17:40 bde34c3a00c8: Waiting 23:17:40 eaf3925da568: Waiting 23:17:40 1469e6f7b9e6: Waiting 23:17:40 4872d77fe225: Waiting 23:17:40 5851b861e8e6: Waiting 23:17:40 e2be974225ed: Download complete 23:17:40 988bab9f4d93: Verifying Checksum 23:17:40 988bab9f4d93: Download complete 23:17:40 1469e6f7b9e6: Verifying Checksum 23:17:40 1469e6f7b9e6: Download complete 23:17:40 339a4e72a1f5: Verifying Checksum 23:17:40 339a4e72a1f5: Download complete 23:17:40 bde34c3a00c8: Verifying Checksum 23:17:40 bde34c3a00c8: Download complete 23:17:40 b352a97aabf1: Verifying Checksum 23:17:40 b352a97aabf1: Download complete 23:17:40 4872d77fe225: Download complete 23:17:40 5851b861e8e6: Verifying Checksum 23:17:40 5851b861e8e6: Download complete 23:17:40 b85a868b505f: Verifying Checksum 23:17:40 b85a868b505f: Download complete 23:17:41 bab4dde63d76: Verifying Checksum 23:17:41 bab4dde63d76: Download complete 23:17:42 b85a868b505f: Pull complete 23:17:42 e2be974225ed: Pull complete 23:17:42 339a4e72a1f5: Pull complete 23:17:42 988bab9f4d93: Pull complete 23:17:43 1469e6f7b9e6: Pull complete 23:17:43 eaf3925da568: Pull complete 23:17:45 bab4dde63d76: Pull complete 23:17:45 bde34c3a00c8: Pull complete 23:17:45 b352a97aabf1: Pull complete 23:17:45 4872d77fe225: Pull complete 23:17:45 5851b861e8e6: Pull complete 23:17:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:45 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:17:48 $ docker top fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 -eo pid,comm 23:17:48 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). 23:17:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:48 [ssh-agent] Looking for ssh-agent implementation... 23:17:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:48 $ docker exec fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 ssh-agent 23:17:48 SSH_AUTH_SOCK=/tmp/ssh-c4717oQnJJuU/agent.31 23:17:48 SSH_AGENT_PID=37 23:17:48 Running ssh-add (command line suppressed) 23:17:48 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_10738443239237550121.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_10738443239237550121.key) 23:17:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:48 + git tag --points-at HEAD [Pipeline] } 23:17:48 $ docker exec --env ******** --env ******** fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 ssh-agent -k 23:17:49 unset SSH_AUTH_SOCK; 23:17:49 unset SSH_AGENT_PID; 23:17:49 echo Agent pid 37 killed; 23:17:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:49 [ssh-agent] Looking for ssh-agent implementation... 23:17:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:49 $ docker exec fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 ssh-agent 23:17:49 SSH_AUTH_SOCK=/tmp/ssh-8XjLtoDLLcaL/agent.69 23:17:49 SSH_AGENT_PID=76 23:17:49 Running ssh-add (command line suppressed) 23:17:49 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_1785191038083145362.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_1785191038083145362.key) 23:17:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:49 + git semver init 23:17:50 2023-03-21 23:17:49,970 [run_init] DEBUG init version:0.0.0 force:False 23:17:50 2023-03-21 23:17:49,970 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_levski/.semver 23:17:50 2023-03-21 23:17:49,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_levski/.semver 23:17:50 2023-03-21 23:17:49,971 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_levski/.semver'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=None) 23:17:50 2023-03-21 23:17:50,681 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_levski/.git/info/exclude 23:17:50 2023-03-21 23:17:50,681 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_levski/.semver/levski with force:False 23:17:50 2023-03-21 23:17:50,681 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:17:50 2023-03-21 23:17:50,682 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:17:50 2.3.1-dev.4 [Pipeline] } 23:17:50 $ docker exec --env ******** --env ******** fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 ssh-agent -k 23:17:51 unset SSH_AUTH_SOCK; 23:17:51 unset SSH_AGENT_PID; 23:17:51 echo Agent pid 76 killed; 23:17:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:51 + git semver [Pipeline] } 23:17:51 $ docker stop --time=1 fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 23:17:52 $ docker rm -f --volumes fed7c16ce1bfed6c1fa007d8d5504d6daa9ec0fb2cc5066d69cc8a58d2ffde79 [Pipeline] // withDockerContainer [Pipeline] sh 23:17:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:17:53 Stashed 1 file(s) [Pipeline] echo 23:17:53 [edgeXSemver]: initialized semver on version 2.3.1-dev.4 [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 23:17:53 provisioning config files... 23:17:53 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config15306037996759618873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:53 ---> docker-login.sh 23:17:53 nexus3.edgexfoundry.org:10001 23:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:53 Configure a credential helper to remove this warning. See 23:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:53 23:17:53 Login Succeeded 23:17:53 nexus3.edgexfoundry.org:10002 23:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:53 Configure a credential helper to remove this warning. See 23:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:53 23:17:53 Login Succeeded 23:17:53 nexus3.edgexfoundry.org:10003 23:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:54 Configure a credential helper to remove this warning. See 23:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:54 23:17:54 Login Succeeded 23:17:54 nexus3.edgexfoundry.org:10004 23:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:54 Configure a credential helper to remove this warning. See 23:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:54 23:17:54 Login Succeeded 23:17:54 docker.io 23:17:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:54 Configure a credential helper to remove this warning. See 23:17:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:54 23:17:54 Login Succeeded 23:17:54 ---> docker-login.sh ends [Pipeline] } 23:17:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:54 ========================================================= 23:17:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:17:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:54 + 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 . 23:17:54 Sending build context to Docker daemon 1.845MB 23:17:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:17:54 Step 2/13 : FROM ${BASE} AS builder 23:17:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:17:54 213ec9aee27d: Pulling fs layer 23:17:54 4583459ba037: Pulling fs layer 23:17:54 93c1e223e6f2: Pulling fs layer 23:17:54 53926ce57604: Pulling fs layer 23:17:54 21b2b0c7a3f4: Pulling fs layer 23:17:54 22ff95d597cd: Pulling fs layer 23:17:54 12d6caf4c0d1: Pulling fs layer 23:17:54 96b7cbca73a9: Pulling fs layer 23:17:54 a7acece74701: Pulling fs layer 23:17:54 21b2b0c7a3f4: Waiting 23:17:54 22ff95d597cd: Waiting 23:17:54 96b7cbca73a9: Waiting 23:17:54 a7acece74701: Waiting 23:17:54 53926ce57604: Waiting 23:17:54 12d6caf4c0d1: Waiting 23:17:54 93c1e223e6f2: Verifying Checksum 23:17:54 93c1e223e6f2: Download complete 23:17:54 4583459ba037: Verifying Checksum 23:17:54 4583459ba037: Download complete 23:17:54 21b2b0c7a3f4: Verifying Checksum 23:17:54 21b2b0c7a3f4: Download complete 23:17:54 22ff95d597cd: Verifying Checksum 23:17:54 22ff95d597cd: Download complete 23:17:55 213ec9aee27d: Download complete 23:17:55 12d6caf4c0d1: Download complete 23:17:55 213ec9aee27d: Pull complete 23:17:55 4583459ba037: Pull complete 23:17:55 93c1e223e6f2: Pull complete 23:17:55 a7acece74701: Verifying Checksum 23:17:55 a7acece74701: Download complete 23:17:55 53926ce57604: Verifying Checksum 23:17:55 53926ce57604: Download complete 23:17:55 96b7cbca73a9: Verifying Checksum 23:17:55 96b7cbca73a9: Download complete 23:18:00 53926ce57604: Pull complete 23:18:00 21b2b0c7a3f4: Pull complete 23:18:00 22ff95d597cd: Pull complete 23:18:00 12d6caf4c0d1: Pull complete 23:18:02 96b7cbca73a9: Pull complete 23:18:03 a7acece74701: Pull complete 23:18:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:18:03 ---> db6d94c90886 23:18:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:18:06 ---> Running in aab9114c61d4 23:18:06 Removing intermediate container aab9114c61d4 23:18:06 ---> f548ca6c135a 23:18:06 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:06 ---> Running in 065f7b913d81 23:18:06 Removing intermediate container 065f7b913d81 23:18:06 ---> 6e147c8b56d8 23:18:06 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:18:06 ---> Running in 7fd5437348ff 23:18:07 Removing intermediate container 7fd5437348ff 23:18:07 ---> c6f37d5592f1 23:18:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:18:07 ---> Running in 0f168b7b46d0 23:18:07 Removing intermediate container 0f168b7b46d0 23:18:07 ---> 1d2bdbbbe9db 23:18:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:07 ---> Running in 31f777732754 23:18:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:18:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:18:07 (1/80) Installing mesa (21.3.9-r0) 23:18:07 (2/80) Installing libxau (1.0.9-r0) 23:18:07 (3/80) Installing libxdmcp (1.1.3-r0) 23:18:07 (4/80) Installing libxcb (1.15-r0) 23:18:07 (5/80) Installing libx11 (1.8-r0) 23:18:07 (6/80) Installing libxext (1.3.4-r0) 23:18:07 (7/80) Installing libxfixes (6.0.0-r0) 23:18:07 (8/80) Installing libxxf86vm (1.1.4-r2) 23:18:07 (9/80) Installing libpciaccess (0.16-r0) 23:18:07 (10/80) Installing libdrm (2.4.110-r0) 23:18:07 (11/80) Installing mesa-glapi (21.3.9-r0) 23:18:07 (12/80) Installing libxshmfence (1.3-r1) 23:18:07 (13/80) Installing mesa-gl (21.3.9-r0) 23:18:07 (14/80) Installing icu-data-full (71.1-r2) 23:18:08 (15/80) Installing libice (1.0.10-r0) 23:18:08 (16/80) Installing libuuid (2.38-r1) 23:18:08 (17/80) Installing libsm (1.2.3-r0) 23:18:08 (18/80) Installing libxt (1.2.1-r0) 23:18:08 (19/80) Installing libxmu (1.1.3-r0) 23:18:08 (20/80) Installing xset (1.2.4-r0) 23:18:08 (21/80) Installing xprop (1.2.5-r0) 23:18:08 (22/80) Installing xdg-utils (1.1.3-r3) 23:18:08 (23/80) Installing dbus-libs (1.14.4-r0) 23:18:08 (24/80) Installing libffi (3.4.2-r1) 23:18:08 (25/80) Installing libintl (0.21-r2) 23:18:08 (26/80) Installing libblkid (2.38-r1) 23:18:08 (27/80) Installing libmount (2.38-r1) 23:18:08 (28/80) Installing pcre (8.45-r2) 23:18:08 (29/80) Installing glib (2.72.1-r0) 23:18:08 (30/80) Installing icu-libs (71.1-r2) 23:18:08 (31/80) Installing libpcre2-16 (10.40-r0) 23:18:08 (32/80) Installing zstd-libs (1.5.2-r1) 23:18:08 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 23:18:08 (34/80) Installing hicolor-icon-theme (0.17-r1) 23:18:08 (35/80) Installing wayland-libs-server (1.20.0-r0) 23:18:08 (36/80) Installing mesa-gbm (21.3.9-r0) 23:18:08 (37/80) Installing wayland-libs-client (1.20.0-r0) 23:18:08 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 23:18:08 (39/80) Installing libxcomposite (0.4.5-r0) 23:18:08 (40/80) Installing libbz2 (1.0.8-r1) 23:18:08 (41/80) Installing libpng (1.6.37-r1) 23:18:08 (42/80) Installing freetype (2.12.1-r0) 23:18:08 (43/80) Installing fontconfig (2.14.0-r0) 23:18:08 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 23:18:08 (45/80) Installing wayland-libs-egl (1.20.0-r0) 23:18:08 (46/80) Installing xkeyboard-config (2.35.1-r0) 23:18:08 (47/80) Installing xz-libs (5.2.5-r1) 23:18:08 (48/80) Installing libxml2 (2.9.14-r2) 23:18:08 (49/80) Installing libxkbcommon (1.4.1-r0) 23:18:08 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 23:18:08 (51/80) Installing mesa-egl (21.3.9-r0) 23:18:08 (52/80) Installing avahi-libs (0.8-r6) 23:18:08 (53/80) Installing nettle (3.7.3-r0) 23:18:08 (54/80) Installing p11-kit (0.24.1-r0) 23:18:08 (55/80) Installing libtasn1 (4.18.0-r1) 23:18:08 (56/80) Installing libunistring (1.0-r0) 23:18:08 (57/80) Installing gnutls (3.7.7-r1) 23:18:08 (58/80) Installing cups-libs (2.4.2-r0) 23:18:08 (59/80) Installing graphite2 (1.3.14-r1) 23:18:08 (60/80) Installing harfbuzz (4.3.0-r0) 23:18:08 Still waiting to schedule task 23:18:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4985’ 23:18:08 (61/80) Installing libevdev (1.12.1-r0) 23:18:08 (62/80) Installing mtdev (1.1.6-r0) 23:18:08 (63/80) Installing eudev-libs (3.2.11-r0) 23:18:08 (64/80) Installing libinput-libs (1.20.1-r0) 23:18:08 (65/80) Installing libjpeg-turbo (2.1.3-r1) 23:18:08 (66/80) Installing xcb-util-wm (0.4.1-r1) 23:18:08 (67/80) Installing xcb-util (0.4.0-r3) 23:18:08 (68/80) Installing xcb-util-image (0.4.0-r1) 23:18:08 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 23:18:08 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 23:18:08 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 23:18:08 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 23:18:08 (73/80) Installing v4l-utils-libs (1.22.1-r1) 23:18:08 (74/80) Installing v4l-utils (1.22.1-r1) 23:18:08 (75/80) Installing udev-init-scripts (35-r0) 23:18:09 Executing udev-init-scripts-35-r0.post-install 23:18:09 (76/80) Installing kmod-libs (29-r2) 23:18:09 (77/80) Installing eudev (3.2.11-r0) 23:18:09 (78/80) Installing eudev-dev (3.2.11-r0) 23:18:09 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:18:09 (80/80) Installing v4l-utils-dev (1.22.1-r1) 23:18:09 Executing busybox-1.35.0-r17.trigger 23:18:09 Executing eudev-3.2.11-r0.trigger 23:18:09 OK: 331 MiB in 131 packages 23:18:11 Removing intermediate container 31f777732754 23:18:11 ---> 612a864e346a 23:18:11 Step 8/13 : WORKDIR /device-usb-camera 23:18:11 ---> Running in 67a9c0bc03d9 23:18:11 Removing intermediate container 67a9c0bc03d9 23:18:11 ---> 2df27b101a0f 23:18:11 Step 9/13 : COPY go.mod vendor* ./ 23:18:11 ---> 6d0532fc39f7 23:18:11 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:12 ---> Running in 5625c64247d1 23:18:34 Removing intermediate container 5625c64247d1 23:18:34 ---> 3b12cb282c89 23:18:34 Step 11/13 : COPY . . 23:18:34 ---> 91c83140a19a 23:18:34 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:18:34 ---> Running in b37af7fc39b6 23:18:34  % Total % Received % Xferd Average Speed Time Time Time Current 23:18:34 Dload Upload Total Spent Left Speed 23:18:34 0 0 0 0 0  0 0  0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 10412 0 --:--:-- --:--:-- --:--:-- 10514 23:18:34 Removing intermediate container b37af7fc39b6 23:18:34 ---> c95bffecc342 23:18:34 Step 13/13 : RUN ${MAKE} 23:18:34 ---> Running in 6867abfddf6a 23:18:34 noop 23:18:35 Removing intermediate container 6867abfddf6a 23:18:35 ---> 30bd432859e5 23:18:35 Successfully built 30bd432859e5 23:18:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:35 + docker inspect -f . ci-base-image-x86_64 23:18:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:35 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:18:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:18:35 $ docker top b6282529f3f4f2137758bb0e59423c1d3f54cb3788a8cfbf706d93fd8e7b7ee7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:36 + go version 23:18:36 go version go1.18.7 linux/amd64 [Pipeline] } 23:18:36 $ docker stop --time=1 b6282529f3f4f2137758bb0e59423c1d3f54cb3788a8cfbf706d93fd8e7b7ee7 23:18:37 $ docker rm -f --volumes b6282529f3f4f2137758bb0e59423c1d3f54cb3788a8cfbf706d93fd8e7b7ee7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:37 + docker inspect -f . ci-base-image-x86_64 23:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:37 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:18:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:18:38 $ docker top fc70c616decb7d82b2ad67d4e123a000561e6d38ce15d76b8fac8aa23c13809d -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:38 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_levski [Pipeline] fileExists [Pipeline] sh 23:18:38 + make test 23:18:38 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:18:39 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:18:49 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:18:49 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.015s coverage: 1.9% of statements 23:18:56 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." 23:18:56 CGO_ENABLED=1 go vet ./... 23:18:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:59 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:59 $ docker stop --time=1 fc70c616decb7d82b2ad67d4e123a000561e6d38ce15d76b8fac8aa23c13809d 23:19:01 $ docker rm -f --volumes fc70c616decb7d82b2ad67d4e123a000561e6d38ce15d76b8fac8aa23c13809d [Pipeline] // withDockerContainer [Pipeline] sh 23:19:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:03 + ls -al . 23:19:03 total 204 23:19:03 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 23:18 . 23:19:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:17 .. 23:19:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:18 .git 23:19:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:17 .github 23:19:03 -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:17 .gitignore 23:19:03 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:17 .golangci.yml 23:19:03 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:17 .hadolint.yml 23:19:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:17 .semver 23:19:03 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:17 Attribution.txt 23:19:03 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 23:17 CHANGELOG.md 23:19:03 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:17 Dockerfile 23:19:03 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:17 GOVERNANCE.md 23:19:03 -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:17 Jenkinsfile 23:19:03 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:17 LICENSE 23:19:03 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:17 Makefile 23:19:03 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:17 OWNERS.md 23:19:03 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 21 23:17 README.md 23:19:03 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 23:17 VERSION 23:19:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:17 bin 23:19:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:17 cmd 23:19:03 -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:18 coverage.out 23:19:03 -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:17 docker-entrypoint.sh 23:19:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:17 docs 23:19:03 -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:17 go.mod 23:19:03 -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:17 go.sum 23:19:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:17 internal 23:19:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:17 snap 23:19:03 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:03 + 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=1e8a9a0bc5fafbcf5b64264498bdde32df42f291 --label arch=amd64 --label version=2.3.1-dev.4 . 23:19:03 Sending build context to Docker daemon 1.876MB 23:19:03 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:19:03 Step 2/35 : FROM ${BASE} AS builder 23:19:03 ---> 30bd432859e5 23:19:03 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:19:03 ---> Running in a0b2ffd38019 23:19:03 Removing intermediate container a0b2ffd38019 23:19:03 ---> 81eb9df0e6eb 23:19:03 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:03 ---> Running in 6d9874d0bdfb 23:19:03 Removing intermediate container 6d9874d0bdfb 23:19:03 ---> 7f3fecff71da 23:19:03 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:19:03 ---> Running in 9e4c753bc53b 23:19:03 Removing intermediate container 9e4c753bc53b 23:19:03 ---> 69da7fe6c8ac 23:19:03 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:19:03 ---> Running in a36a3de4dce2 23:19:04 Removing intermediate container a36a3de4dce2 23:19:04 ---> ad7326864724 23:19:04 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:04 ---> Running in ea625bd5c243 23:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:04 OK: 331 MiB in 131 packages 23:19:05 Removing intermediate container ea625bd5c243 23:19:05 ---> 2d5099d8e139 23:19:05 Step 8/35 : WORKDIR /device-usb-camera 23:19:05 ---> Running in 6b9a01ab8833 23:19:05 Removing intermediate container 6b9a01ab8833 23:19:05 ---> 54899df83285 23:19:05 Step 9/35 : COPY go.mod vendor* ./ 23:19:05 ---> d6785e21822b 23:19:05 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:05 ---> Running in f5d4e27908c9 23:19:06 Removing intermediate container f5d4e27908c9 23:19:06 ---> 0071cb247ab8 23:19:06 Step 11/35 : COPY . . 23:19:06 ---> 9f356b6def4f 23:19:06 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:19:06 ---> Running in 713a860ac2b3 23:19:06  % Total % Received % Xferd Average Speed Time Time Time Current 23:19:06 Dload Upload Total Spent Left Speed 23:19:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062   0   0 47726  0 --:--:-- --:--:-- --:--:-- 48272 23:19:06 Removing intermediate container 713a860ac2b3 23:19:06 ---> 9f8d50e521ae 23:19:06 Step 13/35 : RUN ${MAKE} 23:19:06 ---> Running in b136dbfaef49 23:19:07 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:19:29 Removing intermediate container b136dbfaef49 23:19:29 ---> bdbd05939c7d 23:19:29 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 23:19:29 v0.21.6: Pulling from aler9/rtsp-simple-server 23:19:29 4acc49c71d14: Pulling fs layer 23:19:29 4acc49c71d14: Verifying Checksum 23:19:29 4acc49c71d14: Download complete 23:19:29 4acc49c71d14: Pull complete 23:19:29 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 23:19:29 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 23:19:29 ---> 01a2bd3e5fff 23:19:29 Step 15/35 : FROM alpine:3.16 23:19:29 3.16: Pulling from library/alpine 23:19:29 ef5531b6e74e: Pulling fs layer 23:19:29 ef5531b6e74e: Verifying Checksum 23:19:29 ef5531b6e74e: Download complete 23:19:29 ef5531b6e74e: Pull complete 23:19:29 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 23:19:29 Status: Downloaded newer image for alpine:3.16 23:19:29 ---> dfd21b5a31f5 23:19:29 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:19:29 ---> Running in c4805a9de97e 23:19:29 Removing intermediate container c4805a9de97e 23:19:29 ---> 291bd27dfea1 23:19:29 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:19:29 ---> Running in 5aad172ef26b 23:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:19:30 (1/83) Installing dumb-init (1.2.5-r1) 23:19:30 (2/83) Installing sdl2 (2.0.22-r0) 23:19:30 (3/83) Installing libxau (1.0.9-r0) 23:19:30 (4/83) Installing libxdmcp (1.1.3-r0) 23:19:30 (5/83) Installing libxcb (1.15-r0) 23:19:30 (6/83) Installing libx11 (1.8-r0) 23:19:30 (7/83) Installing aom-libs (3.3.0-r0) 23:19:30 (8/83) Installing alsa-lib (1.2.7.2-r0) 23:19:30 (9/83) Installing expat (2.5.0-r0) 23:19:30 (10/83) Installing brotli-libs (1.0.9-r6) 23:19:30 (11/83) Installing libbz2 (1.0.8-r1) 23:19:30 (12/83) Installing libpng (1.6.37-r1) 23:19:30 (13/83) Installing freetype (2.12.1-r0) 23:19:30 (14/83) Installing fontconfig (2.14.0-r0) 23:19:30 (15/83) Installing fribidi (1.0.12-r0) 23:19:30 (16/83) Installing libffi (3.4.2-r1) 23:19:30 (17/83) Installing libintl (0.21-r2) 23:19:30 (18/83) Installing libblkid (2.38-r1) 23:19:30 (19/83) Installing libmount (2.38-r1) 23:19:30 (20/83) Installing pcre (8.45-r2) 23:19:30 (21/83) Installing glib (2.72.1-r0) 23:19:30 (22/83) Installing graphite2 (1.3.14-r1) 23:19:30 (23/83) Installing harfbuzz (4.3.0-r0) 23:19:30 (24/83) Installing libass (0.16.0-r0) 23:19:30 (25/83) Installing libdav1d (1.0.0-r0) 23:19:30 (26/83) Installing libpciaccess (0.16-r0) 23:19:30 (27/83) Installing libdrm (2.4.110-r0) 23:19:30 (28/83) Installing gmp (6.2.1-r2) 23:19:30 (29/83) Installing nettle (3.7.3-r0) 23:19:30 (30/83) Installing p11-kit (0.24.1-r0) 23:19:30 (31/83) Installing libtasn1 (4.18.0-r1) 23:19:30 (32/83) Installing libunistring (1.0-r0) 23:19:30 (33/83) Installing gnutls (3.7.7-r1) 23:19:30 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 23:19:30 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 23:19:30 (36/83) Installing lame (3.100-r0) 23:19:30 (37/83) Installing opus (1.3.1-r1) 23:19:30 (38/83) Installing libasyncns (0.8-r1) 23:19:30 (39/83) Installing dbus-libs (1.14.4-r0) 23:19:30 (40/83) Installing libltdl (2.4.7-r0) 23:19:30 (41/83) Installing orc (0.4.32-r0) 23:19:30 (42/83) Installing libgcc (11.2.1_git20220219-r2) 23:19:30 (43/83) Installing libogg (1.3.5-r1) 23:19:30 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 23:19:30 (45/83) Installing flac (1.3.4-r0) 23:19:30 (46/83) Installing libvorbis (1.3.7-r0) 23:19:30 (47/83) Installing libsndfile (1.1.0-r0) 23:19:30 (48/83) Installing libgomp (11.2.1_git20220219-r2) 23:19:30 (49/83) Installing soxr (0.1.3-r2) 23:19:30 (50/83) Installing speexdsp (1.2.0-r0) 23:19:30 (51/83) Installing tdb-libs (1.4.6-r0) 23:19:30 (52/83) Installing libpulse (15.0-r2) 23:19:30 (53/83) Installing cjson (1.7.15-r3) 23:19:30 (54/83) Installing mbedtls (2.28.2-r0) 23:19:30 (55/83) Installing librist (0.2.6-r1) 23:19:30 (56/83) Installing libsrt (1.4.4-r0) 23:19:30 (57/83) Installing libssh (0.9.6-r1) 23:19:30 (58/83) Installing libtheora (1.1.1-r16) 23:19:30 (59/83) Installing libjpeg-turbo (2.1.3-r1) 23:19:30 (60/83) Installing v4l-utils-libs (1.22.1-r1) 23:19:30 (61/83) Installing libxext (1.3.4-r0) 23:19:30 (62/83) Installing libxfixes (6.0.0-r0) 23:19:30 (63/83) Installing wayland-libs-client (1.20.0-r0) 23:19:30 (64/83) Installing libva (2.14.0-r0) 23:19:30 (65/83) Installing libvdpau (1.5-r0) 23:19:30 (66/83) Installing vidstab (1.1.0-r1) 23:19:30 (67/83) Installing libvpx (1.11.0-r1) 23:19:30 (68/83) Installing libwebp (1.2.3-r0) 23:19:30 (69/83) Installing x264-libs (0.163_git20210613-r0) 23:19:30 (70/83) Installing numactl (2.0.14-r0) 23:19:30 (71/83) Installing x265-libs (3.5-r3) 23:19:31 (72/83) Installing xvidcore (1.3.7-r1) 23:19:31 (73/83) Installing ffmpeg-libs (5.0.1-r1) 23:19:31 (74/83) Installing ffmpeg (5.0.1-r1) 23:19:31 (75/83) Installing udev-init-scripts (35-r0) 23:19:31 Executing udev-init-scripts-35-r0.post-install 23:19:31 (76/83) Installing eudev-libs (3.2.11-r0) 23:19:31 (77/83) Installing xz-libs (5.2.5-r1) 23:19:31 (78/83) Installing zstd-libs (1.5.2-r1) 23:19:31 (79/83) Installing kmod-libs (29-r2) 23:19:31 (80/83) Installing eudev (3.2.11-r0) 23:19:31 (81/83) Installing libsodium (1.0.18-r0) 23:19:31 (82/83) Installing libzmq (4.3.4-r0) 23:19:31 (83/83) Installing zeromq (4.3.4-r0) 23:19:31 Executing busybox-1.35.0-r17.trigger 23:19:31 Executing eudev-3.2.11-r0.trigger 23:19:31 OK: 101 MiB in 97 packages 23:19:33 Removing intermediate container 5aad172ef26b 23:19:33 ---> a9c07f1e0f73 23:19:33 Step 18/35 : WORKDIR / 23:19:33 ---> Running in 435923ae7d47 23:19:33 Removing intermediate container 435923ae7d47 23:19:33 ---> b23471acc1d3 23:19:33 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 23:19:34 ---> 43926ca0e4a0 23:19:34 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 23:19:34 ---> ca4a5b81e125 23:19:34 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:19:34 ---> 4aa2bebed9a9 23:19:34 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:19:34 ---> 4846f7434184 23:19:34 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:19:34 ---> d29ef31de9c8 23:19:34 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 23:19:34 ---> 3dce59e5b7d5 23:19:34 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 23:19:35 ---> 0f7568455fb9 23:19:35 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:19:35 ---> Running in 841b22071662 23:19:36 Removing intermediate container 841b22071662 23:19:36 ---> 9b63ad8c03c0 23:19:36 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:19:36 ---> Running in f099f878185b 23:19:36 Removing intermediate container f099f878185b 23:19:36 ---> 270a3be99c43 23:19:36 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:19:36 ---> Running in 71a5cee438f4 23:19:37 Removing intermediate container 71a5cee438f4 23:19:37 ---> 0e7efaeed2ed 23:19:37 Step 29/35 : EXPOSE 59983 23:19:37 ---> Running in 3e661adb1726 23:19:37 Removing intermediate container 3e661adb1726 23:19:37 ---> dba26fb6dc61 23:19:37 Step 30/35 : EXPOSE 8554 23:19:37 ---> Running in a5d52d1afa45 23:19:37 Removing intermediate container a5d52d1afa45 23:19:37 ---> 7664be14ab42 23:19:37 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:19:37 ---> Running in 5fe70057293b 23:19:37 Removing intermediate container 5fe70057293b 23:19:37 ---> 0c852877b316 23:19:37 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:19:37 ---> Running in 1b1be7eb93ef 23:19:37 Removing intermediate container 1b1be7eb93ef 23:19:37 ---> 6389d1384c43 23:19:37 Step 33/35 : LABEL arch=amd64 23:19:37 ---> Running in 0a9bc8a594dd 23:19:37 Removing intermediate container 0a9bc8a594dd 23:19:37 ---> 5c32e0198731 23:19:37 Step 34/35 : LABEL git_sha=1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:19:37 ---> Running in 1689b694690b 23:19:37 Removing intermediate container 1689b694690b 23:19:37 ---> a00a48e572cb 23:19:37 Step 35/35 : LABEL version=2.3.1-dev.4 23:19:37 ---> Running in 32ac3c0c629d 23:19:37 Removing intermediate container 32ac3c0c629d 23:19:37 ---> a5d28a22cf93 23:19:37 [Warning] One or more build-args [ARCH] were not consumed 23:19:37 Successfully built a5d28a22cf93 23:19:37 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 23:19:37 provisioning config files... 23:19:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config17803046216601348955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:38 ---> docker-login.sh 23:19:38 nexus3.edgexfoundry.org:10001 23:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:38 Configure a credential helper to remove this warning. See 23:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:38 23:19:38 Login Succeeded 23:19:38 nexus3.edgexfoundry.org:10002 23:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:38 Configure a credential helper to remove this warning. See 23:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:38 23:19:38 Login Succeeded 23:19:38 nexus3.edgexfoundry.org:10003 23:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:38 Configure a credential helper to remove this warning. See 23:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:38 23:19:38 Login Succeeded 23:19:38 nexus3.edgexfoundry.org:10004 23:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:38 Configure a credential helper to remove this warning. See 23:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:38 23:19:38 Login Succeeded 23:19:38 docker.io 23:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:38 Configure a credential helper to remove this warning. See 23:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:38 23:19:38 Login Succeeded 23:19:38 ---> docker-login.sh ends [Pipeline] } 23:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:19:38 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:38 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 23:19:38 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:19:38 latest 23:19:38 2.3.1-dev.4 23:19:38 1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:19:38 levski 23:19:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:39 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:39 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:19:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:19:39 91f26a173fbb: Preparing 23:19:39 5eb1bfbfb09f: Preparing 23:19:39 1612cd2fa134: Preparing 23:19:39 3827b5b91e75: Preparing 23:19:39 acc83c6ca332: Preparing 23:19:39 5db60b38497a: Preparing 23:19:39 cec894770b38: Preparing 23:19:39 7c481166bfcf: Preparing 23:19:39 49ac45f10422: Preparing 23:19:39 27fd33e164b8: Preparing 23:19:39 9b29c9aa5d23: Preparing 23:19:39 aa5968d388b8: Preparing 23:19:39 49ac45f10422: Waiting 23:19:39 27fd33e164b8: Waiting 23:19:39 9b29c9aa5d23: Waiting 23:19:39 5db60b38497a: Waiting 23:19:39 7c481166bfcf: Waiting 23:19:39 cec894770b38: Waiting 23:19:39 5eb1bfbfb09f: Pushed 23:19:39 91f26a173fbb: Pushed 23:19:39 acc83c6ca332: Pushed 23:19:39 1612cd2fa134: Pushed 23:19:39 49ac45f10422: Pushed 23:19:39 7c481166bfcf: Pushed 23:19:39 5db60b38497a: Pushed 23:19:39 cec894770b38: Pushed 23:19:39 aa5968d388b8: Layer already exists 23:19:42 3827b5b91e75: Pushed 23:19:42 27fd33e164b8: Pushed 23:19:48 9b29c9aa5d23: Pushed 23:19:48 1e8a9a0bc5fafbcf5b64264498bdde32df42f291: digest: sha256:ab54d31e9adaf0e87bc9ed176b746b0eec15294dbda730834f777936b92f093e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:49 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:49 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:19:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:19:49 91f26a173fbb: Preparing 23:19:49 5eb1bfbfb09f: Preparing 23:19:49 1612cd2fa134: Preparing 23:19:49 3827b5b91e75: Preparing 23:19:49 acc83c6ca332: Preparing 23:19:49 5db60b38497a: Preparing 23:19:49 cec894770b38: Preparing 23:19:49 7c481166bfcf: Preparing 23:19:49 49ac45f10422: Preparing 23:19:49 27fd33e164b8: Preparing 23:19:49 9b29c9aa5d23: Preparing 23:19:49 aa5968d388b8: Preparing 23:19:49 5db60b38497a: Waiting 23:19:49 9b29c9aa5d23: Waiting 23:19:49 aa5968d388b8: Waiting 23:19:49 7c481166bfcf: Waiting 23:19:49 cec894770b38: Waiting 23:19:49 49ac45f10422: Waiting 23:19:49 27fd33e164b8: Waiting 23:19:49 1612cd2fa134: Layer already exists 23:19:49 5eb1bfbfb09f: Layer already exists 23:19:49 91f26a173fbb: Layer already exists 23:19:49 3827b5b91e75: Layer already exists 23:19:49 acc83c6ca332: Layer already exists 23:19:49 5db60b38497a: Layer already exists 23:19:49 cec894770b38: Layer already exists 23:19:49 27fd33e164b8: Layer already exists 23:19:49 49ac45f10422: Layer already exists 23:19:49 7c481166bfcf: Layer already exists 23:19:49 9b29c9aa5d23: Layer already exists 23:19:49 aa5968d388b8: Layer already exists 23:19:49 latest: digest: sha256:ab54d31e9adaf0e87bc9ed176b746b0eec15294dbda730834f777936b92f093e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:49 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.4 23:19:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:19:50 91f26a173fbb: Preparing 23:19:50 5eb1bfbfb09f: Preparing 23:19:50 1612cd2fa134: Preparing 23:19:50 3827b5b91e75: Preparing 23:19:50 acc83c6ca332: Preparing 23:19:50 5db60b38497a: Preparing 23:19:50 cec894770b38: Preparing 23:19:50 7c481166bfcf: Preparing 23:19:50 49ac45f10422: Preparing 23:19:50 27fd33e164b8: Preparing 23:19:50 9b29c9aa5d23: Preparing 23:19:50 aa5968d388b8: Preparing 23:19:50 7c481166bfcf: Waiting 23:19:50 49ac45f10422: Waiting 23:19:50 9b29c9aa5d23: Waiting 23:19:50 27fd33e164b8: Waiting 23:19:50 aa5968d388b8: Waiting 23:19:50 5db60b38497a: Waiting 23:19:50 cec894770b38: Waiting 23:19:50 91f26a173fbb: Layer already exists 23:19:50 5eb1bfbfb09f: Layer already exists 23:19:50 acc83c6ca332: Layer already exists 23:19:50 1612cd2fa134: Layer already exists 23:19:50 3827b5b91e75: Layer already exists 23:19:50 5db60b38497a: Layer already exists 23:19:50 cec894770b38: Layer already exists 23:19:50 7c481166bfcf: Layer already exists 23:19:50 49ac45f10422: Layer already exists 23:19:50 27fd33e164b8: Layer already exists 23:19:50 9b29c9aa5d23: Layer already exists 23:19:50 aa5968d388b8: Layer already exists 23:19:50 2.3.1-dev.4: digest: sha256:ab54d31e9adaf0e87bc9ed176b746b0eec15294dbda730834f777936b92f093e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:50 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:50 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:19:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:19:50 91f26a173fbb: Preparing 23:19:50 5eb1bfbfb09f: Preparing 23:19:50 1612cd2fa134: Preparing 23:19:50 3827b5b91e75: Preparing 23:19:50 acc83c6ca332: Preparing 23:19:50 5db60b38497a: Preparing 23:19:50 cec894770b38: Preparing 23:19:50 7c481166bfcf: Preparing 23:19:50 49ac45f10422: Preparing 23:19:50 27fd33e164b8: Preparing 23:19:50 9b29c9aa5d23: Preparing 23:19:50 aa5968d388b8: Preparing 23:19:50 cec894770b38: Waiting 23:19:50 9b29c9aa5d23: Waiting 23:19:50 7c481166bfcf: Waiting 23:19:50 27fd33e164b8: Waiting 23:19:50 aa5968d388b8: Waiting 23:19:50 5db60b38497a: Waiting 23:19:50 91f26a173fbb: Layer already exists 23:19:50 acc83c6ca332: Layer already exists 23:19:50 1612cd2fa134: Layer already exists 23:19:50 3827b5b91e75: Layer already exists 23:19:50 5eb1bfbfb09f: Layer already exists 23:19:50 7c481166bfcf: Layer already exists 23:19:50 5db60b38497a: Layer already exists 23:19:50 49ac45f10422: Layer already exists 23:19:50 cec894770b38: Layer already exists 23:19:50 27fd33e164b8: Layer already exists 23:19:50 aa5968d388b8: Layer already exists 23:19:50 9b29c9aa5d23: Layer already exists 23:19:50 1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4: digest: sha256:ab54d31e9adaf0e87bc9ed176b746b0eec15294dbda730834f777936b92f093e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:51 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:51 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:levski 23:19:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 23:19:51 91f26a173fbb: Preparing 23:19:51 5eb1bfbfb09f: Preparing 23:19:51 1612cd2fa134: Preparing 23:19:51 3827b5b91e75: Preparing 23:19:51 acc83c6ca332: Preparing 23:19:51 5db60b38497a: Preparing 23:19:51 cec894770b38: Preparing 23:19:51 7c481166bfcf: Preparing 23:19:51 49ac45f10422: Preparing 23:19:51 27fd33e164b8: Preparing 23:19:51 9b29c9aa5d23: Preparing 23:19:51 aa5968d388b8: Preparing 23:19:51 7c481166bfcf: Waiting 23:19:51 9b29c9aa5d23: Waiting 23:19:51 aa5968d388b8: Waiting 23:19:51 27fd33e164b8: Waiting 23:19:51 49ac45f10422: Waiting 23:19:51 5db60b38497a: Waiting 23:19:51 cec894770b38: Waiting 23:19:51 acc83c6ca332: Layer already exists 23:19:51 1612cd2fa134: Layer already exists 23:19:51 3827b5b91e75: Layer already exists 23:19:51 91f26a173fbb: Layer already exists 23:19:51 5eb1bfbfb09f: Layer already exists 23:19:51 5db60b38497a: Layer already exists 23:19:51 cec894770b38: Layer already exists 23:19:51 27fd33e164b8: Layer already exists 23:19:51 9b29c9aa5d23: Layer already exists 23:19:51 7c481166bfcf: Layer already exists 23:19:51 49ac45f10422: Layer already exists 23:19:51 aa5968d388b8: Layer already exists 23:19:51 levski: digest: sha256:ab54d31e9adaf0e87bc9ed176b746b0eec15294dbda730834f777936b92f093e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:19:51 ===================================================== [Pipeline] echo 23:19:51 taggedImages: 23:19:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:19:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 23:19:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:2.3.1-dev.4 23:19:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:19:51 - nexus3.edgexfoundry.org:10004/device-usb-camera:levski [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 23:19:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:51 23:19:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:52 latest: Pulling from edgex-lftools-log-publisher 23:19:52 5eb5b503b376: Pulling fs layer 23:19:52 5c69ac0246d0: Pulling fs layer 23:19:52 ec43610c2a17: Pulling fs layer 23:19:52 3a2ae6a8a46f: Pulling fs layer 23:19:52 33b1e0a273af: Pulling fs layer 23:19:52 5d3b04190fa2: Pulling fs layer 23:19:52 3a2ae6a8a46f: Waiting 23:19:52 2f39f015ded8: Pulling fs layer 23:19:52 5d3b04190fa2: Waiting 23:19:52 5c69ac0246d0: Verifying Checksum 23:19:52 5c69ac0246d0: Download complete 23:19:52 3a2ae6a8a46f: Download complete 23:19:52 33b1e0a273af: Verifying Checksum 23:19:52 33b1e0a273af: Download complete 23:19:52 ec43610c2a17: Verifying Checksum 23:19:52 ec43610c2a17: Download complete 23:19:52 5d3b04190fa2: Verifying Checksum 23:19:52 5d3b04190fa2: Download complete 23:19:52 5eb5b503b376: Verifying Checksum 23:19:52 5eb5b503b376: Download complete 23:19:53 2f39f015ded8: Download complete 23:19:53 5eb5b503b376: Pull complete 23:19:53 5c69ac0246d0: Pull complete 23:19:54 ec43610c2a17: Pull complete 23:19:54 3a2ae6a8a46f: Pull complete 23:19:54 33b1e0a273af: Pull complete 23:19:54 5d3b04190fa2: Pull complete 23:20:00 2f39f015ded8: Pull complete 23:20:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:00 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:20:00 $ 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/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:20:02 $ docker top 17e16e2e116d2faf04ccce3686311e9493d1601493b1bef01549f7cae7690001 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:03 ---> job-cost.sh 23:20:03 lf-activate-venv: SKIPPING 23:20:03 INFO: No Stack... 23:20:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:04 INFO: Archiving Costs [Pipeline] sh 23:20:04 + cat /w/workspace/foundry_device-usb-camera_levski/archives/cost.csv 23:20:04 + cut -d, -f6 [Pipeline] lock 23:20:04 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] 23:20:04 Resource [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] did not exist. Created. 23:20:04 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:04 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:04 Stashed 1 file(s) [Pipeline] } 23:20:04 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:04 $ docker stop --time=1 17e16e2e116d2faf04ccce3686311e9493d1601493b1bef01549f7cae7690001 23:20:05 $ docker rm -f --volumes 17e16e2e116d2faf04ccce3686311e9493d1601493b1bef01549f7cae7690001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4990 in /w/workspace/foundry_device-usb-camera_levski [Pipeline] { [Pipeline] ws 23:20:42 Running in /w/workspace/device-usb-camera/4 [Pipeline] { [Pipeline] checkout 23:20:42 Selected Git installation does not exist. Using Default 23:20:42 The recommended git tool is: NONE 23:20:48 using credential edgex-jenkins-ssh 23:20:48 Cloning the remote Git repository 23:20:48 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 23:20:48 > git init /w/workspace/device-usb-camera/4 # timeout=10 23:20:49 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 23:20:49 > git --version # timeout=10 23:20:49 > git --version # 'git version 2.25.1' 23:20:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:52 Avoid second fetch 23:20:52 Checking out Revision 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 (levski) 23:20:51 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 23:20:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:52 > git config core.sparsecheckout # timeout=10 23:20:52 > git checkout -f 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 # timeout=10 23:20:53 Commit message: "fix: device-sdk levski patch stable tag added (#197)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:20:53 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:53 Dload Upload Total Spent Left Speed 23:20:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 23:20:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:20:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:20:54 + sudo tee /etc/docker/daemon.new 23:20:54 { 23:20:54 "registry-mirrors": [ 23:20:54 "https://nexus3.edgexfoundry.org:10001" 23:20:54 ], 23:20:54 "bip": "10.250.0.254/24", 23:20:54 "hosts": [ 23:20:54 "tcp://0.0.0.0:5555", 23:20:54 "unix:///var/run/docker.sock" 23:20:54 ], 23:20:54 "mtu": 1458, 23:20:54 "selinux-enabled": true, 23:20:54 "seccomp-profile": "/etc/docker/seccomp.json" 23:20:54 } [Pipeline] sh 23:20:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:20:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:13 provisioning config files... 23:21:13 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config498452660946951405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:14 ---> docker-login.sh 23:21:14 nexus3.edgexfoundry.org:10001 23:21:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:14 Configure a credential helper to remove this warning. See 23:21:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:14 23:21:14 Login Succeeded 23:21:14 nexus3.edgexfoundry.org:10002 23:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:15 Configure a credential helper to remove this warning. See 23:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:15 23:21:15 Login Succeeded 23:21:15 nexus3.edgexfoundry.org:10003 23:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:15 Configure a credential helper to remove this warning. See 23:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:15 23:21:15 Login Succeeded 23:21:15 nexus3.edgexfoundry.org:10004 23:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:16 Configure a credential helper to remove this warning. See 23:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:16 23:21:16 Login Succeeded 23:21:16 docker.io 23:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:16 Configure a credential helper to remove this warning. See 23:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:16 23:21:16 Login Succeeded 23:21:16 ---> docker-login.sh ends [Pipeline] } 23:21:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:17 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:17 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:18 ========================================================= 23:21:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:21:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:18 + 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 . 23:21:18 Sending build context to Docker daemon 1.192MB 23:21:18 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:21:18 Step 2/13 : FROM ${BASE} AS builder 23:21:18 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:21:18 9b18e9b68314: Pulling fs layer 23:21:18 35d82f9e3411: Pulling fs layer 23:21:18 e16973657156: Pulling fs layer 23:21:18 fc693d55d65f: Pulling fs layer 23:21:18 7e9fc2657dce: Pulling fs layer 23:21:18 dda99020689f: Pulling fs layer 23:21:18 db1c61fa0a46: Pulling fs layer 23:21:18 891c053d2c06: Pulling fs layer 23:21:18 fc693d55d65f: Waiting 23:21:18 7e9fc2657dce: Waiting 23:21:18 dda99020689f: Waiting 23:21:18 891c053d2c06: Waiting 23:21:18 db1c61fa0a46: Waiting 23:21:18 e16973657156: Download complete 23:21:18 35d82f9e3411: Verifying Checksum 23:21:18 35d82f9e3411: Download complete 23:21:18 7e9fc2657dce: Verifying Checksum 23:21:18 7e9fc2657dce: Download complete 23:21:18 dda99020689f: Verifying Checksum 23:21:18 dda99020689f: Download complete 23:21:19 9b18e9b68314: Verifying Checksum 23:21:20 9b18e9b68314: Pull complete 23:21:20 891c053d2c06: Verifying Checksum 23:21:20 891c053d2c06: Download complete 23:21:20 35d82f9e3411: Pull complete 23:21:21 e16973657156: Pull complete 23:21:21 db1c61fa0a46: Verifying Checksum 23:21:21 db1c61fa0a46: Download complete 23:21:22 fc693d55d65f: Verifying Checksum 23:21:22 fc693d55d65f: Download complete 23:21:34 fc693d55d65f: Pull complete 23:21:35 7e9fc2657dce: Pull complete 23:21:35 dda99020689f: Pull complete 23:21:42 db1c61fa0a46: Pull complete 23:21:44 891c053d2c06: Pull complete 23:21:44 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:21:44 ---> f96f9c87975a 23:21:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:21:46 ---> Running in eb7ad857743e 23:21:46 Removing intermediate container eb7ad857743e 23:21:46 ---> e602d1197e5f 23:21:46 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:21:46 ---> Running in ad96327adcce 23:21:47 Removing intermediate container ad96327adcce 23:21:47 ---> b6dc97e94592 23:21:47 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:21:47 ---> Running in dfcf8f4671fa 23:21:47 Removing intermediate container dfcf8f4671fa 23:21:47 ---> 69a2d49de725 23:21:47 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:21:47 ---> Running in 9b878754eca8 23:21:47 Removing intermediate container 9b878754eca8 23:21:47 ---> f16a00e55100 23:21:47 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:47 ---> Running in 1140a81b0f54 23:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:21:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:21:50 (1/14) Installing libintl (0.21-r2) 23:21:50 (2/14) Installing eudev-libs (3.2.11-r0) 23:21:50 (3/14) Installing libjpeg-turbo (2.1.3-r1) 23:21:50 (4/14) Installing v4l-utils-libs (1.22.1-r1) 23:21:50 (5/14) Installing v4l-utils (1.22.1-r1) 23:21:50 (6/14) Installing udev-init-scripts (35-r0) 23:21:50 Executing udev-init-scripts-35-r0.post-install 23:21:50 (7/14) Installing libblkid (2.38-r1) 23:21:50 (8/14) Installing xz-libs (5.2.5-r1) 23:21:50 (9/14) Installing zstd-libs (1.5.2-r1) 23:21:50 (10/14) Installing kmod-libs (29-r2) 23:21:50 (11/14) Installing eudev (3.2.11-r0) 23:21:50 (12/14) Installing eudev-dev (3.2.11-r0) 23:21:50 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 23:21:50 (14/14) Installing v4l-utils-dev (1.22.1-r1) 23:21:50 Executing busybox-1.35.0-r17.trigger 23:21:50 Executing eudev-3.2.11-r0.trigger 23:21:50 OK: 228 MiB in 65 packages 23:21:52 Removing intermediate container 1140a81b0f54 23:21:52 ---> 6189b359fda9 23:21:52 Step 8/13 : WORKDIR /device-usb-camera 23:21:52 ---> Running in c682ea6a2886 23:21:52 Removing intermediate container c682ea6a2886 23:21:52 ---> 5f8d61de9c8f 23:21:52 Step 9/13 : COPY go.mod vendor* ./ 23:21:53 ---> 374fb2156856 23:21:53 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:53 ---> Running in 3e41afb163d9 23:22:49 Removing intermediate container 3e41afb163d9 23:22:49 ---> f5701b5a4e0d 23:22:49 Step 11/13 : COPY . . 23:22:49 ---> c5efbaa33d0a 23:22:49 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:22:49 ---> Running in e99abc5cf96d 23:22:49  % Total % Received % Xferd Average Speed Time Time Time Current 23:22:49 Dload Upload Total Spent Left Speed 23:22:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 12812 0 --:--:-- --:--:-- --:--:-- 12951 23:22:49 Removing intermediate container e99abc5cf96d 23:22:49 ---> 8dd63c80e803 23:22:49 Step 13/13 : RUN ${MAKE} 23:22:49 ---> Running in 29bd496fd646 23:22:49 noop 23:22:50 Removing intermediate container 29bd496fd646 23:22:50 ---> 1748942d4e3d 23:22:50 Successfully built 1748942d4e3d 23:22:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:51 + docker inspect -f . ci-base-image-arm64 23:22:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:51 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 23:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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-arm64 cat 23:22:52 $ docker top 2fa80aacad7f7bdee67ad7a50b7f7964e0d8a06dd9eb0b455b33a123936c6e01 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:53 + go version 23:22:53 go version go1.18.7 linux/arm64 [Pipeline] } 23:22:53 $ docker stop --time=1 2fa80aacad7f7bdee67ad7a50b7f7964e0d8a06dd9eb0b455b33a123936c6e01 23:22:55 $ docker rm -f --volumes 2fa80aacad7f7bdee67ad7a50b7f7964e0d8a06dd9eb0b455b33a123936c6e01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:55 + docker inspect -f . ci-base-image-arm64 23:22:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:55 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 23:22:55 $ 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/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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-arm64 cat 23:22:57 $ docker top edd320b3027157db1c7f2540d4e6ee8ea74a88395efd686d2cfbe036263fcaa6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:58 + git config --global --add safe.directory /w/workspace/device-usb-camera/4 [Pipeline] fileExists [Pipeline] sh 23:22:58 + make test 23:22:58 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 23:23:00 ? github.com/edgexfoundry/device-usb-camera [no test files] 23:24:51 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 23:24:51 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.077s coverage: 1.9% of statements 23:24:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:51 CGO_ENABLED=1 go vet ./... 23:25:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:13 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:13 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:13 $ docker stop --time=1 edd320b3027157db1c7f2540d4e6ee8ea74a88395efd686d2cfbe036263fcaa6 23:25:15 $ docker rm -f --volumes edd320b3027157db1c7f2540d4e6ee8ea74a88395efd686d2cfbe036263fcaa6 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:16 Warning: overwriting stash ‘coverage-report’ 23:25:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:17 + ls -al . 23:25:17 total 200 23:25:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 23:22 . 23:25:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:20 .. 23:25:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 23:20 .git 23:25:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:20 .github 23:25:17 -rw-rw-r-- 1 jenkins jenkins 414 Mar 21 23:20 .gitignore 23:25:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 23:20 .golangci.yml 23:25:17 -rw-rw-r-- 1 jenkins jenkins 77 Mar 21 23:20 .hadolint.yml 23:25:17 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 21 23:20 Attribution.txt 23:25:17 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 21 23:20 CHANGELOG.md 23:25:17 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 21 23:20 Dockerfile 23:25:17 -rw-rw-r-- 1 jenkins jenkins 678 Mar 21 23:20 GOVERNANCE.md 23:25:17 -rw-rw-r-- 1 jenkins jenkins 687 Mar 21 23:20 Jenkinsfile 23:25:17 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 21 23:20 LICENSE 23:25:17 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 21 23:20 Makefile 23:25:17 -rw-rw-r-- 1 jenkins jenkins 622 Mar 21 23:20 OWNERS.md 23:25:17 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 21 23:20 README.md 23:25:17 -rw-rw-r-- 1 jenkins jenkins 11 Mar 21 23:17 VERSION 23:25:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 23:20 bin 23:25:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:20 cmd 23:25:17 -rw-r--r-- 1 jenkins jenkins 30666 Mar 21 23:24 coverage.out 23:25:17 -rwxrwxr-x 1 jenkins jenkins 140 Mar 21 23:20 docker-entrypoint.sh 23:25:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:20 docs 23:25:17 -rw-rw-r-- 1 jenkins jenkins 3573 Mar 21 23:20 go.mod 23:25:17 -rw-rw-r-- 1 jenkins jenkins 45026 Mar 21 23:20 go.sum 23:25:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 23:20 internal 23:25:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 23:20 snap 23:25:17 -rw-rw-r-- 1 jenkins jenkins 231 Mar 21 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:18 + 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=1e8a9a0bc5fafbcf5b64264498bdde32df42f291 --label arch=arm64 --label version=2.3.1-dev.4 . 23:25:18 Sending build context to Docker daemon 1.223MB 23:25:18 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 23:25:18 Step 2/35 : FROM ${BASE} AS builder 23:25:18 ---> 1748942d4e3d 23:25:18 Step 3/35 : ARG ADD_BUILD_TAGS="" 23:25:18 ---> Running in d13e929ebe88 23:25:19 Removing intermediate container d13e929ebe88 23:25:19 ---> f4e1077b5620 23:25:19 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:19 ---> Running in bf90021a384a 23:25:19 Removing intermediate container bf90021a384a 23:25:19 ---> fcc8caec3c63 23:25:19 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 23:25:19 ---> Running in 262e16598d9e 23:25:19 Removing intermediate container 262e16598d9e 23:25:19 ---> efa9bd057fa5 23:25:19 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 23:25:19 ---> Running in 95ffec8574e9 23:25:20 Removing intermediate container 95ffec8574e9 23:25:20 ---> bfed2fe5c33d 23:25:20 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:20 ---> Running in d7ca02e37e10 23:25:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:25:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:25:22 OK: 228 MiB in 65 packages 23:25:23 Removing intermediate container d7ca02e37e10 23:25:23 ---> fb0a691c58ad 23:25:23 Step 8/35 : WORKDIR /device-usb-camera 23:25:23 ---> Running in 8031d0f3ef5f 23:25:24 Removing intermediate container 8031d0f3ef5f 23:25:24 ---> c4b7e302ff34 23:25:24 Step 9/35 : COPY go.mod vendor* ./ 23:25:24 ---> da539512ba56 23:25:24 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:24 ---> Running in 2feb17901bd4 23:25:28 Removing intermediate container 2feb17901bd4 23:25:28 ---> 64cf46b2bea6 23:25:28 Step 11/35 : COPY . . 23:25:29 ---> 1806409f8c0e 23:25:29 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 23:25:29 ---> Running in 2d72b2ae4f72 23:25:30  % Total % Received % Xferd Average Speed  Time Time Time Current 23:25:30 Dload Upload Total Spent Left Speed 23:25:30  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 3673 0 --:--:-- --:--:-- --:--:-- 3687 23:25:31 Removing intermediate container 2d72b2ae4f72 23:25:31 ---> 81d450f96183 23:25:31 Step 13/35 : RUN ${MAKE} 23:25:31 ---> Running in 5d1925a5bb13 23:25:32 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=2.3.1-dev.4 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 23:28:09 Removing intermediate container 5d1925a5bb13 23:28:09 ---> 7c7b1d1c4710 23:28:09 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 23:28:09 v0.21.6: Pulling from aler9/rtsp-simple-server 23:28:09 8766b47fe142: Pulling fs layer 23:28:09 8766b47fe142: Verifying Checksum 23:28:09 8766b47fe142: Download complete 23:28:09 8766b47fe142: Pull complete 23:28:09 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 23:28:09 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 23:28:09 ---> 69d40e2cb93c 23:28:09 Step 15/35 : FROM alpine:3.16 23:28:10 3.16: Pulling from library/alpine 23:28:10 3760b48202b3: Pulling fs layer 23:28:10 3760b48202b3: Verifying Checksum 23:28:10 3760b48202b3: Download complete 23:28:11 3760b48202b3: Pull complete 23:28:11 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 23:28:11 Status: Downloaded newer image for alpine:3.16 23:28:11 ---> 4c81e5bf8899 23:28:11 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:28:11 ---> Running in 9ce8936077d0 23:28:11 Removing intermediate container 9ce8936077d0 23:28:11 ---> e2401d03449d 23:28:11 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 23:28:11 ---> Running in 75da8d6d5332 23:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:28:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:28:14 (1/82) Installing dumb-init (1.2.5-r1) 23:28:14 (2/82) Installing sdl2 (2.0.22-r0) 23:28:14 (3/82) Installing libxau (1.0.9-r0) 23:28:14 (4/82) Installing libxdmcp (1.1.3-r0) 23:28:14 (5/82) Installing libxcb (1.15-r0) 23:28:14 (6/82) Installing libx11 (1.8-r0) 23:28:14 (7/82) Installing aom-libs (3.3.0-r0) 23:28:14 (8/82) Installing alsa-lib (1.2.7.2-r0) 23:28:14 (9/82) Installing expat (2.5.0-r0) 23:28:14 (10/82) Installing brotli-libs (1.0.9-r6) 23:28:14 (11/82) Installing libbz2 (1.0.8-r1) 23:28:14 (12/82) Installing libpng (1.6.37-r1) 23:28:14 (13/82) Installing freetype (2.12.1-r0) 23:28:14 (14/82) Installing fontconfig (2.14.0-r0) 23:28:15 (15/82) Installing fribidi (1.0.12-r0) 23:28:15 (16/82) Installing libffi (3.4.2-r1) 23:28:15 (17/82) Installing libintl (0.21-r2) 23:28:15 (18/82) Installing libblkid (2.38-r1) 23:28:15 (19/82) Installing libmount (2.38-r1) 23:28:15 (20/82) Installing pcre (8.45-r2) 23:28:15 (21/82) Installing glib (2.72.1-r0) 23:28:15 (22/82) Installing graphite2 (1.3.14-r1) 23:28:15 (23/82) Installing harfbuzz (4.3.0-r0) 23:28:15 (24/82) Installing libass (0.16.0-r0) 23:28:15 (25/82) Installing libdav1d (1.0.0-r0) 23:28:15 (26/82) Installing libdrm (2.4.110-r0) 23:28:15 (27/82) Installing gmp (6.2.1-r2) 23:28:15 (28/82) Installing nettle (3.7.3-r0) 23:28:15 (29/82) Installing p11-kit (0.24.1-r0) 23:28:15 (30/82) Installing libtasn1 (4.18.0-r1) 23:28:15 (31/82) Installing libunistring (1.0-r0) 23:28:15 (32/82) Installing gnutls (3.7.7-r1) 23:28:15 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 23:28:15 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 23:28:15 (35/82) Installing lame (3.100-r0) 23:28:15 (36/82) Installing opus (1.3.1-r1) 23:28:15 (37/82) Installing libasyncns (0.8-r1) 23:28:15 (38/82) Installing dbus-libs (1.14.4-r0) 23:28:15 (39/82) Installing libltdl (2.4.7-r0) 23:28:15 (40/82) Installing orc (0.4.32-r0) 23:28:15 (41/82) Installing libgcc (11.2.1_git20220219-r2) 23:28:15 (42/82) Installing libogg (1.3.5-r1) 23:28:15 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 23:28:15 (44/82) Installing flac (1.3.4-r0) 23:28:16 (45/82) Installing libvorbis (1.3.7-r0) 23:28:16 (46/82) Installing libsndfile (1.1.0-r0) 23:28:16 (47/82) Installing libgomp (11.2.1_git20220219-r2) 23:28:16 (48/82) Installing soxr (0.1.3-r2) 23:28:16 (49/82) Installing speexdsp (1.2.0-r0) 23:28:16 (50/82) Installing tdb-libs (1.4.6-r0) 23:28:16 (51/82) Installing libpulse (15.0-r2) 23:28:16 (52/82) Installing cjson (1.7.15-r3) 23:28:16 (53/82) Installing mbedtls (2.28.2-r0) 23:28:16 (54/82) Installing librist (0.2.6-r1) 23:28:16 (55/82) Installing libsrt (1.4.4-r0) 23:28:16 (56/82) Installing libssh (0.9.6-r1) 23:28:16 (57/82) Installing libtheora (1.1.1-r16) 23:28:16 (58/82) Installing libjpeg-turbo (2.1.3-r1) 23:28:16 (59/82) Installing v4l-utils-libs (1.22.1-r1) 23:28:16 (60/82) Installing libxext (1.3.4-r0) 23:28:16 (61/82) Installing libxfixes (6.0.0-r0) 23:28:16 (62/82) Installing wayland-libs-client (1.20.0-r0) 23:28:16 (63/82) Installing libva (2.14.0-r0) 23:28:16 (64/82) Installing libvdpau (1.5-r0) 23:28:16 (65/82) Installing vidstab (1.1.0-r1) 23:28:16 (66/82) Installing libvpx (1.11.0-r1) 23:28:16 (67/82) Installing libwebp (1.2.3-r0) 23:28:16 (68/82) Installing x264-libs (0.163_git20210613-r0) 23:28:16 (69/82) Installing numactl (2.0.14-r0) 23:28:16 (70/82) Installing x265-libs (3.5-r3) 23:28:16 (71/82) Installing xvidcore (1.3.7-r1) 23:28:16 (72/82) Installing ffmpeg-libs (5.0.1-r1) 23:28:17 (73/82) Installing ffmpeg (5.0.1-r1) 23:28:17 (74/82) Installing udev-init-scripts (35-r0) 23:28:17 Executing udev-init-scripts-35-r0.post-install 23:28:17 (75/82) Installing eudev-libs (3.2.11-r0) 23:28:17 (76/82) Installing xz-libs (5.2.5-r1) 23:28:17 (77/82) Installing zstd-libs (1.5.2-r1) 23:28:17 (78/82) Installing kmod-libs (29-r2) 23:28:17 (79/82) Installing eudev (3.2.11-r0) 23:28:17 (80/82) Installing libsodium (1.0.18-r0) 23:28:17 (81/82) Installing libzmq (4.3.4-r0) 23:28:17 (82/82) Installing zeromq (4.3.4-r0) 23:28:17 Executing busybox-1.35.0-r17.trigger 23:28:17 Executing eudev-3.2.11-r0.trigger 23:28:17 OK: 78 MiB in 96 packages 23:28:21 Removing intermediate container 75da8d6d5332 23:28:21 ---> 666432c55dca 23:28:21 Step 18/35 : WORKDIR / 23:28:21 ---> Running in a09a87e961ef 23:28:21 Removing intermediate container a09a87e961ef 23:28:21 ---> fe57a0e6a4a3 23:28:21 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 23:28:23 ---> 67f9083f2bf4 23:28:23 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 23:28:23 ---> 41f1c76b988b 23:28:23 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 23:28:24 ---> 6fafd62015a6 23:28:24 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 23:28:24 ---> 4be5a61b6aef 23:28:24 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 23:28:25 ---> 926736400529 23:28:25 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 23:28:25 ---> ea692f1129f9 23:28:25 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 23:28:27 ---> 60ae638fc3db 23:28:27 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 23:28:27 ---> Running in 9de95dda98d5 23:28:29 Removing intermediate container 9de95dda98d5 23:28:29 ---> 9877119decb2 23:28:29 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 23:28:29 ---> Running in fffe24956494 23:28:32 Removing intermediate container fffe24956494 23:28:32 ---> c60336519df9 23:28:32 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 23:28:32 ---> Running in 5b0a0cf9feff 23:28:34 Removing intermediate container 5b0a0cf9feff 23:28:34 ---> ddac5d3ab355 23:28:34 Step 29/35 : EXPOSE 59983 23:28:34 ---> Running in a149ac6686f8 23:28:34 Removing intermediate container a149ac6686f8 23:28:34 ---> 2797a3301e49 23:28:34 Step 30/35 : EXPOSE 8554 23:28:34 ---> Running in 0a7ab80ebaa8 23:28:34 Removing intermediate container 0a7ab80ebaa8 23:28:34 ---> e17d612be435 23:28:34 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 23:28:35 ---> Running in 7e2b610036db 23:28:35 Removing intermediate container 7e2b610036db 23:28:35 ---> 892a23d82c84 23:28:35 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 23:28:35 ---> Running in c9d142f181d9 23:28:35 Removing intermediate container c9d142f181d9 23:28:35 ---> 288b13db1163 23:28:35 Step 33/35 : LABEL arch=arm64 23:28:35 ---> Running in fa406c2436a3 23:28:36 Removing intermediate container fa406c2436a3 23:28:36 ---> 11f16119d665 23:28:36 Step 34/35 : LABEL git_sha=1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:28:36 ---> Running in 001a0a01712c 23:28:36 Removing intermediate container 001a0a01712c 23:28:36 ---> 62a7aee9dab4 23:28:36 Step 35/35 : LABEL version=2.3.1-dev.4 23:28:36 ---> Running in 9fcd799caf14 23:28:36 Removing intermediate container 9fcd799caf14 23:28:36 ---> 163754713136 23:28:36 [Warning] One or more build-args [ARCH] were not consumed 23:28:36 Successfully built 163754713136 23:28:36 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 23:28:37 provisioning config files... 23:28:37 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/4@tmp/config7686659393559286638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:37 ---> docker-login.sh 23:28:37 nexus3.edgexfoundry.org:10001 23:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:37 Configure a credential helper to remove this warning. See 23:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:37 23:28:37 Login Succeeded 23:28:37 nexus3.edgexfoundry.org:10002 23:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:37 Configure a credential helper to remove this warning. See 23:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:37 23:28:37 Login Succeeded 23:28:38 nexus3.edgexfoundry.org:10003 23:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:38 Configure a credential helper to remove this warning. See 23:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:38 23:28:38 Login Succeeded 23:28:38 nexus3.edgexfoundry.org:10004 23:28:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:38 Configure a credential helper to remove this warning. See 23:28:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:38 23:28:38 Login Succeeded 23:28:38 docker.io 23:28:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:39 Configure a credential helper to remove this warning. See 23:28:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:39 23:28:39 Login Succeeded 23:28:39 ---> docker-login.sh ends [Pipeline] } 23:28:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:28:39 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:39 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 23:28:39 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:28:39 latest 23:28:39 2.3.1-dev.4 23:28:39 1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:28:39 levski 23:28:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:39 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:40 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:28:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 23:28:40 685ffbec576e: Preparing 23:28:40 55305ef0e263: Preparing 23:28:40 eaa1197e078a: Preparing 23:28:40 608d194cb50c: Preparing 23:28:40 acc83c6ca332: Preparing 23:28:40 ea5cd3633861: Preparing 23:28:40 0b221babe786: Preparing 23:28:40 f030942a0e1e: Preparing 23:28:40 b89e7b603848: Preparing 23:28:40 20291b668ad4: Preparing 23:28:40 e584264b6a15: Preparing 23:28:40 f70ee36035b9: Preparing 23:28:40 f030942a0e1e: Waiting 23:28:40 b89e7b603848: Waiting 23:28:40 20291b668ad4: Waiting 23:28:40 e584264b6a15: Waiting 23:28:40 ea5cd3633861: Waiting 23:28:40 0b221babe786: Waiting 23:28:40 f70ee36035b9: Waiting 23:28:40 685ffbec576e: Pushed 23:28:40 acc83c6ca332: Pushed 23:28:40 eaa1197e078a: Pushed 23:28:40 55305ef0e263: Pushed 23:28:40 ea5cd3633861: Pushed 23:28:40 0b221babe786: Pushed 23:28:40 b89e7b603848: Pushed 23:28:40 f030942a0e1e: Pushed 23:28:40 f70ee36035b9: Layer already exists 23:28:47 608d194cb50c: Pushed 23:28:47 20291b668ad4: Pushed 23:28:59 e584264b6a15: Pushed 23:28:59 1e8a9a0bc5fafbcf5b64264498bdde32df42f291: digest: sha256:19c27c81e7b44142348389c91966cedfe3a0d22d1dd803f38a50c21f67f7f90e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:59 + 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 23:29:00 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 23:29:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 23:29:00 685ffbec576e: Preparing 23:29:00 55305ef0e263: Preparing 23:29:00 eaa1197e078a: Preparing 23:29:00 608d194cb50c: Preparing 23:29:00 acc83c6ca332: Preparing 23:29:00 ea5cd3633861: Preparing 23:29:00 0b221babe786: Preparing 23:29:00 f030942a0e1e: Preparing 23:29:00 b89e7b603848: Preparing 23:29:00 20291b668ad4: Preparing 23:29:00 e584264b6a15: Preparing 23:29:00 f70ee36035b9: Preparing 23:29:00 b89e7b603848: Waiting 23:29:00 20291b668ad4: Waiting 23:29:00 ea5cd3633861: Waiting 23:29:00 e584264b6a15: Waiting 23:29:00 f70ee36035b9: Waiting 23:29:00 0b221babe786: Waiting 23:29:00 f030942a0e1e: Waiting 23:29:00 685ffbec576e: Layer already exists 23:29:00 eaa1197e078a: Layer already exists 23:29:00 acc83c6ca332: Layer already exists 23:29:00 55305ef0e263: Layer already exists 23:29:00 608d194cb50c: Layer already exists 23:29:00 f030942a0e1e: Layer already exists 23:29:00 ea5cd3633861: Layer already exists 23:29:00 0b221babe786: Layer already exists 23:29:00 20291b668ad4: Layer already exists 23:29:00 b89e7b603848: Layer already exists 23:29:00 e584264b6a15: Layer already exists 23:29:00 f70ee36035b9: Layer already exists 23:29:00 latest: digest: sha256:19c27c81e7b44142348389c91966cedfe3a0d22d1dd803f38a50c21f67f7f90e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:00 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:01 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.4 23:29:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 23:29:01 685ffbec576e: Preparing 23:29:01 55305ef0e263: Preparing 23:29:01 eaa1197e078a: Preparing 23:29:01 608d194cb50c: Preparing 23:29:01 acc83c6ca332: Preparing 23:29:01 ea5cd3633861: Preparing 23:29:01 0b221babe786: Preparing 23:29:01 f030942a0e1e: Preparing 23:29:01 b89e7b603848: Preparing 23:29:01 20291b668ad4: Preparing 23:29:01 e584264b6a15: Preparing 23:29:01 f70ee36035b9: Preparing 23:29:01 ea5cd3633861: Waiting 23:29:01 0b221babe786: Waiting 23:29:01 f030942a0e1e: Waiting 23:29:01 b89e7b603848: Waiting 23:29:01 20291b668ad4: Waiting 23:29:01 e584264b6a15: Waiting 23:29:01 f70ee36035b9: Waiting 23:29:01 acc83c6ca332: Layer already exists 23:29:01 55305ef0e263: Layer already exists 23:29:01 685ffbec576e: Layer already exists 23:29:01 eaa1197e078a: Layer already exists 23:29:01 608d194cb50c: Layer already exists 23:29:01 0b221babe786: Layer already exists 23:29:01 f030942a0e1e: Layer already exists 23:29:01 b89e7b603848: Layer already exists 23:29:01 ea5cd3633861: Layer already exists 23:29:01 20291b668ad4: Layer already exists 23:29:01 f70ee36035b9: Layer already exists 23:29:01 e584264b6a15: Layer already exists 23:29:01 2.3.1-dev.4: digest: sha256:19c27c81e7b44142348389c91966cedfe3a0d22d1dd803f38a50c21f67f7f90e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:01 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:02 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:29:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 23:29:02 685ffbec576e: Preparing 23:29:02 55305ef0e263: Preparing 23:29:02 eaa1197e078a: Preparing 23:29:02 608d194cb50c: Preparing 23:29:02 acc83c6ca332: Preparing 23:29:02 ea5cd3633861: Preparing 23:29:02 0b221babe786: Preparing 23:29:02 f030942a0e1e: Preparing 23:29:02 b89e7b603848: Preparing 23:29:02 20291b668ad4: Preparing 23:29:02 e584264b6a15: Preparing 23:29:02 f70ee36035b9: Preparing 23:29:02 0b221babe786: Waiting 23:29:02 ea5cd3633861: Waiting 23:29:02 b89e7b603848: Waiting 23:29:02 20291b668ad4: Waiting 23:29:02 e584264b6a15: Waiting 23:29:02 f70ee36035b9: Waiting 23:29:02 f030942a0e1e: Waiting 23:29:02 608d194cb50c: Layer already exists 23:29:02 685ffbec576e: Layer already exists 23:29:02 eaa1197e078a: Layer already exists 23:29:02 55305ef0e263: Layer already exists 23:29:02 acc83c6ca332: Layer already exists 23:29:02 ea5cd3633861: Layer already exists 23:29:02 20291b668ad4: Layer already exists 23:29:02 f030942a0e1e: Layer already exists 23:29:02 0b221babe786: Layer already exists 23:29:02 b89e7b603848: Layer already exists 23:29:02 f70ee36035b9: Layer already exists 23:29:02 e584264b6a15: Layer already exists 23:29:02 1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4: digest: sha256:19c27c81e7b44142348389c91966cedfe3a0d22d1dd803f38a50c21f67f7f90e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:02 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:03 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:levski 23:29:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 23:29:03 685ffbec576e: Preparing 23:29:03 55305ef0e263: Preparing 23:29:03 eaa1197e078a: Preparing 23:29:03 608d194cb50c: Preparing 23:29:03 acc83c6ca332: Preparing 23:29:03 ea5cd3633861: Preparing 23:29:03 0b221babe786: Preparing 23:29:03 f030942a0e1e: Preparing 23:29:03 b89e7b603848: Preparing 23:29:03 20291b668ad4: Preparing 23:29:03 e584264b6a15: Preparing 23:29:03 f70ee36035b9: Preparing 23:29:03 f030942a0e1e: Waiting 23:29:03 b89e7b603848: Waiting 23:29:03 20291b668ad4: Waiting 23:29:03 ea5cd3633861: Waiting 23:29:03 e584264b6a15: Waiting 23:29:03 f70ee36035b9: Waiting 23:29:03 0b221babe786: Waiting 23:29:03 eaa1197e078a: Layer already exists 23:29:03 608d194cb50c: Layer already exists 23:29:03 55305ef0e263: Layer already exists 23:29:03 acc83c6ca332: Layer already exists 23:29:03 685ffbec576e: Layer already exists 23:29:03 0b221babe786: Layer already exists 23:29:03 ea5cd3633861: Layer already exists 23:29:03 20291b668ad4: Layer already exists 23:29:03 b89e7b603848: Layer already exists 23:29:03 f030942a0e1e: Layer already exists 23:29:03 f70ee36035b9: Layer already exists 23:29:03 e584264b6a15: Layer already exists 23:29:03 levski: digest: sha256:19c27c81e7b44142348389c91966cedfe3a0d22d1dd803f38a50c21f67f7f90e size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:29:03 ===================================================== [Pipeline] echo 23:29:03 taggedImages: 23:29:03 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291 23:29:03 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 23:29:03 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:2.3.1-dev.4 23:29:03 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:1e8a9a0bc5fafbcf5b64264498bdde32df42f291-2.3.1-dev.4 23:29:03 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:levski [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:03 23:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:04 arm64: Pulling from edgex-lftools-log-publisher 23:29:04 8998bd30e6a1: Pulling fs layer 23:29:04 04944245beec: Pulling fs layer 23:29:04 699f458cf7ca: Pulling fs layer 23:29:04 765212b225bb: Pulling fs layer 23:29:04 f23df028b6ca: Pulling fs layer 23:29:04 d65c8cfc05b1: Pulling fs layer 23:29:04 2437ff75d9bd: Pulling fs layer 23:29:04 f23df028b6ca: Waiting 23:29:04 765212b225bb: Waiting 23:29:04 d65c8cfc05b1: Waiting 23:29:04 2437ff75d9bd: Waiting 23:29:04 04944245beec: Verifying Checksum 23:29:04 04944245beec: Download complete 23:29:04 765212b225bb: Download complete 23:29:04 f23df028b6ca: Verifying Checksum 23:29:04 f23df028b6ca: Download complete 23:29:04 d65c8cfc05b1: Verifying Checksum 23:29:04 d65c8cfc05b1: Download complete 23:29:04 699f458cf7ca: Verifying Checksum 23:29:04 699f458cf7ca: Download complete 23:29:05 8998bd30e6a1: Verifying Checksum 23:29:05 8998bd30e6a1: Download complete 23:29:07 2437ff75d9bd: Verifying Checksum 23:29:07 2437ff75d9bd: Download complete 23:29:11 8998bd30e6a1: Pull complete 23:29:11 04944245beec: Pull complete 23:29:12 699f458cf7ca: Pull complete 23:29:12 765212b225bb: Pull complete 23:29:13 f23df028b6ca: Pull complete 23:29:13 d65c8cfc05b1: Pull complete 23:29:28 2437ff75d9bd: Pull complete 23:29:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:29:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:28 prd-ubuntu20.04-docker-arm64-4c-16g-4990 does not seem to be running inside a container 23:29:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-usb-camera/4 -v /w/workspace/device-usb-camera/4:/w/workspace/device-usb-camera/4:rw,z -v /w/workspace/device-usb-camera/4@tmp:/w/workspace/device-usb-camera/4@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:arm64 cat 23:29:31 $ docker top e90a1c3c93de47a2c2225c44f99b6ea39e10f74d96de3a9100c6e17c92b744ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:32 ---> job-cost.sh 23:29:32 lf-activate-venv: SKIPPING 23:29:32 INFO: No Stack... 23:29:32 INFO: Retrieving Pricing Info for: v3-standard-4 23:29:33 INFO: Archiving Costs [Pipeline] sh 23:29:34 + cat /w/workspace/device-usb-camera/4/archives/cost.csv 23:29:34 + cut -d, -f6 [Pipeline] lock 23:29:34 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] 23:29:34 Resource [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] did not exist. Created. 23:29:34 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:35 /w/workspace/device-usb-camera/4@tmp/durable-2ec9a8bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:29:35 + echo total: 0.10999999940395355 [Pipeline] stash 23:29:35 Warning: overwriting stash ‘stack-cost’ 23:29:35 Stashed 1 file(s) [Pipeline] } 23:29:35 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-levski-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:36 $ docker stop --time=1 e90a1c3c93de47a2c2225c44f99b6ea39e10f74d96de3a9100c6e17c92b744ce 23:29:39 $ docker rm -f --volumes e90a1c3c93de47a2c2225c44f99b6ea39e10f74d96de3a9100c6e17c92b744ce [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 23:29:39 provisioning config files... 23:29:39 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config4998681988241705644tmp [Pipeline] { [Pipeline] sh 23:29:40 + set +x 23:29:40 + curl -s https://codecov.io/bash 23:29:40 + bash -s -- 23:29:40 23:29:40 _____ _ 23:29:40 / ____| | | 23:29:40 | | ___ __| | ___ ___ _____ __ 23:29:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:29:40 | |___| (_) | (_| | __/ (_| (_) \ V / 23:29:40 \_____\___/ \__,_|\___|\___\___/ \_/ 23:29:40 Bash-1.0.6 23:29:40 23:29:40 23:29:40 ==> git version 2.25.1 found 23:29:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:29:40 Release-Date: 2020-01-08 23:29:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:29:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:29:40 ==> Jenkins CI detected. 23:29:40 current dir:  /w/workspace/foundry_device-usb-camera_levski 23:29:40 project root: . 23:29:40 --> token set from env 23:29:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:29:40 ==> Running gcov in . (disable via -X gcov) 23:29:40 ==> Python coveragepy not found 23:29:40 ==> Searching for coverage reports in: 23:29:40 + . 23:29:40 -> Found 1 reports 23:29:40 ==> Detecting git/mercurial file structure 23:29:40 ==> Reading reports 23:29:40 + ./coverage.out bytes=30666 23:29:40 ==> Appending adjustments 23:29:40 https://docs.codecov.io/docs/fixing-reports 23:29:40 + Found adjustments 23:29:40 ==> Gzipping contents 23:29:40 8.0K /tmp/codecov.SkmbFN.gz 23:29:40 ==> Uploading reports 23:29:40 url: https://codecov.io 23:29:40 query: branch=levski&commit=1e8a9a0bc5fafbcf5b64264498bdde32df42f291&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Flevski%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:29:40 -> Pinging Codecov 23:29:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6df5b310-220c-4ff1-ad85-d7a32441f080&branch=levski&commit=1e8a9a0bc5fafbcf5b64264498bdde32df42f291&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Flevski%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:29:40 -> Uploading to 23:29:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-21/73D8F5FF140700D3E01443B452E23636/1e8a9a0bc5fafbcf5b64264498bdde32df42f291/230af784-0227-4779-9242-50f5fa3a533f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T232940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e1d24b131c864ea1ad9b7123a11fbd1254d0c3aecf5fb4fcd99689851b63f14d 23:29:40 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:40 Dload Upload Total Spent Left Speed 23:29:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4342 0 0 100 4342 0 19736 --:--:-- --:--:-- --:--:-- 19647 100 4342 0 0 100 4342 0 15963 --:--:-- --:--:-- --:--:-- 15904 23:29:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] } 23:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:29:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:29:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:29:41 23:29:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:29:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:29:41 df9b9388f04a: Pulling fs layer 23:29:41 52dc419b0ee2: Pulling fs layer 23:29:41 25bc292e5bac: Pulling fs layer 23:29:41 114826534d7a: Pulling fs layer 23:29:41 4657fd5d0bcf: Pulling fs layer 23:29:41 6ad1cebc031e: Pulling fs layer 23:29:41 8a3aa393b2d8: Pulling fs layer 23:29:41 114826534d7a: Waiting 23:29:41 4657fd5d0bcf: Waiting 23:29:41 6ad1cebc031e: Waiting 23:29:41 25bc292e5bac: Verifying Checksum 23:29:41 25bc292e5bac: Download complete 23:29:41 52dc419b0ee2: Download complete 23:29:41 4657fd5d0bcf: Verifying Checksum 23:29:41 4657fd5d0bcf: Download complete 23:29:41 df9b9388f04a: Download complete 23:29:41 df9b9388f04a: Pull complete 23:29:41 6ad1cebc031e: Verifying Checksum 23:29:41 6ad1cebc031e: Download complete 23:29:41 52dc419b0ee2: Pull complete 23:29:41 25bc292e5bac: Pull complete 23:29:42 114826534d7a: Verifying Checksum 23:29:42 114826534d7a: Download complete 23:29:42 8a3aa393b2d8: Verifying Checksum 23:29:42 8a3aa393b2d8: Download complete 23:29:46 114826534d7a: Pull complete 23:29:46 4657fd5d0bcf: Pull complete 23:29:46 6ad1cebc031e: Pull complete 23:29:48 8a3aa393b2d8: Pull complete 23:29:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:29:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:29:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:48 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:29:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:29:53 $ docker top 4ee6a240ac6efe30d1682492dbcad0937b978bbaaab017a9ad84db26b464227e -eo pid,comm [Pipeline] { [Pipeline] echo 23:29:53 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:levski' [Pipeline] sh 23:29:54 + set -o pipefail 23:29:54 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:levski' 23:29:59 23:29:59 Monitoring /w/workspace/foundry_device-usb-camera_levski (github.com/edgexfoundry/device-usb-camera)... 23:29:59 23:29:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6d161b6e-aadb-4bac-a9cd-5e25ffa3ca58/history/f1a321d2-3239-42fd-a7cd-9fc86f659340 23:29:59 23:29:59 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:29:59 23:29:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:29:59 23:29:59 23:29:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:29:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:29:59 More details here: https://snyk.co/ue1NS [Pipeline] } 23:29:59 $ docker stop --time=1 4ee6a240ac6efe30d1682492dbcad0937b978bbaaab017a9ad84db26b464227e 23:30:02 $ docker rm -f --volumes 4ee6a240ac6efe30d1682492dbcad0937b978bbaaab017a9ad84db26b464227e [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 23:30:03 + git log --format=format:%s -1 1e8a9a0bc5fafbcf5b64264498bdde32df42f291 [Pipeline] sh 23:30:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:30:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:04 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:30:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:30:04 $ docker top 7bb9015da5a388c7c214e4f49e75443c81b4311d42233cfc78877ceb0c3a663d -eo pid,comm 23:30:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:30:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:04 [ssh-agent] Looking for ssh-agent implementation... 23:30:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:04 $ docker exec 7bb9015da5a388c7c214e4f49e75443c81b4311d42233cfc78877ceb0c3a663d ssh-agent 23:30:04 SSH_AUTH_SOCK=/tmp/ssh-pCmnF31ysYqm/agent.32 23:30:04 SSH_AGENT_PID=38 23:30:04 Running ssh-add (command line suppressed) 23:30:04 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_3089988955633422472.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_3089988955633422472.key) 23:30:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:05 + git semver tag 23:30:05 2023-03-21 23:30:05,356 [run_tag] DEBUG tag force:False 23:30:05 2023-03-21 23:30:05,356 [check_head_tag] DEBUG check head tag 23:30:05 2023-03-21 23:30:05,357 [execute] INFO git cat-file --batch-check 23:30:05 2023-03-21 23:30:05,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=) 23:30:05 2023-03-21 23:30:05,361 [execute] INFO git cat-file --batch 23:30:05 2023-03-21 23:30:05,361 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=) 23:30:05 2023-03-21 23:30:05,380 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:05 2023-03-21 23:30:05,381 [execute] INFO git tag -a v2.3.1-dev.4 -m v2.3.1-dev.4 23:30:05 2023-03-21 23:30:05,381 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.4', '-m', 'v2.3.1-dev.4'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=None) 23:30:05 2023-03-21 23:30:05,385 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:05 2.3.1-dev.4 [Pipeline] } 23:30:05 $ docker exec --env ******** --env ******** 7bb9015da5a388c7c214e4f49e75443c81b4311d42233cfc78877ceb0c3a663d ssh-agent -k 23:30:05 unset SSH_AUTH_SOCK; 23:30:05 unset SSH_AGENT_PID; 23:30:05 echo Agent pid 38 killed; 23:30:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:05 + git semver [Pipeline] } 23:30:06 $ docker stop --time=1 7bb9015da5a388c7c214e4f49e75443c81b4311d42233cfc78877ceb0c3a663d 23:30:07 $ docker rm -f --volumes 7bb9015da5a388c7c214e4f49e75443c81b4311d42233cfc78877ceb0c3a663d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:30:07 23:30:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:30:08 0.23.1-centos7: Pulling from edgex-lftools 23:30:08 ab5ef0e58194: Pulling fs layer 23:30:08 9712f1f96733: Pulling fs layer 23:30:08 63f879dbbcfc: Pulling fs layer 23:30:08 0d9ebad4ef96: Pulling fs layer 23:30:08 e9a5061849ea: Pulling fs layer 23:30:08 d747dcd14b5f: Pulling fs layer 23:30:08 2de7ff778b66: Pulling fs layer 23:30:08 d747dcd14b5f: Waiting 23:30:08 0d9ebad4ef96: Waiting 23:30:08 2de7ff778b66: Waiting 23:30:08 e9a5061849ea: Waiting 23:30:08 9712f1f96733: Download complete 23:30:08 63f879dbbcfc: Verifying Checksum 23:30:08 63f879dbbcfc: Download complete 23:30:08 0d9ebad4ef96: Verifying Checksum 23:30:08 0d9ebad4ef96: Download complete 23:30:08 ab5ef0e58194: Verifying Checksum 23:30:08 ab5ef0e58194: Download complete 23:30:08 e9a5061849ea: Download complete 23:30:08 2de7ff778b66: Verifying Checksum 23:30:08 2de7ff778b66: Download complete 23:30:11 ab5ef0e58194: Pull complete 23:30:11 9712f1f96733: Pull complete 23:30:11 63f879dbbcfc: Pull complete 23:30:15 0d9ebad4ef96: Pull complete 23:30:15 e9a5061849ea: Pull complete 23:30:15 d747dcd14b5f: Pull complete 23:30:16 2de7ff778b66: Pull complete 23:30:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:30:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:16 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:30:19 $ docker top 3eea9ffc646768a7c0b9c0d9669efa3530c70747f8ba50425aaba2599cf468ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:30:19 provisioning config files... 23:30:19 copy managed file [sigul-config] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config7021129460189732897tmp 23:30:19 copy managed file [sigul-password] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config926731801592433912tmp 23:30:19 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config14448583664659989896tmp [Pipeline] { [Pipeline] echo 23:30:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:30:20 ---> sigul-configuration.sh 23:30:20 gpg: directory `/root/.gnupg' created 23:30:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:30:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:30:20 gpg: keyring `/root/.gnupg/secring.gpg' created 23:30:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:30:20 gpg: CAST5 encrypted data 23:30:20 gpg: encrypted with 1 passphrase 23:30:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:30:20 + mkdir /home/jenkins 23:30:20 + mkdir /home/jenkins/sigul [Pipeline] sh 23:30:20 + 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 23:30:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:30:20 ---> sigul-install.sh 23:30:20 Sigul already installed; skipping installation. [Pipeline] sh 23:30:21 + git tag --list 23:30:21 v0.0.0 23:30:21 v0.0.1-dev.1 23:30:21 v0.0.1-dev.10 23:30:21 v0.0.1-dev.11 23:30:21 v0.0.1-dev.12 23:30:21 v0.0.1-dev.13 23:30:21 v0.0.1-dev.14 23:30:21 v0.0.1-dev.15 23:30:21 v0.0.1-dev.16 23:30:21 v0.0.1-dev.2 23:30:21 v0.0.1-dev.3 23:30:21 v0.0.1-dev.4 23:30:21 v0.0.1-dev.5 23:30:21 v0.0.1-dev.6 23:30:21 v0.0.1-dev.7 23:30:21 v0.0.1-dev.8 23:30:21 v0.0.1-dev.9 23:30:21 v2.2.0 23:30:21 v2.2.0-dev.17 23:30:21 v2.2.0-dev.18 23:30:21 v2.2.0-dev.19 23:30:21 v2.2.0-dev.20 23:30:21 v2.2.0-dev.21 23:30:21 v2.2.0-dev.22 23:30:21 v2.2.0-dev.23 23:30:21 v2.2.0-dev.24 23:30:21 v2.2.0-dev.25 23:30:21 v2.2.0-dev.26 23:30:21 v2.2.0-dev.27 23:30:21 v2.3.0 23:30:21 v2.3.0-dev.1 23:30:21 v2.3.0-dev.10 23:30:21 v2.3.0-dev.11 23:30:21 v2.3.0-dev.12 23:30:21 v2.3.0-dev.13 23:30:21 v2.3.0-dev.14 23:30:21 v2.3.0-dev.15 23:30:21 v2.3.0-dev.16 23:30:21 v2.3.0-dev.17 23:30:21 v2.3.0-dev.18 23:30:21 v2.3.0-dev.19 23:30:21 v2.3.0-dev.2 23:30:21 v2.3.0-dev.20 23:30:21 v2.3.0-dev.21 23:30:21 v2.3.0-dev.22 23:30:21 v2.3.0-dev.23 23:30:21 v2.3.0-dev.24 23:30:21 v2.3.0-dev.25 23:30:21 v2.3.0-dev.26 23:30:21 v2.3.0-dev.27 23:30:21 v2.3.0-dev.28 23:30:21 v2.3.0-dev.3 23:30:21 v2.3.0-dev.4 23:30:21 v2.3.0-dev.5 23:30:21 v2.3.0-dev.6 23:30:21 v2.3.0-dev.7 23:30:21 v2.3.0-dev.8 23:30:21 v2.3.0-dev.9 23:30:21 v2.3.1-dev.4 23:30:21 v3.0.0-dev.1 23:30:21 v3.0.0-dev.10 23:30:21 v3.0.0-dev.11 23:30:21 v3.0.0-dev.12 23:30:21 v3.0.0-dev.13 23:30:21 v3.0.0-dev.14 23:30:21 v3.0.0-dev.15 23:30:21 v3.0.0-dev.16 23:30:21 v3.0.0-dev.17 23:30:21 v3.0.0-dev.18 23:30:21 v3.0.0-dev.19 23:30:21 v3.0.0-dev.2 23:30:21 v3.0.0-dev.3 23:30:21 v3.0.0-dev.4 23:30:21 v3.0.0-dev.5 23:30:21 v3.0.0-dev.6 23:30:21 v3.0.0-dev.7 23:30:21 v3.0.0-dev.8 23:30:21 v3.0.0-dev.9 [Pipeline] sh 23:30:21 + lftools sign git-tag v2.3.1-dev.4 23:30:22 Signing Git tag with Sigul... 23:30:22 Signing v2.3.1-dev.4 [Pipeline] echo 23:30:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:30:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:30:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:30:22 $ docker stop --time=1 3eea9ffc646768a7c0b9c0d9669efa3530c70747f8ba50425aaba2599cf468ed 23:30:23 $ docker rm -f --volumes 3eea9ffc646768a7c0b9c0d9669efa3530c70747f8ba50425aaba2599cf468ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:30:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:30:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:24 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:30:25 $ docker top 66e44a380148951d952cc1e569319175f186bb9817da0417c89021189034579b -eo pid,comm 23:30:25 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). 23:30:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:25 [ssh-agent] Looking for ssh-agent implementation... 23:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:25 $ docker exec 66e44a380148951d952cc1e569319175f186bb9817da0417c89021189034579b ssh-agent 23:30:25 SSH_AUTH_SOCK=/tmp/ssh-ozN59obZysqi/agent.33 23:30:25 SSH_AGENT_PID=39 23:30:25 Running ssh-add (command line suppressed) 23:30:25 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_5306488134076820891.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_5306488134076820891.key) 23:30:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:25 + git semver bump pre 23:30:26 2023-03-21 23:30:25,978 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:26 2023-03-21 23:30:25,978 [bump_version] DEBUG bumping version:2.3.1-dev.4 on axis:pre with prefix:dev 23:30:26 2023-03-21 23:30:25,979 [bump_version] DEBUG bumped version:2.3.1-dev.5 23:30:26 2023-03-21 23:30:25,979 [write_version] DEBUG write version:2.3.1-dev.5 to path:/w/workspace/foundry_device-usb-camera_levski/.semver/levski with force:True 23:30:26 2023-03-21 23:30:25,979 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:26 2023-03-21 23:30:25,979 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:26 2023-03-21 23:30:25,980 [execute] INFO git cat-file --batch-check 23:30:26 2023-03-21 23:30:25,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:30:26 2023-03-21 23:30:25,986 [execute] INFO git cat-file --batch 23:30:26 2023-03-21 23:30:25,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:30:26 2023-03-21 23:30:25,991 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:26 2.3.1-dev.5 [Pipeline] } 23:30:26 $ docker exec --env ******** --env ******** 66e44a380148951d952cc1e569319175f186bb9817da0417c89021189034579b ssh-agent -k 23:30:26 unset SSH_AUTH_SOCK; 23:30:26 unset SSH_AGENT_PID; 23:30:26 echo Agent pid 39 killed; 23:30:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:26 + git semver [Pipeline] } 23:30:26 $ docker stop --time=1 66e44a380148951d952cc1e569319175f186bb9817da0417c89021189034579b 23:30:27 $ docker rm -f --volumes 66e44a380148951d952cc1e569319175f186bb9817da0417c89021189034579b [Pipeline] // withDockerContainer [Pipeline] sh 23:30:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:30:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:30:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:28 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:30:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:30:29 $ docker top c283ea13c90a19437458229f0b383f19cc1b74413ee0dfe8a1955fc218046ea6 -eo pid,comm 23:30:29 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). 23:30:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:30:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:30:29 [ssh-agent] Looking for ssh-agent implementation... 23:30:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:30:29 $ docker exec c283ea13c90a19437458229f0b383f19cc1b74413ee0dfe8a1955fc218046ea6 ssh-agent 23:30:29 SSH_AUTH_SOCK=/tmp/ssh-3p1GkVHPq9tF/agent.32 23:30:29 SSH_AGENT_PID=38 23:30:29 Running ssh-add (command line suppressed) 23:30:29 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_4991807747232559042.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_4991807747232559042.key) 23:30:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:30:29 + git semver push 23:30:30 2023-03-21 23:30:29,931 [run_push] DEBUG push 23:30:30 2023-03-21 23:30:29,931 [execute] INFO git cat-file --batch-check 23:30:30 2023-03-21 23:30:29,931 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 23:30:30 2023-03-21 23:30:29,935 [execute] INFO git rev-list 88e685518b812e968442653f526e71f9b3562ecf -- 23:30:30 2023-03-21 23:30:29,935 [execute] DEBUG Popen(['git', 'rev-list', '88e685518b812e968442653f526e71f9b3562ecf', '--'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 23:30:30 2023-03-21 23:30:29,941 [execute] INFO git fetch -v origin 23:30:30 2023-03-21 23:30:29,942 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=True, shell=None, istream=None) 23:30:30 2023-03-21 23:30:30,416 [run_push] DEBUG no remote changes detected 23:30:30 2023-03-21 23:30:30,417 [execute] INFO git push origin semver 23:30:30 2023-03-21 23:30:30,417 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=None) 23:30:31 2023-03-21 23:30:31,183 [run_push] DEBUG push all version tags 23:30:31 2023-03-21 23:30:31,184 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:30:31 2023-03-21 23:30:31,184 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=None) 23:30:32 2023-03-21 23:30:31,965 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 23:30:32 2.3.1-dev.5 [Pipeline] } 23:30:32 $ docker exec --env ******** --env ******** c283ea13c90a19437458229f0b383f19cc1b74413ee0dfe8a1955fc218046ea6 ssh-agent -k 23:30:32 unset SSH_AUTH_SOCK; 23:30:32 unset SSH_AGENT_PID; 23:30:32 echo Agent pid 38 killed; 23:30:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:30:32 + git semver [Pipeline] } 23:30:32 $ docker stop --time=1 c283ea13c90a19437458229f0b383f19cc1b74413ee0dfe8a1955fc218046ea6 23:30:34 $ docker rm -f --volumes c283ea13c90a19437458229f0b383f19cc1b74413ee0dfe8a1955fc218046ea6 [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 23:30:34 + [ -d /w/workspace/foundry_device-usb-camera_levski/archives ] 23:30:34 + ls -al /w/workspace/foundry_device-usb-camera_levski/archives 23:30:34 total 16 23:30:34 drwxr-xr-x 3 root root 4096 Mar 21 23:20 . 23:30:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:30 .. 23:30:34 drwxr-xr-x 2 root root 4096 Mar 21 23:20 cost 23:30:34 -rw-r--r-- 1 root root 89 Mar 21 23:20 cost.csv 23:30:34 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_levski/archives 23:30:34 + ls -al /w/workspace/foundry_device-usb-camera_levski/archives 23:30:34 total 16 23:30:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 23:20 . 23:30:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 23:30 .. 23:30:34 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 23:20 cost 23:30:34 -rw-r--r-- 1 jenkins jenkins 89 Mar 21 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:30:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:30:35 ---> package-listing.sh 23:30:35 ++ facter osfamily 23:30:35 ++ tr '[:upper:]' '[:lower:]' 23:30:36 + OS_FAMILY=debian 23:30:36 + workspace=/w/workspace/foundry_device-usb-camera_levski 23:30:36 + START_PACKAGES=/tmp/packages_start.txt 23:30:36 + END_PACKAGES=/tmp/packages_end.txt 23:30:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:30:36 + PACKAGES=/tmp/packages_start.txt 23:30:36 + '[' /w/workspace/foundry_device-usb-camera_levski ']' 23:30:36 + PACKAGES=/tmp/packages_end.txt 23:30:36 + case "${OS_FAMILY}" in 23:30:36 + dpkg -l 23:30:36 + grep '^ii' 23:30:36 + '[' -f /tmp/packages_start.txt ']' 23:30:36 + '[' -f /tmp/packages_end.txt ']' 23:30:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:30:36 + '[' /w/workspace/foundry_device-usb-camera_levski ']' 23:30:36 + mkdir -p /w/workspace/foundry_device-usb-camera_levski/archives/ 23:30:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_levski/archives/ [Pipeline] echo 23:30:36 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-usb-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:30:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:30:36 prd-ubuntu20.04-docker-8c-8g-4988 does not seem to be running inside a container 23:30:36 $ 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/foundry_device-usb-camera_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_levski -v /w/workspace/foundry_device-usb-camera_levski:/w/workspace/foundry_device-usb-camera_levski:rw,z -v /w/workspace/foundry_device-usb-camera_levski@tmp:/w/workspace/foundry_device-usb-camera_levski@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 23:30:37 $ docker top e57204c4b1543e45f8276d8d0dd46767391cd20b31b8f86644084cd0ff861237 -eo pid,comm [Pipeline] { [Pipeline] sh 23:30:37 + touch /tmp/pre-build-complete [Pipeline] sh 23:30:37 + mkdir -p /var/log/sysstat [Pipeline] sh 23:30:37 + ls /var/log/sa-host 23:30:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:30:37 provisioning config files... 23:30:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config12671163440722593474tmp [Pipeline] { [Pipeline] echo 23:30:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:30:38 ---> create-netrc.sh [Pipeline] } 23:30:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:30:38 ---> python-tools-install.sh [Pipeline] echo 23:30:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:30:38 ---> sudo-logs.sh 23:30:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:30:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:30:39 ---> job-cost.sh 23:30:39 lf-activate-venv: SKIPPING 23:30:39 DEBUG: total: 0.2199999988079071 23:30:39 INFO: Retrieving Stack Cost... 23:30:39 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:40 INFO: Archiving Costs [Pipeline] echo 23:30:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:30:40 ---> logs-deploy.sh 23:30:40 lf-activate-venv: SKIPPING 23:30:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/levski/4 23:30:40 INFO: archiving workspace using pattern(s): 23:30:41 Archives upload complete. 23:30:41 INFO: archiving logs to Nexus