]> rtime.felk.cvut.cz Git - linux-conf-perf.git/log
linux-conf-perf.git
8 years agoRename ryuglab target folder cyclictest to boot
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.

8 years agoAdd linux for target ryuglab
Karel Kočí [Wed, 19 Aug 2015 15:16:17 +0000 (17:16 +0200)]
Add linux for target ryuglab

8 years agoAdded dirty repository check
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.

8 years agoFix wrong input format to database
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.

8 years agoFix utils.callsubprocess stdin
Karel Kočí [Wed, 19 Aug 2015 09:58:47 +0000 (11:58 +0200)]
Fix utils.callsubprocess stdin

8 years agoFix boot.py parse call
Karel Kočí [Wed, 19 Aug 2015 09:50:27 +0000 (11:50 +0200)]
Fix boot.py parse call

8 years agoAdd git ignore for links
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.

8 years agoPrint command and version to boot output
Karel Kočí [Wed, 19 Aug 2015 09:27:22 +0000 (11:27 +0200)]
Print command and version to boot output

8 years agoFix boot output parse script
Karel Kočí [Wed, 19 Aug 2015 08:48:38 +0000 (10:48 +0200)]
Fix boot output parse script

8 years agoAdd message about what configuration is measured
Karel Kočí [Wed, 19 Aug 2015 08:34:07 +0000 (10:34 +0200)]
Add message about what configuration is measured

8 years agoRemove unused atribute for parse script call
Karel Kočí [Wed, 19 Aug 2015 08:31:19 +0000 (10:31 +0200)]
Remove unused atribute for parse script call

8 years agoFix type exception in kernel.config
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.

8 years agoRemove configuration folder creation from initialization
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.

8 years agoStore boot output to database
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.

8 years agoFix wrong exception excepted in configurations script
Karel Kočí [Tue, 18 Aug 2015 13:52:28 +0000 (15:52 +0200)]
Fix wrong exception excepted in configurations script

8 years agoWrite stderr to log file together with stdout
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.

8 years agoFix relative path to external buildroot packages
Karel Kočí [Tue, 18 Aug 2015 09:42:56 +0000 (11:42 +0200)]
Fix relative path to external buildroot packages

8 years agoryuglab boot force links
Karel Kočí [Tue, 18 Aug 2015 09:36:21 +0000 (11:36 +0200)]
ryuglab boot force links

8 years agoChange patch apply for ryuglab
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.

8 years agoFix database get_configsort
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.

8 years agoFix database add_configsort
Karel Kočí [Tue, 18 Aug 2015 08:55:11 +0000 (10:55 +0200)]
Fix database add_configsort

No attribute supplied when executed sql command.

8 years agoGenerate configuration as ditionary in picosat function
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.

8 years agoAdd drop command for configopt table
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.

8 years agoSet distclean to not dropping database
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.

8 years agoFix bug in wrong input type to CNF file generator
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.

8 years agoFix kernel temporally file removal
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.

8 years agoFix missing setting of kernel_env variable in ryglab target config
Karel Kočí [Mon, 17 Aug 2015 16:46:27 +0000 (18:46 +0200)]
Fix missing setting of kernel_env variable in ryglab target config

8 years agoGenerated configuration is now fully stored to database
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.

8 years agoChange location for rootfs of tests
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.

8 years agoChange execute folder for boot
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.

8 years agoAdd etherwake to boot command
Karel Kočí [Mon, 17 Aug 2015 14:39:46 +0000 (16:39 +0200)]
Add etherwake to boot command

8 years agoFix relative path to .target file
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.

8 years agoSet configuration back do default and add overlap
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.

8 years agoSet configuration back do default
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.

8 years agoMerge branch 'measuring'
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.

8 years agoFix configuration generation missing file exception
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.

8 years agoRemove parse_kconfig from test run
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.

8 years agoFix wrong path to patch in patch script
Karel Kočí [Thu, 13 Aug 2015 13:12:51 +0000 (15:12 +0200)]
Fix wrong path to patch in patch script

8 years agoRemove duplicate variable in conf.py measuring
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.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:59:48 +0000 (11:59 +0200)]
Merge branch 'master' into measuring

Pull generate_single fix.

8 years agoFix single_generated_file writeback
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.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:54:31 +0000 (11:54 +0200)]
Merge branch 'master' into measuring

 Conflicts:
conf.py
scripts/configurations.py

8 years agoFix generate single configuration
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.

8 years agoFix thread cooperation in loop
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.

8 years agoFix thread cooperation in loop
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.

8 years agoImplement random generation of configurations
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.

8 years agoImplement random generation of configurations
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.

8 years agoCatch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread

8 years agoFix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database

8 years agoFix bug in configurations loading
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.

8 years agoFix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file

8 years agoFix if generated existing configuration
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.

8 years agoFix bug in configuration.py
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.

8 years agoAdd measure tool desription to database
Karel Kočí [Tue, 11 Aug 2015 17:43:30 +0000 (19:43 +0200)]
Add measure tool desription to database

8 years agoChange hash calculating function
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.

8 years agoChange hash calculating function
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.

8 years agoEnable multithreating execution
Karel Kočí [Thu, 13 Aug 2015 07:56:26 +0000 (09:56 +0200)]
Enable multithreating execution

