[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #7084(accepted tools)

Opened 3 years ago

Last modified 19 months ago

Testing: timeouts for builds?

Reported by: ribnitz Owned by: srl
Component: perf Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

the different build phases should have timeouts, to prevent a deadlock/contention from clogging the queue.

An alternative would be (if possible to update script output live, so that such a condition can b detected more easily)

Attachments

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by srl

We're using bitten, http://bitten.edgewall.org - I didn't write it.

I can see the output but there isn't a good way to have it reflected on the webpage.

Probably a better option would be in the unit tests, to have a resettable timer thread that each subtest re-starts. If a subtest goes over time, exit with failure. Obviously, disable this during debugging.

comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 3 years ago by srl

Replying to srl:

We're using bitten, http://bitten.edgewall.org - I didn't write it.

I can see the output but there isn't a good way to have it reflected on the webpage.

Probably a better option would be in the unit tests, to have a resettable timer thread that each subtest re-starts. If a subtest goes over time, exit with failure. Obviously, disable this during debugging.

There is such an option, see http://bitten.edgewall.org/ticket/380 / http://bitten.edgewall.org/changeset/830

so we can set "timeout=3600" on each individual sh:exec to say, kill it after an hr

Not sure if we can do a timeout on an 'ant check'. Will see about that.

comment:3 in reply to: ↑ 2 ; follow-up: ↓ 5 Changed 3 years ago by srl

Replying to srl:

Not sure if we can do a timeout on an 'ant check'. Will see about that.

java:ant which runs the ant check cannot have a timeout. I filed a ticket on this: http://bitten.edgewall.org/ticket/831

comment:4 Changed 3 years ago by srl

Actually the problem here is really that the ICU test framework keeps going on OOM. IcuBug:10785

comment:5 in reply to: ↑ 3 Changed 3 years ago by ribnitz

Replying to srl:

Replying to srl:

Not sure if we can do a timeout on an 'ant check'. Will see about that.

java:ant which runs the ant check cannot have a timeout. I filed a ticket on this: http://bitten.edgewall.org/ticket/831


There is the ant task "parallel" which allows to run tasks in parallel; it also allows to specify a timeout, see

https://ant.apache.org/manual/Tasks/parallel.html

and

http://stackoverflow.com/questions/2463385/how-can-i-apply-a-timeout-to-an-ant-task

comment:6 Changed 3 years ago by emmons

  • Owner changed from anybody to srl
  • Status changed from new to assigned
  • Type changed from unknown to enhancement
  • Component changed from unknown to tools
  • Milestone changed from UNSCH to 26rc

comment:7 Changed 3 years ago by srl

  • Milestone changed from 26rc to 27dsub

roll

comment:8 Changed 3 years ago by markus

  • Phase set to dsub
  • Milestone changed from 27dsub to 27

comment:9 Changed 2 years ago by srl

  • Milestone changed from 27 to 28

roll

comment:10 Changed 2 years ago by markus

  • Type changed from enhancement to tools
  • Component changed from tools to unknown

comment:11 Changed 2 years ago by srl

  • Status changed from assigned to accepted

comment:12 Changed 20 months ago by emmons

  • Component changed from unknown to perf

comment:13 Changed 19 months ago by emmons

  • Milestone changed from 28 to 28roll

Moving all outstanding 28 tickets to 28roll. We will discuss disposition of these at the next CLDR TC.

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.