-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[micrOS] Release doc update for version: 2.6.0-0
- Loading branch information
Showing
3 changed files
with
146 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
144 changes: 144 additions & 0 deletions
144
micrOS/release_info/micrOS_ReleaseInfo/release_2.6.0-0_note_esp32.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
# Release validation | ||
### VERSION: 2.6.0-0 | ||
|
||
| version | memory usage | board type | config | | ||
|:-------:|:---------------------:| :---------: | :-----------: | | ||
| 2.6.0-0 | **48.3%** 72 656 byte | esp32 | `default` | | ||
|
||
## Deployment | ||
|
||
Installed with micrOS DevToolKit GUI Dashboard | ||
|
||
# Validation & Measurements | ||
|
||
## [1] micrOS bootup with default config (STA mode) | ||
|
||
``` | ||
[loader][if_mode:True] .if_mode file not exists -> micros interface | ||
[loader][main mode] Start micrOS (default) | ||
[CONF] SKIP obsolete keys check (no cleanup.pds) | ||
[CONF] User config injection done | ||
[CONF] Save conf successful | ||
[PIN MAP] esp32 | ||
[io] Init pin: builtin:2 | ||
[IRQ] Interrupts disabled, skip alloc_emergency_exception_buf configuration. | ||
~~~~~ [PROFILING INFO] - [memUsage] MAIN LOAD ~~~~~ | ||
stack: 1536 out of 15360 | ||
GC: total: 64000, used: 61968, free: 2032, max new split: 110592 | ||
No. of 1-blocks: 749, 2-blocks: 196, max blk sz: 142, max free sz: 23 | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
[TASK MANAGER] <<constructor>> | ||
[BOOT] EXECUTION ... | ||
[BOO4B==-Mu?Set up CPU high Hz - boostmd: True | ||
[NW: STA] SET WIFI STA NW elektroncsakpozitivan_2G | ||
| - [NW: STA] ESSID WAS FOUND: elektroncsakpozitivan_2G | ||
| [NW: STA] CONNECT TO NETWORK elektroncsakpozitivan_2G | ||
| [NW: STA] Waiting for connection... 60 sec | ||
| [NW: STA] Waiting for connection... 59 sec | ||
| [NW: STA] Waiting for connection... 58 sec | ||
| [NW: STA] Waiting for connection... 57 sec | ||
| [NW: STA] Waiting for connection... 56 sec | ||
| [NW: STA] Waiting for connection... 55 sec | ||
[NW: STA] Set device static IP. | ||
[NW: STA][SKIP] StaticIP conf.: 10.0.1.193 ? 10.0.1.193 | ||
| | [NW: STA] network config: ('10.0.1.193', '255.255.255.0', '10.0.1.1', '10.0.1.1') | ||
| | [NW: STA] CONNECTED: True | ||
Cron: False - SKIP sync | ||
[IRQ] EXTIRQ SETUP - EXT IRQ1: False TRIG: n/a | ||
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a') | ||
[IRQ] EXTIRQ SETUP - EXT IRQ2: False TRIG: n/a | ||
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a') | ||
[IRQ] EXTIRQ SETUP - EXT IRQ3: False TRIG: n/a | ||
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a') | ||
[IRQ] EXTIRQ SETUP - EXT IRQ4: False TRIG: n/a | ||
|- [IRQ] EXTIRQ CBF: bytearray(b'n/a') | ||
[IRQ] TIMIRQ SETUP: False SEQ: 1000 | ||
|- [IRQ] TIMIRQ CBF:n/a | ||
[IRQ] CRON IRQ SETUP: False SEQ: 5000 | ||
|- [IRQ] CRON CBF:n/a | ||
|[ socket server ] <<constructor>> | ||
~~~~~ [PROFILING INFO] - [memUsage] SYSTEM IS UP ~~~~~ | ||
stack: 1536 out of 15360 | ||
GC: total: 64000, used: 63472, free: 528, max new split: 86016 | ||
No. of 1-blocks: 803, 2-blocks: 208, max blk sz: 142, max free sz: 10 | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|-[ socket server ] Start socket server on 10.0.1.193 | ||
|--- TCP server ready, connect: telnet 10.0.1.193 9008 | ||
``` | ||
|
||
| stage | memory usage | all memory | details | | ||
| :------: |:---------------------:| :-------------: | :------------------------: | | ||
| inital | **40.9%** 61 968 byte | 151 471 byte | `[memUsage] MAIN LOAD` | | ||
| running | **41.9%** 63 472 byte | 151 471 byte | `[memUsage] SYSTEM IS UP` | | ||
|
||
## [2] Memory usage At bootup with default config | ||
|
||
``` | ||
node01 $ system memory_usage | ||
percent: 48.3 | ||
mem_used: 72656 | ||
node01 $ lmpacman module | ||
['LM_lmpacman', 'microIO', 'uasyncio', 'asyncio.core', 'Debug', 'Logger', 'IO_esp32', 'flashbdev', 'Interrupts', 'LM_system', 'micrOS', 'Network', 'urequests', 'asyncio', 'Server', 'Tasks', 'Hooks', 'Config', 'Time', 'Shell', 'asyncio.event', 'Common', 'micrOSloader', 'asyncio.stream', 'Types'] | ||
``` | ||
|
||
| stage | memory usage | all memory | details | | ||
| :------: |:---------------:| :-------------: | :------------------------: | | ||
| running/clean | **48.3%** 72 656 byte | 151 471 byte | `over socket: system memory_usage` | | ||
|
||
## [3] System test results: | ||
|
||
``` | ||
----------------------------------- micrOS System Test results on node01:2.6.0-0 device ----------------------------------- | ||
TEST NAME STATE Description | ||
single_cmds: OK [i][ST] Run single command execution check [hello] | ||
shell_cmds: OK [i][ST] Run built-in shell commands [modules|version|help] | ||
lm_cmd_exec: OK [i][ST] Run Load Module command execution check [system heartbeat] | ||
config_get: OK [i][ST] Run micrOS config get [conf -> socport] | ||
config_set: OK [i][ST] Run micrOS config set [conf -> utc] | ||
task_oneshot: OK [i][ST] Run micrOS BgJob check [system clock &] | ||
task_loop: OK [i][Stop task] [ST] Run micrOS Async Task check [system clock &&] + task kill | ||
task_list: OK [i][ST] Run micrOS Task list feature check [task list][task list >json] | ||
version: OK [i][ST] Run micrOS get version [version] v:2.6.0-0 | ||
json_check: OK [i][ST] Run micrOS raw output check aka >json [system rssi >json] out: {"Amazing": -60} | ||
response_time: OK [i][ST] Measure response time [system heartbeat]x10 deltaT: 0.0316 s | ||
negative_api: OK [i][ST] Run micrOS Negative API check [Invalid CMDs + conf] | ||
dhcp_hostname: OK [i][ST] Check host node01.local and resolve IP: 10.0.1.193 | ||
lm_exception: OK [i][ST] Check robustness - exception [robustness raise_error]: Valid error msg: exec_lm_core *->raise_error: * | ||
mem_usage: OK [i][ST] OK: memory usage 51.6% (77616 bytes) | ||
disk_usage: OK [i][ST] OK: disk usage 19.1% (401408 bytes) | ||
webui_conn: OK [i][ST] WEBUI IS DISABLED (False) | ||
mem_alloc: OK [i][ST] Check robustness - memory_leak [robustness memory_leak 12]: Mem alloc: [12] RAM Alloc.: -1 kB 992 byte | ||
recursion: OK [i][ST] Check robustness - recursion [robustness recursion_limit 8]-> Recursion limit: 8 | ||
intercon: OK [i][ST] Check device-device connectivity: | ||
Device was found: RingLamp.local:(True, {'verdict': 'Task started: task show con.RingLamp.hello', 'tag': 'con.RingLamp.hello'}): (True, 'hello:RingLamp:micr2462abfddb44OS') | ||
Negative test: Device was not found: "notavailable.local":(True, {'verdict': 'Task started: task show con.notavailable.hello', 'tag': 'con.notavailable.hello'}): (True, '') | ||
micros_alarms: OK [i][ST] Test alarm state - system alarms should be null [0] out: 2024.7.25-19:25:39 [usr]Raise test exception | ||
2024.7.25-19:25:40 [WARN] ShellCli.send (auto-drop) S1.61:53559 | ||
2024.7.25-19:25:40 [WARN] ShellCli.send (auto-drop) S1.61:53560 | ||
2024.7.25-19:25:48 [WARN] ShellCli.send (auto-drop) S1.61:53563 | ||
2024.7.25-19:25:48 [intercon] send_cmd notavailable.local oserr: -2 | ||
2024.7.25-19:25:48 [WARN] ShellCli.send (auto-drop) S1.61:53564 | ||
OK alarm: 0 | ||
conn_metrics: OK [i]SINGLE CONNECTION LOAD TEST X10, AVERAGE REPLY TIME: 0.031 sec | ||
MULTI CONNECTION LOAD TEST X10, AVERAGE REPLY TIME: 0.072s, SERVER AVAILABILITY: 100% (0.072s) | ||
micros_tasks: OK [i]---- micrOS top ---- | ||
#queue: 5 #load: 3% | ||
#Active #taskID | ||
Yes server | ||
Yes idle | ||
No con.notavailable.hello | ||
No con.RingLamp.hello | ||
clean-reboot: OK [i][reboot-h][OK] successfully rebooted: hello:node01:micr08b61f3b3e0cOS (boot time: ~6sec) | ||
PASS RATE: 100.0 % | ||
RESULT: OK | ||
-------------------------------------------------------------------------------------- | ||
``` | ||
|
||
| stage | memory usage | all memory | details | | ||
| :------: |:---------------------:| :-------------: | :------------------------: | | ||
| running/system test result | **51.6%** 77 616 byte | 151 471 byte | `mem_usage` | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters