All of lore.kernel.org
 help / color / mirror / Atom feed
* Autobuilder data collection for intermittent bugs
@ 2021-03-25 22:11 Sakib Sajal
  2021-03-25 22:23 ` Richard Purdie
  0 siblings, 1 reply; 8+ messages in thread
From: Sakib Sajal @ 2021-03-25 22:11 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Randy MacLeod, Trevor Gamblin, Steve Sakoman, OE-core

Hi Richard,

I have been trying, with help from Randy, Trevor and Steve, to run some 
experiments on an internal autobuilder instance to collect host data 
during builds for signs of io latency.

Initially i modified yocto-autobuilder-helper/config.json and added the 
following 3 lines to existing templates (and created a commit) that were 
being used so that the builds would start collecting the data.


+                "BB_HEARTBEAT_EVENT = '5'",
+                "BB_LOG_HOST_STAT_ON_INTERVAL = '1'",
+                "BB_LOG_HOST_STAT_CMDS = 'pwd; ls'"

I also created a template in yocto-autobuilder-helper/config.json

+        "data-collect" : {
+            "BUILDINFO" : true,
+            "BBTARGETS" : "core-image-minimal",
+            "extravars" : [
+                "BB_HEARTBEAT_EVENT = '5'",
+                "BB_LOG_HOST_STAT_ON_INTERVAL = '1'",
+                "BB_LOG_HOST_STAT_CMDS = 'pwd; ls'"
+            ]
+        },

and modified a builder to use the template:

         "beaglebone-alt" : {
-            "MACHINE" : "beaglebone-yocto",
-            "TEMPLATE" : "altcfg-hw"
+            "MACHINE" : "qemux86-64",
+            "TEMPLATE" : "data-collect"
          },

Restarted both the controller and the worker, and started the 
beaglebone-alt build. Once the build started, i checked the conf file in 
the build directory but those lines were not appended to the local.conf 
file and hence no log files.

In summary, I have been trying to get the 3 lines from the "extravars" 
above to appear in one of the local.conf files. However none of the 
builds seems to have been altered.

I am wondering if the changes that I've made are even being picked up by 
the controller. Am I missing something?

Is there an easier way to update the conf files?

Initially I'd like collect data on a single node and scale it to all the 
nodes. Any ideas/suggestions are welcome!


Sincerely,

Sakib Sajal


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-05 14:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 22:11 Autobuilder data collection for intermittent bugs Sakib Sajal
2021-03-25 22:23 ` Richard Purdie
2021-03-26  0:00   ` Randy MacLeod
2021-03-26 17:50     ` Richard Purdie
2021-03-31 21:45       ` Sakib Sajal
2021-03-31 22:01         ` Richard Purdie
2021-04-04 19:56           ` [OE-core] " Randy MacLeod
2021-04-05 14:49             ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.