Skip to contentSkip to conversation

build on CVE is failing

DISCUSSION Vignesh Rajendran (RBEI/ECF3) 2 participants 3 messages Jun 25, 2019 – Jun 26, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I was trying to check the CVE feature on Yocto.

I couldn't succeed the build with CVE.
https://pastebin.com/m7hNcNcm

There seems like proxy environment doesn't recognized inside do_populate_cve_db.

ERROR: cve-update-db-1.0-r0 do_populate_cve_db: HTTPSConnectionPool(host='nvd.nist.gov', port=443):
Max retries exceeded with url: /feeds/json/cve/1.0/nvdcve-1.0-2002.meta (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f787f1a8908>: Failed to establish a new connection: [Errno -2] Name or service not known',))

I am using HEAD of poky master branch.

Best regards,

Rajendran Vignesh
RBEI/ECF3

Tel. +91 422 676-5103 | Threema Work<threemawork://add/?id=+914226765103>: +914226765103

#1 lore raw

Yes, you're right, this is a bug in the new functionality.

The usual variables are in the data store, so you can get them with e.g. d.getVar("http_proxy"), as you can clearly replicate the failure would you be able to attempt a patch?

Ross

Quoted 41 lines · On Tue, 25 Jun 2019 at 11:14, Vignesh Rajendran (RBEI/ECF3)…

Hi,

I was trying to check the CVE feature on Yocto.

I couldn’t succeed the build with CVE.

https://pastebin.com/m7hNcNcm

There seems like proxy environment doesn’t recognized inside do_populate_cve_db.

ERROR: cve-update-db-1.0-r0 do_populate_cve_db: HTTPSConnectionPool(host='nvd.nist.gov', port=443):

Max retries exceeded with url: /feeds/json/cve/1.0/nvdcve-1.0-2002.meta (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f787f1a8908>: Failed to establish a new connection: [Errno -2] Name or service not known',))

I am using HEAD of poky master branch.

Best regards,

Rajendran Vignesh
RBEI/ECF3

Tel. +91 422 676-5103 | Threema Work: +914226765103

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw

Hi Ross,

Sure, I will give a try.
Thank You.

Best regards,

Rajendran Vignesh
RBEI/ECF3

Tel. +91 422 676-5103 | Threema Work: +914226765103

-----Original Message-----
From: Burton, Ross <[email protected]>
Sent: Tuesday, June 25, 2019 8:18 PM
To: Vignesh Rajendran (RBEI/ECF3) <[email protected]>
Cc: [email protected]; Ramadevi Sennakesavan (RBEI/ECF3) <[email protected]>
Subject: Re: [yocto] build on CVE is failing

Yes, you're right, this is a bug in the new functionality.

The usual variables are in the data store, so you can get them with e.g. d.getVar("http_proxy"), as you can clearly replicate the failure would you be able to attempt a patch?

Ross

Quoted 45 lines · On Tue, 25 Jun 2019 at 11:14, Vignesh Rajendran (RBEI/ECF3)…

Hi,

I was trying to check the CVE feature on Yocto.

I couldn’t succeed the build with CVE.

https://pastebin.com/m7hNcNcm

There seems like proxy environment doesn’t recognized inside do_populate_cve_db.

ERROR: cve-update-db-1.0-r0 do_populate_cve_db: HTTPSConnectionPool(host='nvd.nist.gov', port=443):

Max retries exceeded with url:
/feeds/json/cve/1.0/nvdcve-1.0-2002.meta (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f787f1a8908>: Failed to establish a new connection: [Errno -2] Name or service not known',))

I am using HEAD of poky master branch.

Best regards,

Rajendran Vignesh
RBEI/ECF3

Tel. +91 422 676-5103 | Threema Work: +914226765103

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto