[EXT] [testing-wg] about git version issue in testresult xml file


Hake Huang
 

 

update PR created.

https://github.com/zephyrproject-rtos/zephyr/pull/31140 . @Anas Nashif please review. Thanks in advance.

 

 

Regards,

Hake

 

From: Hake Huang
Sent: 2021
17 16:10
To: testing-wg@...
Subject: RE: [EXT] [testing-wg] about git version issue in testresult xml file

 

I find this is because

 

b9c953c12636a8d8f3d22b10e23218a50a695030

 

twister: add 12 hexadecimal digits to version

 

With the earlier version of Git, git describe command will

use the default 7 hexadecimal digits as the abbreviated

object name. But currently the Linux kernel project needs

11 to 12 hexdigits to stay unique.So it's necessary to add

--abbrev=12 to ensure twister always generate the same tags.

 

In https://testing.zephyrproject.org/daily_tests/versions.json,

all tags have 10 hexadecimal digits.

 

Signed-off-by: Jingru Wang <jingru@...>

 

Regards,

hake

 

From: testing-wg@... <testing-wg@...> On Behalf Of Hake Huang via lists.zephyrproject.org
Sent: 2021
17 15:46
To: testing-wg@...
Subject: [EXT] [testing-wg] about git version issue in testresult xml file

 

Caution: EXT Email

Hi All,

 

Does anyone meet this issue like https://github.com/zephyrproject-rtos/test_results/pull/179?

 

I find the problem is the version in xml file is zephyr-v2.4.0-2748-gfbb0327d3e29, but the json file is zephyr-v2.4.0-2748-gfbb0327d3e.

 

Regards,

Hake


Hake Huang
 

I find this is because

 

b9c953c12636a8d8f3d22b10e23218a50a695030

 

twister: add 12 hexadecimal digits to version

 

With the earlier version of Git, git describe command will

use the default 7 hexadecimal digits as the abbreviated

object name. But currently the Linux kernel project needs

11 to 12 hexdigits to stay unique.So it's necessary to add

--abbrev=12 to ensure twister always generate the same tags.

 

In https://testing.zephyrproject.org/daily_tests/versions.json,

all tags have 10 hexadecimal digits.

 

Signed-off-by: Jingru Wang <jingru@...>

 

Regards,

hake

 

From: testing-wg@... <testing-wg@...> On Behalf Of Hake Huang via lists.zephyrproject.org
Sent: 2021
17 15:46
To: testing-wg@...
Subject: [EXT] [testing-wg] about git version issue in testresult xml file

 

Caution: EXT Email

Hi All,

 

Does anyone meet this issue like https://github.com/zephyrproject-rtos/test_results/pull/179?

 

I find the problem is the version in xml file is zephyr-v2.4.0-2748-gfbb0327d3e29, but the json file is zephyr-v2.4.0-2748-gfbb0327d3e.

 

Regards,

Hake