Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd9072dad6c3f863b8ef1333924fa26247fc5350 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-ssh13075286617826671634.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-ssh5445521478985629206.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-ssh955459004106552225.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-ssh8674714690533006141.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-ssh3690582694299697616.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 ‘prd-ubuntu20.04-docker-8c-8g-1002’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1248’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1250’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1252’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1966’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1967’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1740’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1742’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1744’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1961’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1962’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1963’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-1964’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1977 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 dd9072dad6c3f863b8ef1333924fa26247fc5350 (levski) Commit message: "fix: upgrade sdk to fix device cache issue (#184)" > 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 dd9072dad6c3f863b8ef1333924fa26247fc5350 # timeout=10 > git rev-list --no-walk aa9461ff516dbbb31bf7876f6a13f06d431dd475 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:49 ========================================================= 16:48:49 EdgeX Global Pipelines Version Info 16:48:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:50 ------------------- 16:48:50 stable info: 16:48:50 ------------------- 16:48:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:50 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:48:50 Message: update stable to v1.0.245 16:48:50 ------------------- 16:48:50 experimental info: 16:48:50 ------------------- 16:48:50 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:50 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:48:50 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd9072d [Pipeline] echo 16:48:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:51 provisioning config files... 16:48:51 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config16742817845564730540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:51 ---> docker-login.sh 16:48:51 nexus3.edgexfoundry.org:10001 16:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:52 Configure a credential helper to remove this warning. See 16:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:52 16:48:52 Login Succeeded 16:48:52 nexus3.edgexfoundry.org:10002 16:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:52 Configure a credential helper to remove this warning. See 16:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:52 16:48:52 Login Succeeded 16:48:52 nexus3.edgexfoundry.org:10003 16:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:52 Configure a credential helper to remove this warning. See 16:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:52 16:48:52 Login Succeeded 16:48:52 nexus3.edgexfoundry.org:10004 16:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:52 Configure a credential helper to remove this warning. See 16:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:52 16:48:52 Login Succeeded 16:48:52 docker.io 16:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:52 Configure a credential helper to remove this warning. See 16:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:52 16:48:52 Login Succeeded 16:48:52 ---> docker-login.sh ends [Pipeline] } 16:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:48:53 + git rev-list -1 --merges dd9072dad6c3f863b8ef1333924fa26247fc5350~1..dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] echo 16:48:53 -----------> git rev-list -1 --merges dd9072dad6c3f863b8ef1333924fa26247fc5350~1..dd9072dad6c3f863b8ef1333924fa26247fc5350 dd9072dad6c3f863b8ef1333924fa26247fc5350 [false] [Pipeline] sh 16:48:53 + git log --format=format:%s -1 dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] echo 16:48:53 ========================================================= 16:48:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:48:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:53 + git log --format=format:%s -1 dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] echo 16:48:53 [semverPrep] GIT_COMMIT: dd9072dad6c3f863b8ef1333924fa26247fc5350, Commit Message: fix: upgrade sdk to fix device cache issue (#184) [Pipeline] echo 16:48:53 [semverPrep] This is not a build commit. [Pipeline] sh 16:48:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:54 + grep -v github /etc/ssh/ssh_known_hosts 16:48:54 + [ -e /tmp/ssh_known_hosts ] 16:48:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:48:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:48:54 + sudo tee -a /etc/ssh/ssh_known_hosts 16:48:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:54 16:48:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:54 0.1.4: Pulling from edgex-devops/py-git-semver 16:48:54 b85a868b505f: Pulling fs layer 16:48:54 e2be974225ed: Pulling fs layer 16:48:54 339a4e72a1f5: Pulling fs layer 16:48:54 988bab9f4d93: Pulling fs layer 16:48:54 1469e6f7b9e6: Pulling fs layer 16:48:54 eaf3925da568: Pulling fs layer 16:48:54 bab4dde63d76: Pulling fs layer 16:48:54 bde34c3a00c8: Pulling fs layer 16:48:54 b352a97aabf1: Pulling fs layer 16:48:54 4872d77fe225: Pulling fs layer 16:48:54 5851b861e8e6: Pulling fs layer 16:48:54 bde34c3a00c8: Waiting 16:48:54 b352a97aabf1: Waiting 16:48:54 1469e6f7b9e6: Waiting 16:48:54 eaf3925da568: Waiting 16:48:54 bab4dde63d76: Waiting 16:48:54 4872d77fe225: Waiting 16:48:54 5851b861e8e6: Waiting 16:48:54 988bab9f4d93: Waiting 16:48:54 e2be974225ed: Verifying Checksum 16:48:54 e2be974225ed: Download complete 16:48:54 988bab9f4d93: Download complete 16:48:55 1469e6f7b9e6: Verifying Checksum 16:48:55 1469e6f7b9e6: Download complete 16:48:55 eaf3925da568: Download complete 16:48:55 339a4e72a1f5: Verifying Checksum 16:48:55 339a4e72a1f5: Download complete 16:48:55 bde34c3a00c8: Download complete 16:48:55 b352a97aabf1: Verifying Checksum 16:48:55 b352a97aabf1: Download complete 16:48:55 5851b861e8e6: Verifying Checksum 16:48:55 5851b861e8e6: Download complete 16:48:55 b85a868b505f: Verifying Checksum 16:48:55 b85a868b505f: Download complete 16:48:55 bab4dde63d76: Download complete 16:48:56 b85a868b505f: Pull complete 16:48:56 e2be974225ed: Pull complete 16:48:57 339a4e72a1f5: Pull complete 16:48:57 988bab9f4d93: Pull complete 16:48:57 1469e6f7b9e6: Pull complete 16:48:57 eaf3925da568: Pull complete 16:48:59 bab4dde63d76: Pull complete 16:48:59 bde34c3a00c8: Pull complete 16:48:59 b352a97aabf1: Pull complete 16:48:59 4872d77fe225: Pull complete 16:48:59 5851b861e8e6: Pull complete 16:48:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:59 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 16:48:59 $ 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 16:49:01 $ docker top 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f -eo pid,comm 16:49:01 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). 16:49:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:49:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:49:01 [ssh-agent] Looking for ssh-agent implementation... 16:49:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:49:01 $ docker exec 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f ssh-agent 16:49:01 SSH_AUTH_SOCK=/tmp/ssh-0hNFDIg7COKz/agent.33 16:49:01 SSH_AGENT_PID=39 16:49:01 Running ssh-add (command line suppressed) 16:49:02 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_6294493060846372480.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_6294493060846372480.key) 16:49:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:49:02 + git tag --points-at HEAD [Pipeline] } 16:49:02 $ docker exec --env ******** --env ******** 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f ssh-agent -k 16:49:02 unset SSH_AUTH_SOCK; 16:49:02 unset SSH_AGENT_PID; 16:49:02 echo Agent pid 39 killed; 16:49:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:49:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:49:02 [ssh-agent] Looking for ssh-agent implementation... 16:49:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:49:02 $ docker exec 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f ssh-agent 16:49:02 SSH_AUTH_SOCK=/tmp/ssh-PdRTS5efp6XA/agent.72 16:49:02 SSH_AGENT_PID=78 16:49:02 Running ssh-add (command line suppressed) 16:49:02 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_10863949702159918346.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_10863949702159918346.key) 16:49:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:49:03 + git semver init 16:49:03 2023-03-15 16:49:03,357 [run_init] DEBUG init version:0.0.0 force:False 16:49:03 2023-03-15 16:49:03,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_levski/.semver 16:49:03 2023-03-15 16:49:03,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_levski/.semver 16:49:03 2023-03-15 16:49:03,359 [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) 16:49:04 2023-03-15 16:49:04,138 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_levski/.git/info/exclude 16:49:04 2023-03-15 16:49:04,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_levski/.semver/levski with force:False 16:49:04 2023-03-15 16:49:04,139 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_levski/.semver/levski 16:49:04 2023-03-15 16:49:04,143 [execute] INFO git cat-file --batch-check 16:49:04 2023-03-15 16:49:04,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 16:49:04 2023-03-15 16:49:04,155 [execute] INFO git cat-file --batch 16:49:04 2023-03-15 16:49:04,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_levski/.semver, universal_newlines=False, shell=None, istream=) 16:49:04 2023-03-15 16:49:04,161 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 16:49:04 0.0.0 [Pipeline] } 16:49:04 $ docker exec --env ******** --env ******** 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f ssh-agent -k 16:49:04 unset SSH_AUTH_SOCK; 16:49:04 unset SSH_AGENT_PID; 16:49:04 echo Agent pid 78 killed; 16:49:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:49:04 + git semver [Pipeline] } 16:49:05 $ docker stop --time=1 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f 16:49:06 $ docker rm -f --volumes 6ef5867f646717e83d1d3e5739cfdc1858f9c3252201391a39b26bb806c9e09f [Pipeline] // withDockerContainer [Pipeline] sh 16:49:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:49:06 Stashed 1 file(s) [Pipeline] echo 16:49:07 [edgeXSemver]: initialized semver on version 0.0.0 [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 16:49:07 provisioning config files... 16:49:07 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config5585837226354857453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:49:07 ---> docker-login.sh 16:49:07 nexus3.edgexfoundry.org:10001 16:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:07 Configure a credential helper to remove this warning. See 16:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:07 16:49:07 Login Succeeded 16:49:07 nexus3.edgexfoundry.org:10002 16:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:07 Configure a credential helper to remove this warning. See 16:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:07 16:49:07 Login Succeeded 16:49:07 nexus3.edgexfoundry.org:10003 16:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:07 Configure a credential helper to remove this warning. See 16:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:07 16:49:07 Login Succeeded 16:49:07 nexus3.edgexfoundry.org:10004 16:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:07 Configure a credential helper to remove this warning. See 16:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:07 16:49:07 Login Succeeded 16:49:07 docker.io 16:49:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:49:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:49:07 Configure a credential helper to remove this warning. See 16:49:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:49:07 16:49:07 Login Succeeded 16:49:07 ---> docker-login.sh ends [Pipeline] } 16:49:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:49:07 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:08 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:49:08 ========================================================= 16:49:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:49:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:08 + 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 . 16:49:08 Sending build context to Docker daemon 1.839MB 16:49:08 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:49:08 Step 2/13 : FROM ${BASE} AS builder 16:49:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:49:08 213ec9aee27d: Pulling fs layer 16:49:08 4583459ba037: Pulling fs layer 16:49:08 93c1e223e6f2: Pulling fs layer 16:49:08 53926ce57604: Pulling fs layer 16:49:08 21b2b0c7a3f4: Pulling fs layer 16:49:08 22ff95d597cd: Pulling fs layer 16:49:08 12d6caf4c0d1: Pulling fs layer 16:49:08 96b7cbca73a9: Pulling fs layer 16:49:08 a7acece74701: Pulling fs layer 16:49:08 53926ce57604: Waiting 16:49:08 21b2b0c7a3f4: Waiting 16:49:08 22ff95d597cd: Waiting 16:49:08 12d6caf4c0d1: Waiting 16:49:08 96b7cbca73a9: Waiting 16:49:08 a7acece74701: Waiting 16:49:08 93c1e223e6f2: Download complete 16:49:08 4583459ba037: Verifying Checksum 16:49:08 4583459ba037: Download complete 16:49:08 21b2b0c7a3f4: Verifying Checksum 16:49:08 21b2b0c7a3f4: Download complete 16:49:08 22ff95d597cd: Verifying Checksum 16:49:08 22ff95d597cd: Download complete 16:49:08 213ec9aee27d: Verifying Checksum 16:49:08 213ec9aee27d: Download complete 16:49:08 12d6caf4c0d1: Verifying Checksum 16:49:08 12d6caf4c0d1: Download complete 16:49:08 213ec9aee27d: Pull complete 16:49:08 4583459ba037: Pull complete 16:49:08 93c1e223e6f2: Pull complete 16:49:09 a7acece74701: Verifying Checksum 16:49:09 a7acece74701: Download complete 16:49:09 96b7cbca73a9: Verifying Checksum 16:49:09 96b7cbca73a9: Download complete 16:49:09 53926ce57604: Verifying Checksum 16:49:09 53926ce57604: Download complete 16:49:13 53926ce57604: Pull complete 16:49:13 21b2b0c7a3f4: Pull complete 16:49:13 22ff95d597cd: Pull complete 16:49:13 12d6caf4c0d1: Pull complete 16:49:16 96b7cbca73a9: Pull complete 16:49:16 a7acece74701: Pull complete 16:49:16 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:49:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:49:16 ---> db6d94c90886 16:49:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:49:19 ---> Running in b586a3b13358 16:49:20 Removing intermediate container b586a3b13358 16:49:20 ---> dade7d6b5920 16:49:20 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:49:20 ---> Running in 7b93b5549e22 16:49:20 Removing intermediate container 7b93b5549e22 16:49:20 ---> 3a3e6633f0a6 16:49:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:49:20 ---> Running in d22f952fd86a 16:49:20 Removing intermediate container d22f952fd86a 16:49:20 ---> 95e3646c4f2f 16:49:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:49:20 ---> Running in 228fdbb8b6ac 16:49:21 Removing intermediate container 228fdbb8b6ac 16:49:21 ---> 8b8c50fbe730 16:49:21 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:49:21 ---> Running in 7a6ae0e469f4 16:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:49:21 (1/80) Installing mesa (21.3.9-r0) 16:49:21 (2/80) Installing libxau (1.0.9-r0) 16:49:21 (3/80) Installing libxdmcp (1.1.3-r0) 16:49:21 (4/80) Installing libxcb (1.15-r0) 16:49:21 (5/80) Installing libx11 (1.8-r0) 16:49:21 (6/80) Installing libxext (1.3.4-r0) 16:49:21 (7/80) Installing libxfixes (6.0.0-r0) 16:49:21 (8/80) Installing libxxf86vm (1.1.4-r2) 16:49:21 (9/80) Installing libpciaccess (0.16-r0) 16:49:21 (10/80) Installing libdrm (2.4.110-r0) 16:49:21 (11/80) Installing mesa-glapi (21.3.9-r0) 16:49:21 (12/80) Installing libxshmfence (1.3-r1) 16:49:21 (13/80) Installing mesa-gl (21.3.9-r0) 16:49:21 (14/80) Installing icu-data-full (71.1-r2) 16:49:22 (15/80) Installing libice (1.0.10-r0) 16:49:22 (16/80) Installing libuuid (2.38-r1) 16:49:22 (17/80) Installing libsm (1.2.3-r0) 16:49:22 (18/80) Installing libxt (1.2.1-r0) 16:49:22 (19/80) Installing libxmu (1.1.3-r0) 16:49:22 (20/80) Installing xset (1.2.4-r0) 16:49:22 (21/80) Installing xprop (1.2.5-r0) 16:49:22 (22/80) Installing xdg-utils (1.1.3-r3) 16:49:22 (23/80) Installing dbus-libs (1.14.4-r0) 16:49:22 (24/80) Installing libffi (3.4.2-r1) 16:49:22 (25/80) Installing libintl (0.21-r2) 16:49:22 (26/80) Installing libblkid (2.38-r1) 16:49:22 (27/80) Installing libmount (2.38-r1) 16:49:22 (28/80) Installing pcre (8.45-r2) 16:49:22 (29/80) Installing glib (2.72.1-r0) 16:49:22 Still waiting to schedule task 16:49:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:49:22 (30/80) Installing icu-libs (71.1-r2) 16:49:22 (31/80) Installing libpcre2-16 (10.40-r0) 16:49:22 (32/80) Installing zstd-libs (1.5.2-r1) 16:49:22 (33/80) Installing qt5-qtbase (5.15.4_git20220511-r2) 16:49:22 (34/80) Installing hicolor-icon-theme (0.17-r1) 16:49:22 (35/80) Installing wayland-libs-server (1.20.0-r0) 16:49:22 (36/80) Installing mesa-gbm (21.3.9-r0) 16:49:22 (37/80) Installing wayland-libs-client (1.20.0-r0) 16:49:22 (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r1) 16:49:22 (39/80) Installing libxcomposite (0.4.5-r0) 16:49:22 (40/80) Installing libbz2 (1.0.8-r1) 16:49:22 (41/80) Installing libpng (1.6.37-r1) 16:49:22 (42/80) Installing freetype (2.12.1-r0) 16:49:22 (43/80) Installing fontconfig (2.14.0-r0) 16:49:22 (44/80) Installing wayland-libs-cursor (1.20.0-r0) 16:49:22 (45/80) Installing wayland-libs-egl (1.20.0-r0) 16:49:22 (46/80) Installing xkeyboard-config (2.35.1-r0) 16:49:22 (47/80) Installing xz-libs (5.2.5-r1) 16:49:22 (48/80) Installing libxml2 (2.9.14-r2) 16:49:22 (49/80) Installing libxkbcommon (1.4.1-r0) 16:49:22 (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) 16:49:22 (51/80) Installing mesa-egl (21.3.9-r0) 16:49:22 (52/80) Installing avahi-libs (0.8-r6) 16:49:22 (53/80) Installing nettle (3.7.3-r0) 16:49:22 (54/80) Installing p11-kit (0.24.1-r0) 16:49:22 (55/80) Installing libtasn1 (4.18.0-r1) 16:49:22 (56/80) Installing libunistring (1.0-r0) 16:49:22 (57/80) Installing gnutls (3.7.7-r1) 16:49:22 (58/80) Installing cups-libs (2.4.2-r0) 16:49:23 (59/80) Installing graphite2 (1.3.14-r1) 16:49:23 (60/80) Installing harfbuzz (4.3.0-r0) 16:49:23 (61/80) Installing libevdev (1.12.1-r0) 16:49:23 (62/80) Installing mtdev (1.1.6-r0) 16:49:23 (63/80) Installing eudev-libs (3.2.11-r0) 16:49:23 (64/80) Installing libinput-libs (1.20.1-r0) 16:49:23 (65/80) Installing libjpeg-turbo (2.1.3-r1) 16:49:23 (66/80) Installing xcb-util-wm (0.4.1-r1) 16:49:23 (67/80) Installing xcb-util (0.4.0-r3) 16:49:23 (68/80) Installing xcb-util-image (0.4.0-r1) 16:49:23 (69/80) Installing xcb-util-keysyms (0.4.0-r1) 16:49:23 (70/80) Installing xcb-util-renderutil (0.3.9-r1) 16:49:23 (71/80) Installing libxkbcommon-x11 (1.4.1-r0) 16:49:23 (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r2) 16:49:23 (73/80) Installing v4l-utils-libs (1.22.1-r1) 16:49:23 (74/80) Installing v4l-utils (1.22.1-r1) 16:49:23 (75/80) Installing udev-init-scripts (35-r0) 16:49:23 Executing udev-init-scripts-35-r0.post-install 16:49:23 (76/80) Installing kmod-libs (29-r2) 16:49:23 (77/80) Installing eudev (3.2.11-r0) 16:49:23 (78/80) Installing eudev-dev (3.2.11-r0) 16:49:23 (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:49:23 (80/80) Installing v4l-utils-dev (1.22.1-r1) 16:49:23 Executing busybox-1.35.0-r17.trigger 16:49:23 Executing eudev-3.2.11-r0.trigger 16:49:23 OK: 331 MiB in 131 packages 16:49:26 Removing intermediate container 7a6ae0e469f4 16:49:26 ---> e6f1668bee52 16:49:26 Step 8/13 : WORKDIR /device-usb-camera 16:49:26 ---> Running in 4dd64c629d46 16:49:26 Removing intermediate container 4dd64c629d46 16:49:26 ---> a3c2ae0dc19e 16:49:26 Step 9/13 : COPY go.mod vendor* ./ 16:49:26 ---> f06008b0ae9d 16:49:26 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:26 ---> Running in a8f9ef36b45a 16:49:48 Removing intermediate container a8f9ef36b45a 16:49:48 ---> 185180910d94 16:49:48 Step 11/13 : COPY . . 16:49:48 ---> 93a7a442369b 16:49:48 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:49:48 ---> Running in d61e0b4b3776 16:49:48  % Total % Received % Xferd Average Speed Time Time Time Current 16:49:48 Dload Upload Total Spent Left Speed 16:49:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--  0 100 1062 100 1062 0 0 6046 0 --:--:-- --:--:-- --:--:-- 6068 16:49:48 Removing intermediate container d61e0b4b3776 16:49:48 ---> eee0981be3fc 16:49:48 Step 13/13 : RUN ${MAKE} 16:49:48 ---> Running in 5f698bcfb999 16:49:48 noop 16:49:48 Removing intermediate container 5f698bcfb999 16:49:48 ---> 6b7057fbdf72 16:49:48 Successfully built 6b7057fbdf72 16:49:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:48 + docker inspect -f . ci-base-image-x86_64 16:49:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:48 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 16:49:48 $ 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 16:49:48 $ docker top ac3b7ab0dbb0ead3cacd20dcbe2c669fadc05393ae96e3717bf6f34625fd5f75 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:49 + go version 16:49:49 go version go1.18.7 linux/amd64 [Pipeline] } 16:49:49 $ docker stop --time=1 ac3b7ab0dbb0ead3cacd20dcbe2c669fadc05393ae96e3717bf6f34625fd5f75 16:49:50 $ docker rm -f --volumes ac3b7ab0dbb0ead3cacd20dcbe2c669fadc05393ae96e3717bf6f34625fd5f75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:50 + docker inspect -f . ci-base-image-x86_64 16:49:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:50 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 16:49:51 $ 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 16:49:51 $ docker top e38bde1f4ab56c6cfa4699742dc79b7d5df88fe52e95dd87296337e665cedde4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:51 + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_levski [Pipeline] fileExists [Pipeline] sh 16:49:52 + make test 16:49:52 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 16:49:52 ? github.com/edgexfoundry/device-usb-camera [no test files] 16:50:04 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 16:50:04 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.017s coverage: 1.9% of statements 16:50:11 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." 16:50:11 CGO_ENABLED=1 go vet ./... 16:50:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:13 ./bin/test-attribution-txt.sh [Pipeline] echo 16:50:14 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:50:14 $ docker stop --time=1 e38bde1f4ab56c6cfa4699742dc79b7d5df88fe52e95dd87296337e665cedde4 16:50:16 $ docker rm -f --volumes e38bde1f4ab56c6cfa4699742dc79b7d5df88fe52e95dd87296337e665cedde4 [Pipeline] // withDockerContainer [Pipeline] sh 16:50:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:50:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:17 + ls -al . 16:50:17 total 204 16:50:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:49 . 16:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 .. 16:50:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:50 .git 16:50:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 .github 16:50:17 -rw-rw-r-- 1 jenkins jenkins 414 Mar 15 16:48 .gitignore 16:50:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:48 .golangci.yml 16:50:17 -rw-rw-r-- 1 jenkins jenkins 77 Mar 15 16:48 .hadolint.yml 16:50:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:49 .semver 16:50:17 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 15 16:48 Attribution.txt 16:50:17 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 15 16:48 CHANGELOG.md 16:50:17 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 15 16:48 Dockerfile 16:50:17 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 16:48 GOVERNANCE.md 16:50:17 -rw-rw-r-- 1 jenkins jenkins 687 Mar 15 16:48 Jenkinsfile 16:50:17 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:48 LICENSE 16:50:17 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 15 16:48 Makefile 16:50:17 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:48 OWNERS.md 16:50:17 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 15 16:48 README.md 16:50:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:49 VERSION 16:50:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:48 bin 16:50:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 cmd 16:50:17 -rw-r--r-- 1 jenkins jenkins 30666 Mar 15 16:50 coverage.out 16:50:17 -rwxrwxr-x 1 jenkins jenkins 140 Mar 15 16:48 docker-entrypoint.sh 16:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 docs 16:50:17 -rw-rw-r-- 1 jenkins jenkins 3579 Mar 15 16:48 go.mod 16:50:17 -rw-rw-r-- 1 jenkins jenkins 45038 Mar 15 16:48 go.sum 16:50:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:48 internal 16:50:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:48 snap 16:50:17 -rw-rw-r-- 1 jenkins jenkins 231 Mar 15 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:17 + 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=dd9072dad6c3f863b8ef1333924fa26247fc5350 --label arch=amd64 --label version=0.0.0 . 16:50:17 Sending build context to Docker daemon 1.87MB 16:50:17 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 16:50:17 Step 2/35 : FROM ${BASE} AS builder 16:50:17 ---> 6b7057fbdf72 16:50:17 Step 3/35 : ARG ADD_BUILD_TAGS="" 16:50:17 ---> Running in 866da1b9ef46 16:50:18 Removing intermediate container 866da1b9ef46 16:50:18 ---> 35dd57f8792d 16:50:18 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:50:18 ---> Running in 3c24ad773916 16:50:18 Removing intermediate container 3c24ad773916 16:50:18 ---> e71e1537f9ed 16:50:18 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:50:18 ---> Running in 3cbd8e407942 16:50:18 Removing intermediate container 3cbd8e407942 16:50:18 ---> 705600b25448 16:50:18 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:50:18 ---> Running in e83aa68bbe05 16:50:18 Removing intermediate container e83aa68bbe05 16:50:18 ---> 4aa36da5b875 16:50:18 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:50:18 ---> Running in e76a240a0d9c 16:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:19 OK: 331 MiB in 131 packages 16:50:19 Removing intermediate container e76a240a0d9c 16:50:19 ---> 8f308508e66d 16:50:19 Step 8/35 : WORKDIR /device-usb-camera 16:50:19 ---> Running in ba972fba31a0 16:50:19 Removing intermediate container ba972fba31a0 16:50:19 ---> 5581944d4b74 16:50:19 Step 9/35 : COPY go.mod vendor* ./ 16:50:19 ---> 37a434b373cb 16:50:19 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:20 ---> Running in 40c743ae5121 16:50:20 Removing intermediate container 40c743ae5121 16:50:20 ---> 37cafa583a0a 16:50:20 Step 11/35 : COPY . . 16:50:21 ---> fccb70f68459 16:50:21 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 16:50:21 ---> Running in 739e4de6db0d 16:50:21  % Total % Received % Xferd Average Speed Time Time Time Current 16:50:21 Dload Upload Total Spent Left Speed 16:50:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 39472 0 --:--:-- --:--:-- --:--:-- 40846 16:50:21 Removing intermediate container 739e4de6db0d 16:50:21 ---> b1b8afe39e3c 16:50:21 Step 13/35 : RUN ${MAKE} 16:50:21 ---> Running in 2195b7897329 16:50:22 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 16:50:48 Removing intermediate container 2195b7897329 16:50:48 ---> b3bca932a515 16:50:48 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 16:50:48 v0.21.6: Pulling from aler9/rtsp-simple-server 16:50:48 4acc49c71d14: Pulling fs layer 16:50:48 4acc49c71d14: Verifying Checksum 16:50:48 4acc49c71d14: Download complete 16:50:48 4acc49c71d14: Pull complete 16:50:48 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 16:50:48 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 16:50:48 ---> 01a2bd3e5fff 16:50:48 Step 15/35 : FROM alpine:3.16 16:50:48 3.16: Pulling from library/alpine 16:50:48 ef5531b6e74e: Pulling fs layer 16:50:48 ef5531b6e74e: Download complete 16:50:48 ef5531b6e74e: Pull complete 16:50:48 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 16:50:48 Status: Downloaded newer image for alpine:3.16 16:50:48 ---> dfd21b5a31f5 16:50:48 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 16:50:48 ---> Running in afbf7bee2e8a 16:50:48 Removing intermediate container afbf7bee2e8a 16:50:48 ---> 7764b902614d 16:50:48 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 16:50:48 ---> Running in 7b8e94b0e849 16:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:48 (1/83) Installing dumb-init (1.2.5-r1) 16:50:48 (2/83) Installing sdl2 (2.0.22-r0) 16:50:48 (3/83) Installing libxau (1.0.9-r0) 16:50:48 (4/83) Installing libxdmcp (1.1.3-r0) 16:50:48 (5/83) Installing libxcb (1.15-r0) 16:50:48 (6/83) Installing libx11 (1.8-r0) 16:50:48 (7/83) Installing aom-libs (3.3.0-r0) 16:50:48 (8/83) Installing alsa-lib (1.2.7.2-r0) 16:50:48 (9/83) Installing expat (2.5.0-r0) 16:50:48 (10/83) Installing brotli-libs (1.0.9-r6) 16:50:48 (11/83) Installing libbz2 (1.0.8-r1) 16:50:48 (12/83) Installing libpng (1.6.37-r1) 16:50:48 (13/83) Installing freetype (2.12.1-r0) 16:50:48 (14/83) Installing fontconfig (2.14.0-r0) 16:50:48 (15/83) Installing fribidi (1.0.12-r0) 16:50:48 (16/83) Installing libffi (3.4.2-r1) 16:50:48 (17/83) Installing libintl (0.21-r2) 16:50:48 (18/83) Installing libblkid (2.38-r1) 16:50:48 (19/83) Installing libmount (2.38-r1) 16:50:48 (20/83) Installing pcre (8.45-r2) 16:50:48 (21/83) Installing glib (2.72.1-r0) 16:50:48 (22/83) Installing graphite2 (1.3.14-r1) 16:50:48 (23/83) Installing harfbuzz (4.3.0-r0) 16:50:48 (24/83) Installing libass (0.16.0-r0) 16:50:48 (25/83) Installing libdav1d (1.0.0-r0) 16:50:48 (26/83) Installing libpciaccess (0.16-r0) 16:50:48 (27/83) Installing libdrm (2.4.110-r0) 16:50:48 (28/83) Installing gmp (6.2.1-r2) 16:50:48 (29/83) Installing nettle (3.7.3-r0) 16:50:48 (30/83) Installing p11-kit (0.24.1-r0) 16:50:48 (31/83) Installing libtasn1 (4.18.0-r1) 16:50:48 (32/83) Installing libunistring (1.0-r0) 16:50:48 (33/83) Installing gnutls (3.7.7-r1) 16:50:48 (34/83) Installing ncurses-terminfo-base (6.3_p20220521-r0) 16:50:48 (35/83) Installing ncurses-libs (6.3_p20220521-r0) 16:50:48 (36/83) Installing lame (3.100-r0) 16:50:48 (37/83) Installing opus (1.3.1-r1) 16:50:48 (38/83) Installing libasyncns (0.8-r1) 16:50:48 (39/83) Installing dbus-libs (1.14.4-r0) 16:50:48 (40/83) Installing libltdl (2.4.7-r0) 16:50:48 (41/83) Installing orc (0.4.32-r0) 16:50:48 (42/83) Installing libgcc (11.2.1_git20220219-r2) 16:50:48 (43/83) Installing libogg (1.3.5-r1) 16:50:48 (44/83) Installing libstdc++ (11.2.1_git20220219-r2) 16:50:48 (45/83) Installing flac (1.3.4-r0) 16:50:48 (46/83) Installing libvorbis (1.3.7-r0) 16:50:48 (47/83) Installing libsndfile (1.1.0-r0) 16:50:48 (48/83) Installing libgomp (11.2.1_git20220219-r2) 16:50:48 (49/83) Installing soxr (0.1.3-r2) 16:50:48 (50/83) Installing speexdsp (1.2.0-r0) 16:50:48 (51/83) Installing tdb-libs (1.4.6-r0) 16:50:48 (52/83) Installing libpulse (15.0-r2) 16:50:48 (53/83) Installing cjson (1.7.15-r3) 16:50:48 (54/83) Installing mbedtls (2.28.2-r0) 16:50:48 (55/83) Installing librist (0.2.6-r1) 16:50:48 (56/83) Installing libsrt (1.4.4-r0) 16:50:48 (57/83) Installing libssh (0.9.6-r1) 16:50:48 (58/83) Installing libtheora (1.1.1-r16) 16:50:48 (59/83) Installing libjpeg-turbo (2.1.3-r1) 16:50:48 (60/83) Installing v4l-utils-libs (1.22.1-r1) 16:50:48 (61/83) Installing libxext (1.3.4-r0) 16:50:48 (62/83) Installing libxfixes (6.0.0-r0) 16:50:48 (63/83) Installing wayland-libs-client (1.20.0-r0) 16:50:48 (64/83) Installing libva (2.14.0-r0) 16:50:48 (65/83) Installing libvdpau (1.5-r0) 16:50:48 (66/83) Installing vidstab (1.1.0-r1) 16:50:48 (67/83) Installing libvpx (1.11.0-r1) 16:50:48 (68/83) Installing libwebp (1.2.3-r0) 16:50:48 (69/83) Installing x264-libs (0.163_git20210613-r0) 16:50:48 (70/83) Installing numactl (2.0.14-r0) 16:50:48 (71/83) Installing x265-libs (3.5-r3) 16:50:48 (72/83) Installing xvidcore (1.3.7-r1) 16:50:48 (73/83) Installing ffmpeg-libs (5.0.1-r1) 16:50:48 (74/83) Installing ffmpeg (5.0.1-r1) 16:50:48 (75/83) Installing udev-init-scripts (35-r0) 16:50:48 Executing udev-init-scripts-35-r0.post-install 16:50:48 (76/83) Installing eudev-libs (3.2.11-r0) 16:50:48 (77/83) Installing xz-libs (5.2.5-r1) 16:50:48 (78/83) Installing zstd-libs (1.5.2-r1) 16:50:48 (79/83) Installing kmod-libs (29-r2) 16:50:48 (80/83) Installing eudev (3.2.11-r0) 16:50:48 (81/83) Installing libsodium (1.0.18-r0) 16:50:48 (82/83) Installing libzmq (4.3.4-r0) 16:50:48 (83/83) Installing zeromq (4.3.4-r0) 16:50:48 Executing busybox-1.35.0-r17.trigger 16:50:48 Executing eudev-3.2.11-r0.trigger 16:50:48 OK: 101 MiB in 97 packages 16:50:50 Removing intermediate container 7b8e94b0e849 16:50:50 ---> 3057299c845a 16:50:50 Step 18/35 : WORKDIR / 16:50:50 ---> Running in fcfe16350906 16:50:50 Removing intermediate container fcfe16350906 16:50:50 ---> 687c3e20b47f 16:50:50 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 16:50:50 ---> 14a657698db9 16:50:50 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 16:50:50 ---> 21e26b8f6101 16:50:50 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 16:50:51 ---> d5c7d940c86e 16:50:51 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 16:50:51 ---> 5ca09a81e21c 16:50:51 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 16:50:51 ---> 6c0b36456fdb 16:50:51 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 16:50:51 ---> 093fe2918a28 16:50:51 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 16:50:52 ---> c79fe09f3ecc 16:50:52 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 16:50:52 ---> Running in 863686f3c835 16:50:52 Removing intermediate container 863686f3c835 16:50:52 ---> 89ca133e6d2d 16:50:52 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 16:50:52 ---> Running in 80ccdee5e4f1 16:50:53 Removing intermediate container 80ccdee5e4f1 16:50:53 ---> fe758c3c68fe 16:50:53 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 16:50:53 ---> Running in 4d3c6c7cf718 16:50:53 Removing intermediate container 4d3c6c7cf718 16:50:53 ---> cba7c8cd2e5d 16:50:53 Step 29/35 : EXPOSE 59983 16:50:54 ---> Running in 07363cdc455c 16:50:54 Removing intermediate container 07363cdc455c 16:50:54 ---> 7f59d2950043 16:50:54 Step 30/35 : EXPOSE 8554 16:50:54 ---> Running in 3d98ad1ac22a 16:50:54 Removing intermediate container 3d98ad1ac22a 16:50:54 ---> 41d2ec116fe2 16:50:54 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 16:50:54 ---> Running in f891d1469327 16:50:54 Removing intermediate container f891d1469327 16:50:54 ---> 3f271c5c2a95 16:50:54 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 16:50:54 ---> Running in f48223f75d8f 16:50:54 Removing intermediate container f48223f75d8f 16:50:54 ---> fd7144ced40b 16:50:54 Step 33/35 : LABEL arch=amd64 16:50:54 ---> Running in ee82927ec4ba 16:50:54 Removing intermediate container ee82927ec4ba 16:50:54 ---> ffcdbaa17f46 16:50:54 Step 34/35 : LABEL git_sha=dd9072dad6c3f863b8ef1333924fa26247fc5350 16:50:54 ---> Running in d021b06cd7e0 16:50:54 Removing intermediate container d021b06cd7e0 16:50:54 ---> 1cc4386d5282 16:50:54 Step 35/35 : LABEL version=0.0.0 16:50:54 ---> Running in 71ce80b20642 16:50:54 Removing intermediate container 71ce80b20642 16:50:54 ---> bd051775841c 16:50:54 [Warning] One or more build-args [ARCH] were not consumed 16:50:54 Successfully built bd051775841c 16:50:54 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 16:50:55 provisioning config files... 16:50:55 copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config4773055689307608591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:50:55 ---> docker-login.sh 16:50:55 nexus3.edgexfoundry.org:10001 16:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:55 Configure a credential helper to remove this warning. See 16:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:55 16:50:55 Login Succeeded 16:50:55 nexus3.edgexfoundry.org:10002 16:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:55 Configure a credential helper to remove this warning. See 16:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:55 16:50:55 Login Succeeded 16:50:55 nexus3.edgexfoundry.org:10003 16:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:55 Configure a credential helper to remove this warning. See 16:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:55 16:50:55 Login Succeeded 16:50:55 nexus3.edgexfoundry.org:10004 16:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:55 Configure a credential helper to remove this warning. See 16:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:55 16:50:55 Login Succeeded 16:50:55 docker.io 16:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:50:55 Configure a credential helper to remove this warning. See 16:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:50:55 16:50:55 Login Succeeded 16:50:55 ---> docker-login.sh ends [Pipeline] } 16:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:50:55 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:50:55 [edgeXDocker.push] Tagging docker image device-usb-camera with the following tags: 16:50:55 dd9072dad6c3f863b8ef1333924fa26247fc5350 16:50:55 latest 16:50:55 0.0.0 16:50:55 dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 16:50:55 levski 16:50:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:56 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:56 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350 16:50:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:50:56 37bd37a646fe: Preparing 16:50:56 bdad701b04aa: Preparing 16:50:56 85af2f840f5e: Preparing 16:50:56 3827b5b91e75: Preparing 16:50:56 acc83c6ca332: Preparing 16:50:56 de2c2e283528: Preparing 16:50:56 b41d614d0e07: Preparing 16:50:56 cb11b9b916d3: Preparing 16:50:56 41bbfc2428fc: Preparing 16:50:56 79494c2ed200: Preparing 16:50:56 bb18c5150750: Preparing 16:50:56 aa5968d388b8: Preparing 16:50:56 b41d614d0e07: Waiting 16:50:56 cb11b9b916d3: Waiting 16:50:56 41bbfc2428fc: Waiting 16:50:56 79494c2ed200: Waiting 16:50:56 bb18c5150750: Waiting 16:50:56 aa5968d388b8: Waiting 16:50:56 de2c2e283528: Waiting 16:50:56 85af2f840f5e: Pushed 16:50:56 bdad701b04aa: Pushed 16:50:56 37bd37a646fe: Pushed 16:50:56 acc83c6ca332: Pushed 16:50:56 de2c2e283528: Pushed 16:50:56 b41d614d0e07: Pushed 16:50:56 cb11b9b916d3: Pushed 16:50:56 41bbfc2428fc: Pushed 16:50:56 aa5968d388b8: Layer already exists 16:50:59 3827b5b91e75: Pushed 16:50:59 79494c2ed200: Pushed 16:51:05 bb18c5150750: Pushed 16:51:05 dd9072dad6c3f863b8ef1333924fa26247fc5350: digest: sha256:1edba9ea30b7a3bc5c116a425d82af78ec1ab568a8e42b55366faa31a1f256dd size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:06 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:06 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:51:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:51:06 37bd37a646fe: Preparing 16:51:06 bdad701b04aa: Preparing 16:51:06 85af2f840f5e: Preparing 16:51:06 3827b5b91e75: Preparing 16:51:06 acc83c6ca332: Preparing 16:51:06 de2c2e283528: Preparing 16:51:06 b41d614d0e07: Preparing 16:51:06 cb11b9b916d3: Preparing 16:51:06 41bbfc2428fc: Preparing 16:51:06 79494c2ed200: Preparing 16:51:06 bb18c5150750: Preparing 16:51:06 aa5968d388b8: Preparing 16:51:06 bb18c5150750: Waiting 16:51:06 cb11b9b916d3: Waiting 16:51:06 aa5968d388b8: Waiting 16:51:06 41bbfc2428fc: Waiting 16:51:06 de2c2e283528: Waiting 16:51:06 b41d614d0e07: Waiting 16:51:06 79494c2ed200: Waiting 16:51:06 3827b5b91e75: Layer already exists 16:51:06 37bd37a646fe: Layer already exists 16:51:06 acc83c6ca332: Layer already exists 16:51:06 bdad701b04aa: Layer already exists 16:51:06 85af2f840f5e: Layer already exists 16:51:06 41bbfc2428fc: Layer already exists 16:51:06 cb11b9b916d3: Layer already exists 16:51:06 de2c2e283528: Layer already exists 16:51:06 b41d614d0e07: Layer already exists 16:51:06 79494c2ed200: Layer already exists 16:51:06 bb18c5150750: Layer already exists 16:51:06 aa5968d388b8: Layer already exists 16:51:06 latest: digest: sha256:1edba9ea30b7a3bc5c116a425d82af78ec1ab568a8e42b55366faa31a1f256dd size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:06 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.0 16:51:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:51:07 37bd37a646fe: Preparing 16:51:07 bdad701b04aa: Preparing 16:51:07 85af2f840f5e: Preparing 16:51:07 3827b5b91e75: Preparing 16:51:07 acc83c6ca332: Preparing 16:51:07 de2c2e283528: Preparing 16:51:07 b41d614d0e07: Preparing 16:51:07 cb11b9b916d3: Preparing 16:51:07 41bbfc2428fc: Preparing 16:51:07 79494c2ed200: Preparing 16:51:07 bb18c5150750: Preparing 16:51:07 aa5968d388b8: Preparing 16:51:07 cb11b9b916d3: Waiting 16:51:07 41bbfc2428fc: Waiting 16:51:07 79494c2ed200: Waiting 16:51:07 de2c2e283528: Waiting 16:51:07 b41d614d0e07: Waiting 16:51:07 aa5968d388b8: Waiting 16:51:07 bb18c5150750: Waiting 16:51:07 3827b5b91e75: Layer already exists 16:51:07 37bd37a646fe: Layer already exists 16:51:07 acc83c6ca332: Layer already exists 16:51:07 bdad701b04aa: Layer already exists 16:51:07 85af2f840f5e: Layer already exists 16:51:07 b41d614d0e07: Layer already exists 16:51:07 79494c2ed200: Layer already exists 16:51:07 41bbfc2428fc: Layer already exists 16:51:07 cb11b9b916d3: Layer already exists 16:51:07 de2c2e283528: Layer already exists 16:51:07 bb18c5150750: Layer already exists 16:51:07 aa5968d388b8: Layer already exists 16:51:07 0.0.0: digest: sha256:1edba9ea30b7a3bc5c116a425d82af78ec1ab568a8e42b55366faa31a1f256dd size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:07 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:07 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 16:51:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:51:07 37bd37a646fe: Preparing 16:51:07 bdad701b04aa: Preparing 16:51:07 85af2f840f5e: Preparing 16:51:07 3827b5b91e75: Preparing 16:51:07 acc83c6ca332: Preparing 16:51:07 de2c2e283528: Preparing 16:51:07 b41d614d0e07: Preparing 16:51:07 cb11b9b916d3: Preparing 16:51:07 41bbfc2428fc: Preparing 16:51:07 79494c2ed200: Preparing 16:51:07 bb18c5150750: Preparing 16:51:07 aa5968d388b8: Preparing 16:51:07 41bbfc2428fc: Waiting 16:51:07 cb11b9b916d3: Waiting 16:51:07 79494c2ed200: Waiting 16:51:07 bb18c5150750: Waiting 16:51:07 de2c2e283528: Waiting 16:51:07 aa5968d388b8: Waiting 16:51:07 b41d614d0e07: Waiting 16:51:07 37bd37a646fe: Layer already exists 16:51:07 85af2f840f5e: Layer already exists 16:51:07 3827b5b91e75: Layer already exists 16:51:07 bdad701b04aa: Layer already exists 16:51:07 acc83c6ca332: Layer already exists 16:51:07 de2c2e283528: Layer already exists 16:51:07 b41d614d0e07: Layer already exists 16:51:07 cb11b9b916d3: Layer already exists 16:51:07 41bbfc2428fc: Layer already exists 16:51:07 79494c2ed200: Layer already exists 16:51:07 bb18c5150750: Layer already exists 16:51:07 aa5968d388b8: Layer already exists 16:51:07 dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0: digest: sha256:1edba9ea30b7a3bc5c116a425d82af78ec1ab568a8e42b55366faa31a1f256dd size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:08 + docker tag device-usb-camera nexus3.edgexfoundry.org:10004/device-usb-camera:levski [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:08 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera:levski 16:51:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera] 16:51:08 37bd37a646fe: Preparing 16:51:08 bdad701b04aa: Preparing 16:51:08 85af2f840f5e: Preparing 16:51:08 3827b5b91e75: Preparing 16:51:08 acc83c6ca332: Preparing 16:51:08 de2c2e283528: Preparing 16:51:08 b41d614d0e07: Preparing 16:51:08 cb11b9b916d3: Preparing 16:51:08 41bbfc2428fc: Preparing 16:51:08 79494c2ed200: Preparing 16:51:08 bb18c5150750: Preparing 16:51:08 aa5968d388b8: Preparing 16:51:08 de2c2e283528: Waiting 16:51:08 b41d614d0e07: Waiting 16:51:08 cb11b9b916d3: Waiting 16:51:08 41bbfc2428fc: Waiting 16:51:08 79494c2ed200: Waiting 16:51:08 aa5968d388b8: Waiting 16:51:08 85af2f840f5e: Layer already exists 16:51:08 37bd37a646fe: Layer already exists 16:51:08 bdad701b04aa: Layer already exists 16:51:08 3827b5b91e75: Layer already exists 16:51:08 acc83c6ca332: Layer already exists 16:51:08 de2c2e283528: Layer already exists 16:51:08 b41d614d0e07: Layer already exists 16:51:08 cb11b9b916d3: Layer already exists 16:51:08 41bbfc2428fc: Layer already exists 16:51:08 79494c2ed200: Layer already exists 16:51:08 bb18c5150750: Layer already exists 16:51:08 aa5968d388b8: Layer already exists 16:51:08 levski: digest: sha256:1edba9ea30b7a3bc5c116a425d82af78ec1ab568a8e42b55366faa31a1f256dd size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:51:08 ===================================================== [Pipeline] echo 16:51:08 taggedImages: 16:51:08 - nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350 16:51:08 - nexus3.edgexfoundry.org:10004/device-usb-camera:latest 16:51:08 - nexus3.edgexfoundry.org:10004/device-usb-camera:0.0.0 16:51:08 - nexus3.edgexfoundry.org:10004/device-usb-camera:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 16:51:08 - 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 16:51:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:08 16:51:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:09 latest: Pulling from edgex-lftools-log-publisher 16:51:09 5eb5b503b376: Pulling fs layer 16:51:09 5c69ac0246d0: Pulling fs layer 16:51:09 ec43610c2a17: Pulling fs layer 16:51:09 3a2ae6a8a46f: Pulling fs layer 16:51:09 33b1e0a273af: Pulling fs layer 16:51:09 5d3b04190fa2: Pulling fs layer 16:51:09 2f39f015ded8: Pulling fs layer 16:51:09 3a2ae6a8a46f: Waiting 16:51:09 33b1e0a273af: Waiting 16:51:09 5d3b04190fa2: Waiting 16:51:09 2f39f015ded8: Waiting 16:51:09 5c69ac0246d0: Verifying Checksum 16:51:09 3a2ae6a8a46f: Verifying Checksum 16:51:09 3a2ae6a8a46f: Download complete 16:51:09 33b1e0a273af: Verifying Checksum 16:51:09 33b1e0a273af: Download complete 16:51:09 ec43610c2a17: Verifying Checksum 16:51:09 ec43610c2a17: Download complete 16:51:09 5d3b04190fa2: Verifying Checksum 16:51:09 5d3b04190fa2: Download complete 16:51:09 5eb5b503b376: Verifying Checksum 16:51:09 5eb5b503b376: Download complete 16:51:10 2f39f015ded8: Download complete 16:51:10 5eb5b503b376: Pull complete 16:51:10 5c69ac0246d0: Pull complete 16:51:11 ec43610c2a17: Pull complete 16:51:11 3a2ae6a8a46f: Pull complete 16:51:11 33b1e0a273af: Pull complete 16:51:11 5d3b04190fa2: Pull complete 16:51:15 2f39f015ded8: Pull complete 16:51:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:51:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:51:15 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 16:51:15 $ 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 16:51:17 $ docker top 83355d6f5e94f0a894774215c46c881caa089966ccaef967a92239266d65d119 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:17 ---> job-cost.sh 16:51:17 lf-activate-venv: SKIPPING 16:51:17 INFO: No Stack... 16:51:18 INFO: Retrieving Pricing Info for: v3-standard-8 16:51:18 INFO: Archiving Costs [Pipeline] sh 16:51:19 + cat /w/workspace/foundry_device-usb-camera_levski/archives/cost.csv 16:51:19 + cut -d, -f6 [Pipeline] lock 16:51:19 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] 16:51:19 Resource [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] did not exist. Created. 16:51:19 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:51:19 + echo total: 0.2199999988079071 [Pipeline] stash 16:51:19 Stashed 1 file(s) [Pipeline] } 16:51:19 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:51:19 $ docker stop --time=1 83355d6f5e94f0a894774215c46c881caa089966ccaef967a92239266d65d119 16:51:20 $ docker rm -f --volumes 83355d6f5e94f0a894774215c46c881caa089966ccaef967a92239266d65d119 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:58:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2175 in /w/workspace/foundry_device-usb-camera_levski [Pipeline] { [Pipeline] ws 16:58:06 Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout 16:58:06 Selected Git installation does not exist. Using Default 16:58:06 The recommended git tool is: NONE 16:58:16 using credential edgex-jenkins-ssh 16:58:16 Cloning the remote Git repository 16:58:16 Cloning repository git@github.com:edgexfoundry/device-usb-camera.git 16:58:17 > git init /w/workspace/device-usb-camera/2 # timeout=10 16:58:17 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git 16:58:17 > git --version # timeout=10 16:58:17 > git --version # 'git version 2.25.1' 16:58:17 using GIT_SSH to set credentials SSH Credentials for GitHub 16:58:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:18 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 16:58:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:58:19 Avoid second fetch 16:58:19 Checking out Revision dd9072dad6c3f863b8ef1333924fa26247fc5350 (levski) 16:58:20 Commit message: "fix: upgrade sdk to fix device cache issue (#184)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:19 > git config core.sparsecheckout # timeout=10 16:58:19 > git checkout -f dd9072dad6c3f863b8ef1333924fa26247fc5350 # timeout=10 16:58:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:58:21 % Total % Received % Xferd Average Speed Time Time Time Current 16:58:21 Dload Upload Total Spent Left Speed 16:58:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 16:58:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:58:22 + sudo tee /etc/docker/daemon.new 16:58:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:58:22 { 16:58:22 "registry-mirrors": [ 16:58:22 "https://nexus3.edgexfoundry.org:10001" 16:58:22 ], 16:58:22 "bip": "10.250.0.254/24", 16:58:22 "hosts": [ 16:58:22 "tcp://0.0.0.0:5555", 16:58:22 "unix:///var/run/docker.sock" 16:58:22 ], 16:58:22 "mtu": 1458, 16:58:22 "selinux-enabled": true, 16:58:22 "seccomp-profile": "/etc/docker/seccomp.json" 16:58:22 } [Pipeline] sh 16:58:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:58:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:58:41 provisioning config files... 16:58:41 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config12898048405311755194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:41 ---> docker-login.sh 16:58:41 nexus3.edgexfoundry.org:10001 16:58:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:42 Configure a credential helper to remove this warning. See 16:58:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:42 16:58:42 Login Succeeded 16:58:42 nexus3.edgexfoundry.org:10002 16:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:43 Configure a credential helper to remove this warning. See 16:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:43 16:58:43 Login Succeeded 16:58:43 nexus3.edgexfoundry.org:10003 16:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:43 Configure a credential helper to remove this warning. See 16:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:43 16:58:43 Login Succeeded 16:58:43 nexus3.edgexfoundry.org:10004 16:58:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:43 Configure a credential helper to remove this warning. See 16:58:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:43 16:58:43 Login Succeeded 16:58:43 docker.io 16:58:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:44 Configure a credential helper to remove this warning. See 16:58:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:44 16:58:44 Login Succeeded 16:58:44 ---> docker-login.sh ends [Pipeline] } 16:58:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:58:45 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:45 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:58:45 ========================================================= 16:58:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:58:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:45 + 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 . 16:58:45 Sending build context to Docker daemon 1.191MB 16:58:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 16:58:45 Step 2/13 : FROM ${BASE} AS builder 16:58:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:58:46 9b18e9b68314: Pulling fs layer 16:58:46 35d82f9e3411: Pulling fs layer 16:58:46 e16973657156: Pulling fs layer 16:58:46 fc693d55d65f: Pulling fs layer 16:58:46 7e9fc2657dce: Pulling fs layer 16:58:46 dda99020689f: Pulling fs layer 16:58:46 db1c61fa0a46: Pulling fs layer 16:58:46 891c053d2c06: Pulling fs layer 16:58:46 7e9fc2657dce: Waiting 16:58:46 dda99020689f: Waiting 16:58:46 db1c61fa0a46: Waiting 16:58:46 891c053d2c06: Waiting 16:58:46 fc693d55d65f: Waiting 16:58:46 e16973657156: Verifying Checksum 16:58:46 e16973657156: Download complete 16:58:46 35d82f9e3411: Verifying Checksum 16:58:46 35d82f9e3411: Download complete 16:58:46 7e9fc2657dce: Verifying Checksum 16:58:46 7e9fc2657dce: Download complete 16:58:46 dda99020689f: Verifying Checksum 16:58:46 dda99020689f: Download complete 16:58:46 9b18e9b68314: Verifying Checksum 16:58:47 9b18e9b68314: Pull complete 16:58:47 891c053d2c06: Verifying Checksum 16:58:47 891c053d2c06: Download complete 16:58:48 35d82f9e3411: Pull complete 16:58:48 e16973657156: Pull complete 16:58:49 db1c61fa0a46: Verifying Checksum 16:58:49 db1c61fa0a46: Download complete 16:58:49 fc693d55d65f: Verifying Checksum 16:58:49 fc693d55d65f: Download complete 16:59:04 fc693d55d65f: Pull complete 16:59:04 7e9fc2657dce: Pull complete 16:59:04 dda99020689f: Pull complete 16:59:09 db1c61fa0a46: Pull complete 16:59:10 891c053d2c06: Pull complete 16:59:10 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:59:10 ---> f96f9c87975a 16:59:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 16:59:11 ---> Running in f2e0f4ce3eff 16:59:12 Removing intermediate container f2e0f4ce3eff 16:59:12 ---> 60eed76f88c1 16:59:12 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:59:12 ---> Running in 3dbf120765f7 16:59:12 Removing intermediate container 3dbf120765f7 16:59:12 ---> ece990d88653 16:59:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 16:59:12 ---> Running in e5d2eb4006c5 16:59:13 Removing intermediate container e5d2eb4006c5 16:59:13 ---> be15b2132ba8 16:59:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 16:59:13 ---> Running in 307c0b5cc467 16:59:13 Removing intermediate container 307c0b5cc467 16:59:13 ---> 8e6e27735716 16:59:13 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:59:13 ---> Running in dc8b07ae248e 16:59:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:59:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:59:16 (1/14) Installing libintl (0.21-r2) 16:59:16 (2/14) Installing eudev-libs (3.2.11-r0) 16:59:16 (3/14) Installing libjpeg-turbo (2.1.3-r1) 16:59:16 (4/14) Installing v4l-utils-libs (1.22.1-r1) 16:59:16 (5/14) Installing v4l-utils (1.22.1-r1) 16:59:16 (6/14) Installing udev-init-scripts (35-r0) 16:59:16 Executing udev-init-scripts-35-r0.post-install 16:59:16 (7/14) Installing libblkid (2.38-r1) 16:59:16 (8/14) Installing xz-libs (5.2.5-r1) 16:59:16 (9/14) Installing zstd-libs (1.5.2-r1) 16:59:16 (10/14) Installing kmod-libs (29-r2) 16:59:16 (11/14) Installing eudev (3.2.11-r0) 16:59:16 (12/14) Installing eudev-dev (3.2.11-r0) 16:59:16 (13/14) Installing v4l-utils-dvbv5 (1.22.1-r1) 16:59:16 (14/14) Installing v4l-utils-dev (1.22.1-r1) 16:59:16 Executing busybox-1.35.0-r17.trigger 16:59:16 Executing eudev-3.2.11-r0.trigger 16:59:16 OK: 228 MiB in 65 packages 16:59:18 Removing intermediate container dc8b07ae248e 16:59:18 ---> 251d5721dfe2 16:59:18 Step 8/13 : WORKDIR /device-usb-camera 16:59:18 ---> Running in a02630858f5f 16:59:18 Removing intermediate container a02630858f5f 16:59:18 ---> cd3c1bd98e94 16:59:18 Step 9/13 : COPY go.mod vendor* ./ 16:59:18 ---> cdeb93566762 16:59:18 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:59:18 ---> Running in edb437779b20 17:00:26 Removing intermediate container edb437779b20 17:00:26 ---> 05eed36187f6 17:00:26 Step 11/13 : COPY . . 17:00:26 ---> e4bfd556cfce 17:00:26 Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:00:26 ---> Running in a8c2757146c8 17:00:26  % Total % Received % Xferd Average Speed Time Time Time Current 17:00:26 Dload Upload Total Spent Left Speed 17:00:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062  100 1062 0 0 5411 0 --:--:-- --:--:-- --:--:-- 5446 17:00:26 Removing intermediate container a8c2757146c8 17:00:26 ---> 8a31360503fd 17:00:26 Step 13/13 : RUN ${MAKE} 17:00:26 ---> Running in fa9556db8d22 17:00:26 noop 17:00:26 Removing intermediate container fa9556db8d22 17:00:26 ---> 81302ff882d0 17:00:26 Successfully built 81302ff882d0 17:00:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:27 + docker inspect -f . ci-base-image-arm64 17:00:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:27 prd-ubuntu20.04-docker-arm64-4c-16g-2175 does not seem to be running inside a container 17:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 17:00:28 $ docker top 140b6c2b577f71bdf9c7fa2e36af3ab5b6009230f15d8175fb77fa8dc83f66d0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:29 + go version 17:00:29 go version go1.18.7 linux/arm64 [Pipeline] } 17:00:29 $ docker stop --time=1 140b6c2b577f71bdf9c7fa2e36af3ab5b6009230f15d8175fb77fa8dc83f66d0 17:00:31 $ docker rm -f --volumes 140b6c2b577f71bdf9c7fa2e36af3ab5b6009230f15d8175fb77fa8dc83f66d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:32 + docker inspect -f . ci-base-image-arm64 17:00:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:32 prd-ubuntu20.04-docker-arm64-4c-16g-2175 does not seem to be running inside a container 17:00:32 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 17:00:33 $ docker top 3298c636172d7a90ad1c48cefbf117c438a7d73e04e203df722a1eaaeea5170e -eo pid,comm [Pipeline] { [Pipeline] sh 17:00:34 + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh 17:00:35 + make test 17:00:35 CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... 17:00:37 ? github.com/edgexfoundry/device-usb-camera [no test files] 17:02:29 ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] 17:02:29 ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.081s coverage: 1.9% of statements 17:02:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:02:29 CGO_ENABLED=1 go vet ./... 17:03:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:03:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:03:02 ./bin/test-attribution-txt.sh [Pipeline] echo 17:03:02 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:03:02 $ docker stop --time=1 3298c636172d7a90ad1c48cefbf117c438a7d73e04e203df722a1eaaeea5170e 17:03:04 $ docker rm -f --volumes 3298c636172d7a90ad1c48cefbf117c438a7d73e04e203df722a1eaaeea5170e [Pipeline] // withDockerContainer [Pipeline] sh 17:03:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:05 Warning: overwriting stash ‘coverage-report’ 17:03:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:03:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:06 + ls -al . 17:03:06 total 200 17:03:06 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 17:00 . 17:03:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:58 .. 17:03:06 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:58 .git 17:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:58 .github 17:03:06 -rw-rw-r-- 1 jenkins jenkins 414 Mar 15 16:58 .gitignore 17:03:06 -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:58 .golangci.yml 17:03:06 -rw-rw-r-- 1 jenkins jenkins 77 Mar 15 16:58 .hadolint.yml 17:03:06 -rw-rw-r-- 1 jenkins jenkins 9702 Mar 15 16:58 Attribution.txt 17:03:06 -rw-rw-r-- 1 jenkins jenkins 6219 Mar 15 16:58 CHANGELOG.md 17:03:06 -rw-rw-r-- 1 jenkins jenkins 2378 Mar 15 16:58 Dockerfile 17:03:06 -rw-rw-r-- 1 jenkins jenkins 678 Mar 15 16:58 GOVERNANCE.md 17:03:06 -rw-rw-r-- 1 jenkins jenkins 687 Mar 15 16:58 Jenkinsfile 17:03:06 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:58 LICENSE 17:03:06 -rw-rw-r-- 1 jenkins jenkins 2554 Mar 15 16:58 Makefile 17:03:06 -rw-rw-r-- 1 jenkins jenkins 622 Mar 15 16:58 OWNERS.md 17:03:06 -rw-rw-r-- 1 jenkins jenkins 5934 Mar 15 16:58 README.md 17:03:06 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:49 VERSION 17:03:06 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:58 bin 17:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:58 cmd 17:03:06 -rw-r--r-- 1 jenkins jenkins 30666 Mar 15 17:02 coverage.out 17:03:06 -rwxrwxr-x 1 jenkins jenkins 140 Mar 15 16:58 docker-entrypoint.sh 17:03:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:58 docs 17:03:06 -rw-rw-r-- 1 jenkins jenkins 3579 Mar 15 16:58 go.mod 17:03:06 -rw-rw-r-- 1 jenkins jenkins 45038 Mar 15 16:58 go.sum 17:03:06 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:58 internal 17:03:06 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:58 snap 17:03:06 -rw-rw-r-- 1 jenkins jenkins 231 Mar 15 16:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:03:07 + 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=dd9072dad6c3f863b8ef1333924fa26247fc5350 --label arch=arm64 --label version=0.0.0 . 17:03:07 Sending build context to Docker daemon 1.223MB 17:03:07 Step 1/35 : ARG BASE=golang:1.18-alpine3.16 17:03:07 Step 2/35 : FROM ${BASE} AS builder 17:03:07 ---> 81302ff882d0 17:03:07 Step 3/35 : ARG ADD_BUILD_TAGS="" 17:03:07 ---> Running in b72bcd4bc8df 17:03:08 Removing intermediate container b72bcd4bc8df 17:03:08 ---> 30ccbbd1b498 17:03:08 Step 4/35 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:03:08 ---> Running in fcc4186abf47 17:03:08 Removing intermediate container fcc4186abf47 17:03:08 ---> 5667bd393b6a 17:03:08 Step 5/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" 17:03:08 ---> Running in 0634593a0389 17:03:09 Removing intermediate container 0634593a0389 17:03:09 ---> 9f55f5e7e3ea 17:03:09 Step 6/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" 17:03:09 ---> Running in 3f16330de3f3 17:03:09 Removing intermediate container 3f16330de3f3 17:03:09 ---> ccc6352a0c21 17:03:09 Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:03:09 ---> Running in f0ccdd4e2ced 17:03:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:03:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:03:12 OK: 228 MiB in 65 packages 17:03:13 Removing intermediate container f0ccdd4e2ced 17:03:13 ---> 391c57457416 17:03:13 Step 8/35 : WORKDIR /device-usb-camera 17:03:13 ---> Running in 89338ed26043 17:03:14 Removing intermediate container 89338ed26043 17:03:14 ---> 23564b49d71f 17:03:14 Step 9/35 : COPY go.mod vendor* ./ 17:03:14 ---> 1003b54b3984 17:03:14 Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:03:14 ---> Running in 7919ecca3417 17:03:17 Removing intermediate container 7919ecca3417 17:03:17 ---> 030ac1fc3248 17:03:17 Step 11/35 : COPY . . 17:03:18 ---> 81365e0f6b0c 17:03:18 Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE 17:03:18 ---> Running in 37bff6fd1359 17:03:19  % Total  % Received % Xferd Average Speed Time Time Time Current 17:03:19 Dload Upload Total Spent Left Speed 17:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 11701 0 --:--:-- --:--:-- --:--:-- 11800 17:03:20 Removing intermediate container 37bff6fd1359 17:03:20 ---> eb87d34d713b 17:03:20 Step 13/35 : RUN ${MAKE} 17:03:20 ---> Running in f8e87ba91f04 17:03:21 CGO_ENABLED=1 go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd 17:05:57 Removing intermediate container f8e87ba91f04 17:05:57 ---> 0876d9665fa7 17:05:57 Step 14/35 : FROM aler9/rtsp-simple-server:v0.21.6 AS rtsp 17:05:57 v0.21.6: Pulling from aler9/rtsp-simple-server 17:05:57 8766b47fe142: Pulling fs layer 17:05:57 8766b47fe142: Verifying Checksum 17:05:57 8766b47fe142: Download complete 17:05:57 8766b47fe142: Pull complete 17:05:57 Digest: sha256:f020796eb25ff31728c4633d51d76ece857ae5036a0f706c94a090e7b6047b3f 17:05:57 Status: Downloaded newer image for aler9/rtsp-simple-server:v0.21.6 17:05:57 ---> 69d40e2cb93c 17:05:57 Step 15/35 : FROM alpine:3.16 17:05:57 3.16: Pulling from library/alpine 17:05:58 3760b48202b3: Pulling fs layer 17:05:58 3760b48202b3: Verifying Checksum 17:05:58 3760b48202b3: Pull complete 17:05:58 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 17:05:58 Status: Downloaded newer image for alpine:3.16 17:05:58 ---> 4c81e5bf8899 17:05:58 Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 17:05:59 ---> Running in 783df387d084 17:05:59 Removing intermediate container 783df387d084 17:05:59 ---> 98ce32ece697 17:05:59 Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev 17:05:59 ---> Running in b81a267413d4 17:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:06:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:06:01 (1/82) Installing dumb-init (1.2.5-r1) 17:06:01 (2/82) Installing sdl2 (2.0.22-r0) 17:06:01 (3/82) Installing libxau (1.0.9-r0) 17:06:01 (4/82) Installing libxdmcp (1.1.3-r0) 17:06:01 (5/82) Installing libxcb (1.15-r0) 17:06:02 (6/82) Installing libx11 (1.8-r0) 17:06:02 (7/82) Installing aom-libs (3.3.0-r0) 17:06:02 (8/82) Installing alsa-lib (1.2.7.2-r0) 17:06:02 (9/82) Installing expat (2.5.0-r0) 17:06:02 (10/82) Installing brotli-libs (1.0.9-r6) 17:06:02 (11/82) Installing libbz2 (1.0.8-r1) 17:06:02 (12/82) Installing libpng (1.6.37-r1) 17:06:02 (13/82) Installing freetype (2.12.1-r0) 17:06:02 (14/82) Installing fontconfig (2.14.0-r0) 17:06:02 (15/82) Installing fribidi (1.0.12-r0) 17:06:02 (16/82) Installing libffi (3.4.2-r1) 17:06:02 (17/82) Installing libintl (0.21-r2) 17:06:02 (18/82) Installing libblkid (2.38-r1) 17:06:02 (19/82) Installing libmount (2.38-r1) 17:06:02 (20/82) Installing pcre (8.45-r2) 17:06:02 (21/82) Installing glib (2.72.1-r0) 17:06:02 (22/82) Installing graphite2 (1.3.14-r1) 17:06:02 (23/82) Installing harfbuzz (4.3.0-r0) 17:06:02 (24/82) Installing libass (0.16.0-r0) 17:06:02 (25/82) Installing libdav1d (1.0.0-r0) 17:06:02 (26/82) Installing libdrm (2.4.110-r0) 17:06:02 (27/82) Installing gmp (6.2.1-r2) 17:06:02 (28/82) Installing nettle (3.7.3-r0) 17:06:02 (29/82) Installing p11-kit (0.24.1-r0) 17:06:02 (30/82) Installing libtasn1 (4.18.0-r1) 17:06:02 (31/82) Installing libunistring (1.0-r0) 17:06:02 (32/82) Installing gnutls (3.7.7-r1) 17:06:02 (33/82) Installing ncurses-terminfo-base (6.3_p20220521-r0) 17:06:02 (34/82) Installing ncurses-libs (6.3_p20220521-r0) 17:06:03 (35/82) Installing lame (3.100-r0) 17:06:03 (36/82) Installing opus (1.3.1-r1) 17:06:03 (37/82) Installing libasyncns (0.8-r1) 17:06:03 (38/82) Installing dbus-libs (1.14.4-r0) 17:06:03 (39/82) Installing libltdl (2.4.7-r0) 17:06:03 (40/82) Installing orc (0.4.32-r0) 17:06:03 (41/82) Installing libgcc (11.2.1_git20220219-r2) 17:06:03 (42/82) Installing libogg (1.3.5-r1) 17:06:03 (43/82) Installing libstdc++ (11.2.1_git20220219-r2) 17:06:03 (44/82) Installing flac (1.3.4-r0) 17:06:03 (45/82) Installing libvorbis (1.3.7-r0) 17:06:03 (46/82) Installing libsndfile (1.1.0-r0) 17:06:03 (47/82) Installing libgomp (11.2.1_git20220219-r2) 17:06:03 (48/82) Installing soxr (0.1.3-r2) 17:06:03 (49/82) Installing speexdsp (1.2.0-r0) 17:06:03 (50/82) Installing tdb-libs (1.4.6-r0) 17:06:03 (51/82) Installing libpulse (15.0-r2) 17:06:03 (52/82) Installing cjson (1.7.15-r3) 17:06:03 (53/82) Installing mbedtls (2.28.2-r0) 17:06:03 (54/82) Installing librist (0.2.6-r1) 17:06:03 (55/82) Installing libsrt (1.4.4-r0) 17:06:03 (56/82) Installing libssh (0.9.6-r1) 17:06:03 (57/82) Installing libtheora (1.1.1-r16) 17:06:04 (58/82) Installing libjpeg-turbo (2.1.3-r1) 17:06:04 (59/82) Installing v4l-utils-libs (1.22.1-r1) 17:06:04 (60/82) Installing libxext (1.3.4-r0) 17:06:04 (61/82) Installing libxfixes (6.0.0-r0) 17:06:04 (62/82) Installing wayland-libs-client (1.20.0-r0) 17:06:04 (63/82) Installing libva (2.14.0-r0) 17:06:04 (64/82) Installing libvdpau (1.5-r0) 17:06:04 (65/82) Installing vidstab (1.1.0-r1) 17:06:04 (66/82) Installing libvpx (1.11.0-r1) 17:06:04 (67/82) Installing libwebp (1.2.3-r0) 17:06:04 (68/82) Installing x264-libs (0.163_git20210613-r0) 17:06:04 (69/82) Installing numactl (2.0.14-r0) 17:06:04 (70/82) Installing x265-libs (3.5-r3) 17:06:04 (71/82) Installing xvidcore (1.3.7-r1) 17:06:04 (72/82) Installing ffmpeg-libs (5.0.1-r1) 17:06:05 (73/82) Installing ffmpeg (5.0.1-r1) 17:06:05 (74/82) Installing udev-init-scripts (35-r0) 17:06:05 Executing udev-init-scripts-35-r0.post-install 17:06:05 (75/82) Installing eudev-libs (3.2.11-r0) 17:06:05 (76/82) Installing xz-libs (5.2.5-r1) 17:06:05 (77/82) Installing zstd-libs (1.5.2-r1) 17:06:05 (78/82) Installing kmod-libs (29-r2) 17:06:05 (79/82) Installing eudev (3.2.11-r0) 17:06:05 (80/82) Installing libsodium (1.0.18-r0) 17:06:05 (81/82) Installing libzmq (4.3.4-r0) 17:06:05 (82/82) Installing zeromq (4.3.4-r0) 17:06:05 Executing busybox-1.35.0-r17.trigger 17:06:05 Executing eudev-3.2.11-r0.trigger 17:06:05 OK: 78 MiB in 96 packages 17:06:09 Removing intermediate container b81a267413d4 17:06:09 ---> 801d87387661 17:06:09 Step 18/35 : WORKDIR / 17:06:09 ---> Running in 7981b2b255c4 17:06:10 Removing intermediate container 7981b2b255c4 17:06:10 ---> a05714724d16 17:06:10 Step 19/35 : COPY --from=builder /device-usb-camera/cmd / 17:06:11 ---> 6c61129b67ce 17:06:11 Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / 17:06:12 ---> 0f3632994e18 17:06:12 Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / 17:06:12 ---> e2f9192a2a50 17:06:12 Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / 17:06:13 ---> ce4d09caeb82 17:06:13 Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / 17:06:13 ---> d92aa3f8847c 17:06:13 Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / 17:06:14 ---> 17226c9f04c0 17:06:14 Step 25/35 : COPY --from=rtsp /rtsp-simple-server / 17:06:16 ---> e69450866678 17:06:16 Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml 17:06:16 ---> Running in 4499b3e131f5 17:06:18 Removing intermediate container 4499b3e131f5 17:06:18 ---> 72564ecad3ef 17:06:18 Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml 17:06:18 ---> Running in 05fa0adbde9d 17:06:20 Removing intermediate container 05fa0adbde9d 17:06:20 ---> 94cd141dcdbc 17:06:20 Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml 17:06:20 ---> Running in a7c41c9a2438 17:06:22 Removing intermediate container a7c41c9a2438 17:06:22 ---> 575b3e2e59aa 17:06:22 Step 29/35 : EXPOSE 59983 17:06:22 ---> Running in 7b6e021ca2ce 17:06:22 Removing intermediate container 7b6e021ca2ce 17:06:22 ---> 9104de87825d 17:06:22 Step 30/35 : EXPOSE 8554 17:06:22 ---> Running in b8f89ab890a9 17:06:22 Removing intermediate container b8f89ab890a9 17:06:22 ---> 4c8896110f00 17:06:22 Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] 17:06:22 ---> Running in 01d1b19f5c00 17:06:23 Removing intermediate container 01d1b19f5c00 17:06:23 ---> 738711d77268 17:06:23 Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] 17:06:23 ---> Running in 36b698459172 17:06:23 Removing intermediate container 36b698459172 17:06:23 ---> d1b2715ae762 17:06:23 Step 33/35 : LABEL arch=arm64 17:06:23 ---> Running in a68c9aa2f763 17:06:23 Removing intermediate container a68c9aa2f763 17:06:23 ---> 141adda58cce 17:06:23 Step 34/35 : LABEL git_sha=dd9072dad6c3f863b8ef1333924fa26247fc5350 17:06:24 ---> Running in dc595a1a1abf 17:06:24 Removing intermediate container dc595a1a1abf 17:06:24 ---> 1eb58034d27f 17:06:24 Step 35/35 : LABEL version=0.0.0 17:06:24 ---> Running in 2f42f1cc487c 17:06:24 Removing intermediate container 2f42f1cc487c 17:06:24 ---> 943f0153138f 17:06:24 [Warning] One or more build-args [ARCH] were not consumed 17:06:24 Successfully built 943f0153138f 17:06:24 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 17:06:24 provisioning config files... 17:06:24 copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config6851859140577095079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:06:25 ---> docker-login.sh 17:06:25 nexus3.edgexfoundry.org:10001 17:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:25 Configure a credential helper to remove this warning. See 17:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:25 17:06:25 Login Succeeded 17:06:25 nexus3.edgexfoundry.org:10002 17:06:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:25 Configure a credential helper to remove this warning. See 17:06:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:25 17:06:25 Login Succeeded 17:06:25 nexus3.edgexfoundry.org:10003 17:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:26 Configure a credential helper to remove this warning. See 17:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:26 17:06:26 Login Succeeded 17:06:26 nexus3.edgexfoundry.org:10004 17:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:26 Configure a credential helper to remove this warning. See 17:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:26 17:06:26 Login Succeeded 17:06:26 docker.io 17:06:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:06:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:06:26 Configure a credential helper to remove this warning. See 17:06:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:06:26 17:06:26 Login Succeeded 17:06:26 ---> docker-login.sh ends [Pipeline] } 17:06:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:26 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:06:27 [edgeXDocker.push] Tagging docker image device-usb-camera-arm64 with the following tags: 17:06:27 dd9072dad6c3f863b8ef1333924fa26247fc5350 17:06:27 latest 17:06:27 0.0.0 17:06:27 dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 17:06:27 levski 17:06:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:27 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:27 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350 17:06:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:06:27 15fe9001380c: Preparing 17:06:27 c58b6692487f: Preparing 17:06:27 f3eb11a5874b: Preparing 17:06:27 608d194cb50c: Preparing 17:06:27 acc83c6ca332: Preparing 17:06:27 d63db53a8f80: Preparing 17:06:27 258c3ce46438: Preparing 17:06:27 168da2bc72ce: Preparing 17:06:27 e9b368ceb910: Preparing 17:06:27 26b51e2113cf: Preparing 17:06:27 14a0060e8bcb: Preparing 17:06:27 f70ee36035b9: Preparing 17:06:27 e9b368ceb910: Waiting 17:06:27 14a0060e8bcb: Waiting 17:06:27 f70ee36035b9: Waiting 17:06:27 d63db53a8f80: Waiting 17:06:27 258c3ce46438: Waiting 17:06:27 168da2bc72ce: Waiting 17:06:27 26b51e2113cf: Waiting 17:06:27 acc83c6ca332: Pushed 17:06:27 f3eb11a5874b: Pushed 17:06:27 15fe9001380c: Pushed 17:06:27 c58b6692487f: Pushed 17:06:27 d63db53a8f80: Pushed 17:06:28 258c3ce46438: Pushed 17:06:28 e9b368ceb910: Pushed 17:06:28 168da2bc72ce: Pushed 17:06:28 f70ee36035b9: Layer already exists 17:06:33 608d194cb50c: Pushed 17:06:34 26b51e2113cf: Pushed 17:06:44 14a0060e8bcb: Pushed 17:06:44 dd9072dad6c3f863b8ef1333924fa26247fc5350: digest: sha256:8b1471a176295a72e7994f295c4c555ae939399fad9c1e9be641f6f63f1a9eed size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:44 + 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 17:06:44 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:06:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:06:44 15fe9001380c: Preparing 17:06:44 c58b6692487f: Preparing 17:06:44 f3eb11a5874b: Preparing 17:06:44 608d194cb50c: Preparing 17:06:44 acc83c6ca332: Preparing 17:06:44 d63db53a8f80: Preparing 17:06:44 258c3ce46438: Preparing 17:06:44 168da2bc72ce: Preparing 17:06:44 e9b368ceb910: Preparing 17:06:44 26b51e2113cf: Preparing 17:06:44 14a0060e8bcb: Preparing 17:06:44 f70ee36035b9: Preparing 17:06:44 d63db53a8f80: Waiting 17:06:44 258c3ce46438: Waiting 17:06:44 e9b368ceb910: Waiting 17:06:44 26b51e2113cf: Waiting 17:06:44 14a0060e8bcb: Waiting 17:06:44 f70ee36035b9: Waiting 17:06:44 168da2bc72ce: Waiting 17:06:44 608d194cb50c: Layer already exists 17:06:44 c58b6692487f: Layer already exists 17:06:44 acc83c6ca332: Layer already exists 17:06:44 15fe9001380c: Layer already exists 17:06:44 f3eb11a5874b: Layer already exists 17:06:44 258c3ce46438: Layer already exists 17:06:44 d63db53a8f80: Layer already exists 17:06:44 e9b368ceb910: Layer already exists 17:06:44 168da2bc72ce: Layer already exists 17:06:44 26b51e2113cf: Layer already exists 17:06:44 f70ee36035b9: Layer already exists 17:06:44 14a0060e8bcb: Layer already exists 17:06:45 latest: digest: sha256:8b1471a176295a72e7994f295c4c555ae939399fad9c1e9be641f6f63f1a9eed size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:45 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:45 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.0 17:06:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:06:45 15fe9001380c: Preparing 17:06:45 c58b6692487f: Preparing 17:06:45 f3eb11a5874b: Preparing 17:06:45 608d194cb50c: Preparing 17:06:45 acc83c6ca332: Preparing 17:06:45 d63db53a8f80: Preparing 17:06:45 258c3ce46438: Preparing 17:06:45 168da2bc72ce: Preparing 17:06:45 d63db53a8f80: Waiting 17:06:45 258c3ce46438: Waiting 17:06:45 e9b368ceb910: Preparing 17:06:45 26b51e2113cf: Preparing 17:06:45 14a0060e8bcb: Preparing 17:06:45 f70ee36035b9: Preparing 17:06:45 168da2bc72ce: Waiting 17:06:45 e9b368ceb910: Waiting 17:06:45 26b51e2113cf: Waiting 17:06:45 14a0060e8bcb: Waiting 17:06:45 f70ee36035b9: Waiting 17:06:45 15fe9001380c: Layer already exists 17:06:45 acc83c6ca332: Layer already exists 17:06:45 608d194cb50c: Layer already exists 17:06:45 f3eb11a5874b: Layer already exists 17:06:45 c58b6692487f: Layer already exists 17:06:45 258c3ce46438: Layer already exists 17:06:45 168da2bc72ce: Layer already exists 17:06:45 26b51e2113cf: Layer already exists 17:06:45 d63db53a8f80: Layer already exists 17:06:45 e9b368ceb910: Layer already exists 17:06:45 f70ee36035b9: Layer already exists 17:06:45 14a0060e8bcb: Layer already exists 17:06:46 0.0.0: digest: sha256:8b1471a176295a72e7994f295c4c555ae939399fad9c1e9be641f6f63f1a9eed size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:46 + docker tag device-usb-camera-arm64 nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:46 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 17:06:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:06:46 15fe9001380c: Preparing 17:06:46 c58b6692487f: Preparing 17:06:46 f3eb11a5874b: Preparing 17:06:46 608d194cb50c: Preparing 17:06:46 acc83c6ca332: Preparing 17:06:46 d63db53a8f80: Preparing 17:06:46 258c3ce46438: Preparing 17:06:46 168da2bc72ce: Preparing 17:06:46 e9b368ceb910: Preparing 17:06:46 26b51e2113cf: Preparing 17:06:46 14a0060e8bcb: Preparing 17:06:46 f70ee36035b9: Preparing 17:06:46 e9b368ceb910: Waiting 17:06:46 26b51e2113cf: Waiting 17:06:46 d63db53a8f80: Waiting 17:06:46 258c3ce46438: Waiting 17:06:46 168da2bc72ce: Waiting 17:06:46 14a0060e8bcb: Waiting 17:06:46 f70ee36035b9: Waiting 17:06:46 15fe9001380c: Layer already exists 17:06:46 acc83c6ca332: Layer already exists 17:06:46 608d194cb50c: Layer already exists 17:06:46 c58b6692487f: Layer already exists 17:06:46 f3eb11a5874b: Layer already exists 17:06:46 168da2bc72ce: Layer already exists 17:06:46 d63db53a8f80: Layer already exists 17:06:46 258c3ce46438: Layer already exists 17:06:46 e9b368ceb910: Layer already exists 17:06:46 26b51e2113cf: Layer already exists 17:06:46 14a0060e8bcb: Layer already exists 17:06:46 f70ee36035b9: Layer already exists 17:06:47 dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0: digest: sha256:8b1471a176295a72e7994f295c4c555ae939399fad9c1e9be641f6f63f1a9eed size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:47 + 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 17:06:47 + docker push nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:levski 17:06:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-usb-camera-arm64] 17:06:47 15fe9001380c: Preparing 17:06:47 c58b6692487f: Preparing 17:06:47 f3eb11a5874b: Preparing 17:06:47 608d194cb50c: Preparing 17:06:47 acc83c6ca332: Preparing 17:06:47 d63db53a8f80: Preparing 17:06:47 258c3ce46438: Preparing 17:06:47 168da2bc72ce: Preparing 17:06:47 e9b368ceb910: Preparing 17:06:47 26b51e2113cf: Preparing 17:06:47 14a0060e8bcb: Preparing 17:06:47 f70ee36035b9: Preparing 17:06:47 d63db53a8f80: Waiting 17:06:47 258c3ce46438: Waiting 17:06:47 e9b368ceb910: Waiting 17:06:47 26b51e2113cf: Waiting 17:06:47 14a0060e8bcb: Waiting 17:06:47 f70ee36035b9: Waiting 17:06:47 168da2bc72ce: Waiting 17:06:47 15fe9001380c: Layer already exists 17:06:47 608d194cb50c: Layer already exists 17:06:47 f3eb11a5874b: Layer already exists 17:06:47 acc83c6ca332: Layer already exists 17:06:47 c58b6692487f: Layer already exists 17:06:47 258c3ce46438: Layer already exists 17:06:47 d63db53a8f80: Layer already exists 17:06:47 168da2bc72ce: Layer already exists 17:06:47 26b51e2113cf: Layer already exists 17:06:47 e9b368ceb910: Layer already exists 17:06:47 14a0060e8bcb: Layer already exists 17:06:47 f70ee36035b9: Layer already exists 17:06:48 levski: digest: sha256:8b1471a176295a72e7994f295c4c555ae939399fad9c1e9be641f6f63f1a9eed size: 2826 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:06:48 ===================================================== [Pipeline] echo 17:06:48 taggedImages: 17:06:48 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350 17:06:48 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:latest 17:06:48 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:0.0.0 17:06:48 - nexus3.edgexfoundry.org:10004/device-usb-camera-arm64:dd9072dad6c3f863b8ef1333924fa26247fc5350-0.0.0 17:06:48 - 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 17:06:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:48 17:06:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:06:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:06:48 arm64: Pulling from edgex-lftools-log-publisher 17:06:48 8998bd30e6a1: Pulling fs layer 17:06:48 04944245beec: Pulling fs layer 17:06:48 699f458cf7ca: Pulling fs layer 17:06:48 765212b225bb: Pulling fs layer 17:06:48 f23df028b6ca: Pulling fs layer 17:06:48 765212b225bb: Waiting 17:06:48 d65c8cfc05b1: Pulling fs layer 17:06:48 2437ff75d9bd: Pulling fs layer 17:06:48 f23df028b6ca: Waiting 17:06:48 d65c8cfc05b1: Waiting 17:06:48 2437ff75d9bd: Waiting 17:06:49 04944245beec: Verifying Checksum 17:06:49 04944245beec: Download complete 17:06:49 765212b225bb: Verifying Checksum 17:06:49 765212b225bb: Download complete 17:06:49 f23df028b6ca: Verifying Checksum 17:06:49 f23df028b6ca: Download complete 17:06:49 d65c8cfc05b1: Verifying Checksum 17:06:49 d65c8cfc05b1: Download complete 17:06:49 699f458cf7ca: Verifying Checksum 17:06:49 699f458cf7ca: Download complete 17:06:49 8998bd30e6a1: Verifying Checksum 17:06:49 8998bd30e6a1: Download complete 17:06:52 2437ff75d9bd: Verifying Checksum 17:06:52 2437ff75d9bd: Download complete 17:06:53 8998bd30e6a1: Pull complete 17:06:54 04944245beec: Pull complete 17:06:55 699f458cf7ca: Pull complete 17:06:56 765212b225bb: Pull complete 17:06:56 f23df028b6ca: Pull complete 17:06:56 d65c8cfc05b1: Pull complete 17:07:11 2437ff75d9bd: Pull complete 17:07:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:07:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:07:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:12 prd-ubuntu20.04-docker-arm64-4c-16g-2175 does not seem to be running inside a container 17:07:12 $ 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/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@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 17:07:15 $ docker top 592c54749f1ad1739102d47ce95f2f3c1e63f7343d2ee50450722fb3720df07c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:07:15 ---> job-cost.sh 17:07:15 lf-activate-venv: SKIPPING 17:07:15 INFO: No Stack... 17:07:16 INFO: Retrieving Pricing Info for: v3-standard-4 17:07:17 INFO: Archiving Costs [Pipeline] sh 17:07:17 + cat /w/workspace/device-usb-camera/2/archives/cost.csv 17:07:17 + cut -d, -f6 [Pipeline] lock 17:07:17 Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] 17:07:17 Resource [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] did not exist. Created. 17:07:17 Lock acquired on [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:07:18 /w/workspace/device-usb-camera/2@tmp/durable-6f44cd51/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:07:18 + echo total: 0.10999999940395355 [Pipeline] stash 17:07:18 Warning: overwriting stash ‘stack-cost’ 17:07:18 Stashed 1 file(s) [Pipeline] } 17:07:18 Lock released on resource [jenkins-edgexfoundry-device-usb-camera-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:07:18 $ docker stop --time=1 592c54749f1ad1739102d47ce95f2f3c1e63f7343d2ee50450722fb3720df07c 17:07:20 $ docker rm -f --volumes 592c54749f1ad1739102d47ce95f2f3c1e63f7343d2ee50450722fb3720df07c [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 17:07:20 provisioning config files... 17:07:20 copy managed file [device-usb-camera-codecov-token] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config6020725337512619234tmp [Pipeline] { [Pipeline] sh 17:07:21 + set +x 17:07:21 + curl -s https://codecov.io/bash 17:07:21 + bash -s -- 17:07:21 17:07:21 _____ _ 17:07:21 / ____| | | 17:07:21 | | ___ __| | ___ ___ _____ __ 17:07:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:07:21 | |___| (_) | (_| | __/ (_| (_) \ V / 17:07:21 \_____\___/ \__,_|\___|\___\___/ \_/ 17:07:21 Bash-1.0.6 17:07:21 17:07:21 17:07:21 ==> git version 2.25.1 found 17:07:21 ==> 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 17:07:21 Release-Date: 2020-01-08 17:07:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:07:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:07:21 ==> Jenkins CI detected. 17:07:21 current dir:  /w/workspace/foundry_device-usb-camera_levski 17:07:21 project root: . 17:07:21 --> token set from env 17:07:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:07:21 ==> Running gcov in . (disable via -X gcov) 17:07:21 ==> Python coveragepy not found 17:07:21 ==> Searching for coverage reports in: 17:07:21 + . 17:07:21 -> Found 1 reports 17:07:21 ==> Detecting git/mercurial file structure 17:07:21 ==> Reading reports 17:07:21 + ./coverage.out bytes=30666 17:07:21 ==> Appending adjustments 17:07:21 https://docs.codecov.io/docs/fixing-reports 17:07:21 + Found adjustments 17:07:21 ==> Gzipping contents 17:07:21 8.0K /tmp/codecov.cRzIZg.gz 17:07:21 ==> Uploading reports 17:07:21 url: https://codecov.io 17:07:21 query: branch=levski&commit=dd9072dad6c3f863b8ef1333924fa26247fc5350&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:07:21 -> Pinging Codecov 17:07:21 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=dd9072dad6c3f863b8ef1333924fa26247fc5350&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-usb-camera%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-usb-camera&service=jenkins&flags=&pr=&job=&cmd_args= 17:07:21 -> Uploading to 17:07:21 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/73D8F5FF140700D3E01443B452E23636/dd9072dad6c3f863b8ef1333924fa26247fc5350/6072daf2-7841-4aac-beaa-28cccf4101b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T170721Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1db24a4273f7a04ceaa8cd67121da6312ef44536d05a3b8eedc21c0bb7b94591 17:07:21 % Total % Received % Xferd Average Speed Time Time Time Current 17:07:21 Dload Upload Total Spent Left Speed 17:07:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4342 0 0 100 4342 0 16201 --:--:-- --:--:-- --:--:-- 16201 17:07:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-usb-camera/commit/dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] } 17:07:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:07:22 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:07:22 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:22 17:07:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:07:22 df9b9388f04a: Pulling fs layer 17:07:22 52dc419b0ee2: Pulling fs layer 17:07:22 25bc292e5bac: Pulling fs layer 17:07:22 114826534d7a: Pulling fs layer 17:07:22 4657fd5d0bcf: Pulling fs layer 17:07:22 6ad1cebc031e: Pulling fs layer 17:07:22 8a3aa393b2d8: Pulling fs layer 17:07:22 4657fd5d0bcf: Waiting 17:07:22 6ad1cebc031e: Waiting 17:07:22 8a3aa393b2d8: Waiting 17:07:22 114826534d7a: Waiting 17:07:22 25bc292e5bac: Verifying Checksum 17:07:22 25bc292e5bac: Download complete 17:07:22 52dc419b0ee2: Download complete 17:07:22 4657fd5d0bcf: Verifying Checksum 17:07:22 4657fd5d0bcf: Download complete 17:07:22 df9b9388f04a: Download complete 17:07:22 df9b9388f04a: Pull complete 17:07:22 6ad1cebc031e: Verifying Checksum 17:07:22 6ad1cebc031e: Download complete 17:07:23 52dc419b0ee2: Pull complete 17:07:23 25bc292e5bac: Pull complete 17:07:23 114826534d7a: Download complete 17:07:24 8a3aa393b2d8: Verifying Checksum 17:07:28 114826534d7a: Pull complete 17:07:28 4657fd5d0bcf: Pull complete 17:07:28 6ad1cebc031e: Pull complete 17:07:30 8a3aa393b2d8: Pull complete 17:07:30 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:07:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:07:30 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:30 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 17:07:30 $ 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 17:07:33 $ docker top 892147b9f2b4a316457ed471ab9b8a1506c7ac1583e5bf1e32c667963726df6b -eo pid,comm [Pipeline] { [Pipeline] echo 17:07:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-usb-camera:levski' [Pipeline] sh 17:07:34 + set -o pipefail 17:07:34 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-usb-camera:levski' 17:07:46 17:07:46 Monitoring /w/workspace/foundry_device-usb-camera_levski (github.com/edgexfoundry/device-usb-camera)... 17:07:46 17:07:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6d161b6e-aadb-4bac-a9cd-5e25ffa3ca58/history/a33968bc-322b-4712-b2f1-a67631659876 17:07:46 17:07:46 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:07:46 17:07:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:07:46 17:07:46 17:07:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:07:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:07:46 More details here: https://snyk.co/ue1NS [Pipeline] } 17:07:46 $ docker stop --time=1 892147b9f2b4a316457ed471ab9b8a1506c7ac1583e5bf1e32c667963726df6b 17:07:49 $ docker rm -f --volumes 892147b9f2b4a316457ed471ab9b8a1506c7ac1583e5bf1e32c667963726df6b [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 17:07:50 + git log --format=format:%s -1 dd9072dad6c3f863b8ef1333924fa26247fc5350 [Pipeline] sh 17:07:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:07:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:07:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:50 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 17:07:50 $ 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 17:07:51 $ docker top e9b77a0f9a55226d2b0a96c0dac3da6822a9ca9eeb7308135642f2fc2a5af31a -eo pid,comm 17:07:51 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). 17:07:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:07:51 [ssh-agent] Looking for ssh-agent implementation... 17:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:07:51 $ docker exec e9b77a0f9a55226d2b0a96c0dac3da6822a9ca9eeb7308135642f2fc2a5af31a ssh-agent 17:07:51 SSH_AUTH_SOCK=/tmp/ssh-5kLwV7LIw7D3/agent.33 17:07:51 SSH_AGENT_PID=39 17:07:51 Running ssh-add (command line suppressed) 17:07:51 Identity added: /w/workspace/foundry_device-usb-camera_levski@tmp/private_key_7566514488877604752.key (/w/workspace/foundry_device-usb-camera_levski@tmp/private_key_7566514488877604752.key) 17:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:07:51 + git semver tag 17:07:52 2023-03-15 17:07:52,194 [run_tag] DEBUG tag force:False 17:07:52 2023-03-15 17:07:52,195 [check_head_tag] DEBUG check head tag 17:07:52 2023-03-15 17:07:52,197 [execute] INFO git cat-file --batch-check 17:07:52 2023-03-15 17:07:52,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=) 17:07:52 2023-03-15 17:07:52,203 [execute] INFO git cat-file --batch 17:07:52 2023-03-15 17:07:52,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=) 17:07:52 2023-03-15 17:07:52,234 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_levski/.semver/levski 17:07:52 2023-03-15 17:07:52,234 [execute] INFO git tag -a v0.0.0 -m v0.0.0 17:07:52 2023-03-15 17:07:52,234 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.0', '-m', 'v0.0.0'], cwd=/w/workspace/foundry_device-usb-camera_levski, universal_newlines=False, shell=None, istream=None) 17:07:52 2023-03-15 17:07:52,241 [main] ERROR Cmd('git') failed due to: exit code(128) 17:07:52 cmdline: git tag -a v0.0.0 -m v0.0.0 17:07:52 stderr: 'fatal: tag 'v0.0.0' already exists' 17:07:52 ERROR: Cmd('git') failed due to: exit code(128) 17:07:52 cmdline: git tag -a v0.0.0 -m v0.0.0 17:07:52 stderr: 'fatal: tag 'v0.0.0' already exists' [Pipeline] } 17:07:52 $ docker exec --env ******** --env ******** e9b77a0f9a55226d2b0a96c0dac3da6822a9ca9eeb7308135642f2fc2a5af31a ssh-agent -k 17:07:52 unset SSH_AUTH_SOCK; 17:07:52 unset SSH_AGENT_PID; 17:07:52 echo Agent pid 39 killed; 17:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } 17:07:52 $ docker stop --time=1 e9b77a0f9a55226d2b0a96c0dac3da6822a9ca9eeb7308135642f2fc2a5af31a 17:07:54 $ docker rm -f --volumes e9b77a0f9a55226d2b0a96c0dac3da6822a9ca9eeb7308135642f2fc2a5af31a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Bump Pre-Release Version" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:07:54 + [ -d /w/workspace/foundry_device-usb-camera_levski/archives ] 17:07:54 + ls -al /w/workspace/foundry_device-usb-camera_levski/archives 17:07:54 total 16 17:07:54 drwxr-xr-x 3 root root 4096 Mar 15 16:51 . 17:07:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:51 .. 17:07:54 drwxr-xr-x 2 root root 4096 Mar 15 16:51 cost 17:07:54 -rw-r--r-- 1 root root 89 Mar 15 16:51 cost.csv 17:07:54 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_levski/archives 17:07:54 + ls -al /w/workspace/foundry_device-usb-camera_levski/archives 17:07:54 total 16 17:07:54 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:51 . 17:07:54 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:51 .. 17:07:54 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:51 cost 17:07:54 -rw-r--r-- 1 jenkins jenkins 89 Mar 15 16:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:07:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:07:55 ---> package-listing.sh 17:07:55 ++ facter osfamily 17:07:55 ++ tr '[:upper:]' '[:lower:]' 17:07:56 + OS_FAMILY=debian 17:07:56 + workspace=/w/workspace/foundry_device-usb-camera_levski 17:07:56 + START_PACKAGES=/tmp/packages_start.txt 17:07:56 + END_PACKAGES=/tmp/packages_end.txt 17:07:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:07:56 + PACKAGES=/tmp/packages_start.txt 17:07:56 + '[' /w/workspace/foundry_device-usb-camera_levski ']' 17:07:56 + PACKAGES=/tmp/packages_end.txt 17:07:56 + case "${OS_FAMILY}" in 17:07:56 + dpkg -l 17:07:56 + grep '^ii' 17:07:56 + '[' -f /tmp/packages_start.txt ']' 17:07:56 + '[' -f /tmp/packages_end.txt ']' 17:07:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:07:56 + '[' /w/workspace/foundry_device-usb-camera_levski ']' 17:07:56 + mkdir -p /w/workspace/foundry_device-usb-camera_levski/archives/ 17:07:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_levski/archives/ [Pipeline] echo 17:07:56 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 17:07:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:07:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:07:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:07:56 prd-ubuntu20.04-docker-8c-8g-1977 does not seem to be running inside a container 17:07:57 $ 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 17:07:57 $ docker top 69a3845d37de44ceb2a3a3ea34592b18cae8c4814c9f33d47da04758ad3d9d15 -eo pid,comm [Pipeline] { [Pipeline] sh 17:07:57 + touch /tmp/pre-build-complete [Pipeline] sh 17:07:57 + mkdir -p /var/log/sysstat [Pipeline] sh 17:07:58 + ls /var/log/sa-host 17:07:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:07:58 provisioning config files... 17:07:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_levski@tmp/config6571278921166235677tmp [Pipeline] { [Pipeline] echo 17:07:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:07:58 ---> create-netrc.sh [Pipeline] } 17:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:07:58 ---> python-tools-install.sh [Pipeline] echo 17:07:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:07:59 ---> sudo-logs.sh 17:07:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:07:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:07:59 ---> job-cost.sh 17:07:59 lf-activate-venv: SKIPPING 17:07:59 DEBUG: total: 0.2199999988079071 17:07:59 INFO: Retrieving Stack Cost... 17:08:00 INFO: Retrieving Pricing Info for: v3-standard-8 17:08:00 INFO: Archiving Costs [Pipeline] echo 17:08:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:08:00 ---> logs-deploy.sh 17:08:00 lf-activate-venv: SKIPPING 17:08:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/levski/2 17:08:00 INFO: archiving workspace using pattern(s): 17:08:01 Archives upload complete. 17:08:02 INFO: archiving logs to Nexus