8 years agoRemove init cli argument for kernel
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.

8 years agoCatch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread

8 years agoFix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database

8 years agoChange folder to kernel
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.

8 years agoFix bug in configurations loading
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.

8 years agoFix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file

8 years agoRemove debud output of generated configuration
Karel Kočí [Wed, 12 Aug 2015 14:25:13 +0000 (16:25 +0200)]
Remove debud output of generated configuration

8 years agoHide output of all commands
Karel Kočí [Wed, 12 Aug 2015 14:24:09 +0000 (16:24 +0200)]
Hide output of all commands

8 years agoFix if generated existing configuration
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.

8 years agoFix bug in configuration.py
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.

8 years agoSingle configuration generation ensured to generate only single
Karel Kočí [Wed, 12 Aug 2015 08:46:27 +0000 (10:46 +0200)]
Single configuration generation ensured to generate only single
configuration per execution

8 years agoChange default database configuration
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.

8 years agoSingle configuration generation ensured to generate only single
Karel Kočí [Wed, 12 Aug 2015 08:46:27 +0000 (10:46 +0200)]
Single configuration generation ensured to generate only single
configuration per execution

8 years agoAdd measure tool desription to database
Karel Kočí [Tue, 11 Aug 2015 17:43:30 +0000 (19:43 +0200)]
Add measure tool desription to database

8 years agoChange master version to v0.92 of rt-tests
Karel Kočí [Tue, 11 Aug 2015 17:34:22 +0000 (19:34 +0200)]
Change master version to v0.92 of rt-tests

8 years agoAdd parse_script
Karel Kočí [Tue, 11 Aug 2015 17:19:30 +0000 (19:19 +0200)]
Add parse_script

Parsing maximal value from first thread as result.

8 years agoFix boot and build scripts
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.

8 years agoSet cyclictest exectuion
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.

8 years agoRemove script for generating configuration
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.

8 years agoAdd default config for ryuglab target
Karel Kočí [Sat, 8 Aug 2015 08:19:21 +0000 (10:19 +0200)]
Add default config for ryuglab target

8 years agoMove target specification from boot_script back to .novaboot file
Karel Kočí [Sat, 8 Aug 2015 07:51:49 +0000 (09:51 +0200)]
Move target specification from boot_script back to .novaboot file

8 years agoFix .gitignore in folder root/cyclictest/
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

8 years agoFix boot problems
Karel Kočí [Thu, 6 Aug 2015 14:28:05 +0000 (16:28 +0200)]
Fix boot problems

Now cyclictest should be bootable.

8 years agoAdd default novaboot target for measuring
Karel Kočí [Mon, 3 Aug 2015 08:42:25 +0000 (10:42 +0200)]
Add default novaboot target for measuring

8 years agoAdd default_config and cyclictest novaboot
Karel Kočí [Thu, 30 Jul 2015 07:53:48 +0000 (09:53 +0200)]
Add default_config and cyclictest novaboot

8 years agoAdd inittab and script
Karel Kočí [Tue, 28 Jul 2015 21:35:07 +0000 (23:35 +0200)]
Add inittab and script

8 years agoAdd boot_command
Karel Kočí [Tue, 28 Jul 2015 21:04:56 +0000 (23:04 +0200)]
Add boot_command

8 years agoFix 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.

8 years agoFix linux image name
Karel Kočí [Tue, 28 Jul 2015 20:59:24 +0000 (22:59 +0200)]
Fix linux image name

8 years agoFix path bug
Karel Kočí [Tue, 28 Jul 2015 20:55:46 +0000 (22:55 +0200)]
Fix path bug

8 years agoAdd build_script
Karel Kočí [Tue, 28 Jul 2015 20:49:57 +0000 (22:49 +0200)]
Add build_script

8 years agoAdd external scripts and set boot configuration
Karel Kočí [Tue, 28 Jul 2015 20:42:45 +0000 (22:42 +0200)]
Add external scripts and set boot configuration

8 years agoChange measuring architecture
Karel Kočí [Tue, 28 Jul 2015 09:21:46 +0000 (11:21 +0200)]
Change measuring architecture

8 years agoSet conf.py and nbscript for measurement
Karel Kočí [Tue, 28 Jul 2015 08:57:49 +0000 (10:57 +0200)]
Set conf.py and nbscript for measurement

8 years agoFix link error
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.

8 years agoIgnore any exception raised while parsing output of boot output
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.

8 years agoAdd generator identifier to configuration in 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.

8 years agoFix shell incompatibility script construct
Karel Kočí [Tue, 28 Jul 2015 09:25:41 +0000 (11:25 +0200)]
Fix shell incompatibility script construct

8 years agoChange password authentication method to database
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.

8 years agoScripts changed to use database.
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.

8 years agoChange root Makefile
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.

8 years agoAdd database table linuxgit and fix prepare sql command
Karel Kočí [Tue, 28 Jul 2015 08:26:51 +0000 (10:26 +0200)]
Add database table linuxgit and fix prepare sql command

8 years agoAllconfig add inv option
Karel Kočí [Tue, 28 Jul 2015 08:23:29 +0000 (10:23 +0200)]
Allconfig add inv option

Added inv option for generating inverted configurations.
Inverted configuration contains configuration options that are not in original configuration file.