]>
rtime.felk.cvut.cz Git - linux-conf-perf.git/log
Karel Kočí [Wed, 19 Aug 2015 15:28:08 +0000 (17:28 +0200)]
Fix wrong folder and remove unused script
In boot script was old name usable before previous commit.
Also patch script removed This script is no longer required, because
path is applied in submodule.
Karel Kočí [Wed, 19 Aug 2015 15:24:26 +0000 (17:24 +0200)]
Rename ryuglab target folder cyclictest to boot
Boot configuration it this folder wasn't usable only just for
cyclictest, but for any test. So new name is more descriptive.
Karel Kočí [Wed, 19 Aug 2015 15:16:17 +0000 (17:16 +0200)]
Add linux for target ryuglab
Karel Kočí [Wed, 19 Aug 2015 12:58:36 +0000 (14:58 +0200)]
Added dirty repository check
Test run and initialization now shows warning about dirty repository
and loop can't be executed if linux or root repository is dirty.
Karel Kočí [Wed, 19 Aug 2015 10:06:04 +0000 (12:06 +0200)]
Fix wrong input format to database
add_measure in boot script was called with list of lines instead of
single string.
Karel Kočí [Wed, 19 Aug 2015 09:58:47 +0000 (11:58 +0200)]
Fix utils.callsubprocess stdin
Karel Kočí [Wed, 19 Aug 2015 09:50:27 +0000 (11:50 +0200)]
Fix boot.py parse call
Karel Kočí [Wed, 19 Aug 2015 09:31:42 +0000 (11:31 +0200)]
Add git ignore for links
While booting are created links to upper folders. These links should be
ignored from git.
Karel Kočí [Wed, 19 Aug 2015 09:27:22 +0000 (11:27 +0200)]
Print command and version to boot output
Karel Kočí [Wed, 19 Aug 2015 08:48:38 +0000 (10:48 +0200)]
Fix boot output parse script
Karel Kočí [Wed, 19 Aug 2015 08:34:07 +0000 (10:34 +0200)]
Add message about what configuration is measured
Karel Kočí [Wed, 19 Aug 2015 08:31:19 +0000 (10:31 +0200)]
Remove unused atribute for parse script call
Karel Kočí [Wed, 19 Aug 2015 08:28:45 +0000 (10:28 +0200)]
Fix type exception in kernel.config
As name was given tempfile object no name of generated temporally file.
Karel Kočí [Wed, 19 Aug 2015 08:20:47 +0000 (10:20 +0200)]
Remove configuration folder creation from initialization
This folder is no longer used and shouldn't be created.
Karel Kočí [Wed, 19 Aug 2015 08:14:53 +0000 (10:14 +0200)]
Store boot output to database
Because configuration is now stored in database only missing
informations to make database fully descriptive is boot output. This
makes output of boot command to be saved to database and not to file.
Also parse script should read input from stdin and not from file from
argument.
Karel Kočí [Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)]
Fix wrong exception excepted in configurations script
Karel Kočí [Tue, 18 Aug 2015 13:48:11 +0000 (15:48 +0200)]
Write stderr to log file together with stdout
Utils function callsubprocess now logs all program output including
stderr.
Convenient would be to print stderr even if output is disabled. But
this would probably required threads.
Karel Kočí [Tue, 18 Aug 2015 09:42:56 +0000 (11:42 +0200)]
Fix relative path to external buildroot packages
Karel Kočí [Tue, 18 Aug 2015 09:36:21 +0000 (11:36 +0200)]
ryuglab boot force links
Karel Kočí [Tue, 18 Aug 2015 09:18:54 +0000 (11:18 +0200)]
Change patch apply for ryuglab
Patch is now added directly as commit.
Karel Kočí [Tue, 18 Aug 2015 09:07:58 +0000 (11:07 +0200)]
Fix database get_configsort
Previous implementation was returning list of tuples. Now it is
returning list of strings.
Karel Kočí [Tue, 18 Aug 2015 08:55:11 +0000 (10:55 +0200)]
Fix database add_configsort
No attribute supplied when executed sql command.
Karel Kočí [Tue, 18 Aug 2015 08:41:40 +0000 (10:41 +0200)]
Generate configuration as ditionary in picosat function
Picosat output is parsed and automatically is resolved to dictionary
with configuration option name as key and boolean value. This makes all
configurations in script of same type. All are dictionaries this way.
Karel Kočí [Tue, 18 Aug 2015 08:26:26 +0000 (10:26 +0200)]
Add drop command for configopt table
This table was recently added, but was missing in databaseclean.sql.
Karel Kočí [Tue, 18 Aug 2015 08:24:39 +0000 (10:24 +0200)]
Set distclean to not dropping database
Database is separated from project. It should be cleaned automatically
because of saving data.
Karel Kočí [Tue, 18 Aug 2015 08:20:48 +0000 (10:20 +0200)]
Fix bug in wrong input type to CNF file generator
This caused that instead of multiple numbers was parsed only one number
including every single number character as separated number. Because of
this was generated wrong CNF file and sometimes if zero was in number
picosat failed with error.
Karel Kočí [Tue, 18 Aug 2015 08:19:01 +0000 (10:19 +0200)]
Fix kernel temporally file removal
Temporally file generated in kernel script during configuration
applying wasn't closed/remove after end of usage.
Karel Kočí [Mon, 17 Aug 2015 16:46:27 +0000 (18:46 +0200)]
Fix missing setting of kernel_env variable in ryglab target config
Karel Kočí [Mon, 17 Aug 2015 16:35:12 +0000 (18:35 +0200)]
Generated configuration is now fully stored to database
Managing configurations in files and in database could cause
inconsistence. Adding all generated configurations to database allow us
to clean project files without loosing data.
Karel Kočí [Mon, 17 Aug 2015 15:23:52 +0000 (17:23 +0200)]
Change location for rootfs of tests
Now every test should have its own folder with rootfs and parse script.
Karel Kočí [Mon, 17 Aug 2015 14:58:43 +0000 (16:58 +0200)]
Change execute folder for boot
Folder in which novaboot is called is now same as nbscript. Binaries
are linked to this folder from upper folders.
Karel Kočí [Mon, 17 Aug 2015 14:39:46 +0000 (16:39 +0200)]
Add etherwake to boot command
Karel Kočí [Mon, 17 Aug 2015 14:25:11 +0000 (16:25 +0200)]
Fix relative path to .target file
.target file should load always from root folder of project to ensure,
that all tools in project are targeting same target.
Karel Kočí [Mon, 17 Aug 2015 14:06:16 +0000 (16:06 +0200)]
Set configuration back do default and add overlap
Configuration is set back as it was before previous merge on branch
master.
Configurations for targets can be specified by overlapping
configuration options with external config.
Karel Kočí [Thu, 13 Aug 2015 15:21:31 +0000 (17:21 +0200)]
Set configuration back do default
Configuration is set back as it was before previous merge on branch
master.
Karel Kočí [Thu, 13 Aug 2015 13:53:06 +0000 (15:53 +0200)]
Merge branch 'measuring'
Removing measuring branch. Idea was to make measuring configuration
separate from master. But keeping changes in master and measuring
branch consistent was pain.
Karel Kočí [Thu, 13 Aug 2015 13:48:40 +0000 (15:48 +0200)]
Fix configuration generation missing file exception
If generating single throw NoSolution exception, randomly generated CNF
file is removed. But finally statement tries to remove it once again.
Solution is to not remove CNF file in exception handling, but only by
finally statement.
Karel Kočí [Thu, 13 Aug 2015 13:17:42 +0000 (15:17 +0200)]
Remove parse_kconfig from test run
Executing parse_kconfig in test run makes no sense and takes to much
time.
Karel Kočí [Thu, 13 Aug 2015 13:12:51 +0000 (15:12 +0200)]
Fix wrong path to patch in patch script
Karel Kočí [Thu, 13 Aug 2015 10:13:39 +0000 (12:13 +0200)]
Remove duplicate variable in conf.py
This duplication was created probably by merging.
Karel Kočí [Thu, 13 Aug 2015 09:59:48 +0000 (11:59 +0200)]
Merge branch 'master' into measuring
Pull generate_single fix.
Karel Kočí [Thu, 13 Aug 2015 09:57:40 +0000 (11:57 +0200)]
Fix single_generated_file writeback
measure_list containst ints. But method writelines can only be used with
strings.
Karel Kočí [Thu, 13 Aug 2015 09:54:31 +0000 (11:54 +0200)]
Merge branch 'master' into measuring
Conflicts:
conf.py
scripts/configurations.py
Karel Kočí [Thu, 13 Aug 2015 09:42:51 +0000 (11:42 +0200)]
Fix generate single configuration
This fixes and ensures that every call generates configuration. Unless
False is returned.
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop
Measure function requires img and config as atributes. But only config
was provided.
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop
Measure function requires img and config as atributes. But only config
was provided.
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations
Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations
Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 15:28:00 +0000 (17:28 +0200)]
Fix bug in configurations loading
Loading configuration load all configuration options as True.
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 13:48:19 +0000 (15:48 +0200)]
Fix if generated existing configuration
When some generator tries to register already generated solution, it
shouldn't be registered.
Karel Kočí [Wed, 12 Aug 2015 13:43:06 +0000 (15:43 +0200)]
Fix bug in configuration.py
Type inserted to method is str, but threated as int.
Karel Kočí [Tue, 11 Aug 2015 17:43:30 +0000 (19:43 +0200)]
Add measure tool desription to database
Karel Kočí [Thu, 13 Aug 2015 07:59:33 +0000 (09:59 +0200)]
Change hash calculating function
Previous method of calculating hash wasn't work (wouldn't give same
result for same configuration) if there would be added
new configuration options to hashconfigsort file.
Karel Kočí [Thu, 13 Aug 2015 07:59:33 +0000 (09:59 +0200)]
Change hash calculating function
Previous method of calculating hash wasn't work (wouldn't give same
result for same configuration) if there would be added
new configuration options to hashconfigsort file.
Karel Kočí [Thu, 13 Aug 2015 07:56:26 +0000 (09:56 +0200)]
Enable multithreating execution
Karel Kočí [Thu, 13 Aug 2015 06:37:29 +0000 (08:37 +0200)]
Remove init cli argument for kernel
This argument was already removed by previous commit, but probably with
some merge it come back.
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 15:49:56 +0000 (17:49 +0200)]
Change folder to kernel
As first will be measured only konfiguration options in kernel folder.
Karel Kočí [Wed, 12 Aug 2015 15:28:00 +0000 (17:28 +0200)]
Fix bug in configurations loading
Loading configuration load all configuration options as True.
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 14:25:13 +0000 (16:25 +0200)]
Remove debud output of generated configuration
Karel Kočí [Wed, 12 Aug 2015 14:24:09 +0000 (16:24 +0200)]
Hide output of all commands
Karel Kočí [Wed, 12 Aug 2015 13:48:19 +0000 (15:48 +0200)]
Fix if generated existing configuration
When some generator tries to register already generated solution, it
shouldn't be registered.
Karel Kočí [Wed, 12 Aug 2015 13:43:06 +0000 (15:43 +0200)]
Fix bug in configuration.py
Type inserted to method is str, but threated as int.
Karel Kočí [Wed, 12 Aug 2015 08:46:27 +0000 (10:46 +0200)]
Single configuration generation ensured to generate only single
configuration per execution
Karel Kočí [Wed, 12 Aug 2015 08:47:27 +0000 (10:47 +0200)]
Change default database configuration
Database configuration was set as it was used during development and
testing. Changed to some of default not usable values.
Karel Kočí [Wed, 12 Aug 2015 08:46:27 +0000 (10:46 +0200)]
Single configuration generation ensured to generate only single
configuration per execution
Karel Kočí [Tue, 11 Aug 2015 17:43:30 +0000 (19:43 +0200)]
Add measure tool desription to database
Karel Kočí [Tue, 11 Aug 2015 17:34:22 +0000 (19:34 +0200)]
Change master version to v0.92 of rt-tests
Karel Kočí [Tue, 11 Aug 2015 17:19:30 +0000 (19:19 +0200)]
Add parse_script
Parsing maximal value from first thread as result.
Karel Kočí [Tue, 11 Aug 2015 16:56:31 +0000 (18:56 +0200)]
Fix boot and build scripts
Remove init atribut from boot_script. It is not usable when system using
/init as default.
Build script is moved for ryuglab target. Root build script is now
pointing to right location.
Karel Kočí [Tue, 11 Aug 2015 16:50:30 +0000 (18:50 +0200)]
Set cyclictest exectuion
Also used external package to buildroot for rt-tests to use latest
master version.
Karel Kočí [Sat, 8 Aug 2015 08:44:54 +0000 (10:44 +0200)]
Remove script for generating configuration
Also folder measure_scripts renamed to ryuglab_scripts to signalize for
what target are those scripts.
Karel Kočí [Sat, 8 Aug 2015 08:19:21 +0000 (10:19 +0200)]
Add default config for ryuglab target
Karel Kočí [Sat, 8 Aug 2015 07:51:49 +0000 (09:51 +0200)]
Move target specification from boot_script back to .novaboot file
Karel Kočí [Sat, 8 Aug 2015 07:37:37 +0000 (09:37 +0200)]
Fix .gitignore in folder root/cyclictest/
Git was ignoring files in overlay folder
Karel Kočí [Thu, 6 Aug 2015 14:28:05 +0000 (16:28 +0200)]
Fix boot problems
Now cyclictest should be bootable.
Karel Kočí [Mon, 3 Aug 2015 08:42:25 +0000 (10:42 +0200)]
Add default novaboot target for measuring
Karel Kočí [Thu, 30 Jul 2015 07:53:48 +0000 (09:53 +0200)]
Add default_config and cyclictest novaboot
Karel Kočí [Tue, 28 Jul 2015 21:35:07 +0000 (23:35 +0200)]
Add inittab and script
Karel Kočí [Tue, 28 Jul 2015 21:04:56 +0000 (23:04 +0200)]
Add boot_command
Karel Kočí [Tue, 28 Jul 2015 21:01:38 +0000 (23:01 +0200)]
Fix boot_command
Added novaboot call directly. nbscript is not executable.
Karel Kočí [Tue, 28 Jul 2015 20:59:24 +0000 (22:59 +0200)]
Fix linux image name
Karel Kočí [Tue, 28 Jul 2015 20:55:46 +0000 (22:55 +0200)]
Fix path bug
Karel Kočí [Tue, 28 Jul 2015 20:49:57 +0000 (22:49 +0200)]
Add build_script
Karel Kočí [Tue, 28 Jul 2015 20:42:45 +0000 (22:42 +0200)]
Add external scripts and set boot configuration
Karel Kočí [Tue, 28 Jul 2015 09:21:46 +0000 (11:21 +0200)]
Change measuring architecture
Karel Kočí [Tue, 28 Jul 2015 08:57:49 +0000 (10:57 +0200)]
Set conf.py and nbscript for measurement
Karel Kočí [Thu, 6 Aug 2015 11:03:28 +0000 (13:03 +0200)]
Fix link error
Creation of link to linux image wasn't done right.
Outcome was, wrong path in link.
Karel Kočí [Tue, 28 Jul 2015 20:20:10 +0000 (22:20 +0200)]
Ignore any exception raised while parsing output of boot output
Any exception raised from user script, that should parse boot command output, should be ignored.
If fails, no value is written to database.
Karel Kočí [Tue, 28 Jul 2015 19:56:56 +0000 (21:56 +0200)]
Add generator identifier to configuration in database
This identifier is for recognition what generator generated specified configuration as first.
Karel Kočí [Tue, 28 Jul 2015 09:25:41 +0000 (11:25 +0200)]
Fix shell incompatibility script construct
Karel Kočí [Tue, 28 Jul 2015 09:12:41 +0000 (11:12 +0200)]
Change password authentication method to database
.pgpass file has to be allowed in configuration. Using environment variable is more platform independent.
Karel Kočí [Tue, 28 Jul 2015 08:42:19 +0000 (10:42 +0200)]
Scripts changed to use database.
Also initial implementation of multithread execution.
A lot of functionality changed.
Phases removed.
Output parsing is now part of measure (boot) process.
Utils cleared.
Add dot_measure file for inverted dot_config.
Configuration generating is now prepared for multiple generating types. Fist implemented is generating configurations with single selected configuration.
Test is modified to be compatible with new changes.
Karel Kočí [Tue, 28 Jul 2015 08:31:56 +0000 (10:31 +0200)]
Change root Makefile
Add check for recursive makefile calls.
Also add removing of dot_config to clean_measure target.
run and initialize now requires all target. This allow dependency on all programs not only selected. This is done for simplification.
Karel Kočí [Tue, 28 Jul 2015 08:26:51 +0000 (10:26 +0200)]
Add database table linuxgit and fix prepare sql command