Skip to content

Loganalyzer: removed whitespaces and added new functionality.#68

Merged
pavel-shirshov merged 2 commits intosonic-net:masterfrom
antonpatenko:loganalyzer
Dec 21, 2016
Merged

Loganalyzer: removed whitespaces and added new functionality.#68
pavel-shirshov merged 2 commits intosonic-net:masterfrom
antonpatenko:loganalyzer

Conversation

@antonpatenko
Copy link
Copy Markdown
Contributor

@antonpatenko antonpatenko commented Dec 15, 2016

Added option to "expect" specific messages to be found in a logfile.

Now there is one more file that we have to provide loganalyzer with - expect_file.txt. It has the same format as match- or ignore-file. When the log is being analyzed, each line is being compared to strings in that file and then we will have the statistic output (the same output as for the match-lines) into summary and result.

This functionality is very useful when running ansible-scripts (especially negative test cases), where we are expecting to get a specific error message in the logfile. So we put that errormessage into expect-file and check the summary/result file after analyzing phase to see if that message has occured in a logfile.

@hrachya-m
Copy link
Copy Markdown

Could you add comment with description of the expected behavior?

@antonpatenko
Copy link
Copy Markdown
Contributor Author

Done

@pavel-shirshov pavel-shirshov merged commit 13985f0 into sonic-net:master Dec 21, 2016
wangxin pushed a commit to wangxin/sonic-mgmt that referenced this pull request Feb 21, 2025
<!--
Please make sure you've read and understood our contributing guidelines;
https://github.com/sonic-net/SONiC/blob/gh-pages/CONTRIBUTING.md

Please provide following information to help code review process a bit easier:
-->
### Description of PR
<!--
- Please include a summary of the change and which issue is fixed.
- Please also include relevant motivation and context. Where should reviewer start? background context?
- List any dependencies that are required for this change.
-->

Summary:
Fixes # (issue) 31085729

Migrate the following PR:
- sonic-net#9847
- sonic-net#15002
- sonic-net#11704

### Type of change

<!--
- Fill x for your type of change.
- e.g.
- [x] Bug fix
-->

- [ ] Bug fix
- [ ] Testbed and Framework(new/improvement)
- [ ] New Test case
 - [ ] Skipped for non-supported platforms
- [ ] Test case improvement

### Back port request
- [ ] 202012
- [ ] 202205
- [ ] 202305
- [ ] 202311
- [ ] 202405
- [ ] 202411

### Approach
#### What is the motivation for this PR?
Migrate PRs for pfc test cases to t2

#### How did you do it?

#### How did you verify/test it?

#### Any platform specific information?

#### Supported testbed topology if it's a new test case?

### Documentation
<!--
(If it's a new feature, new test case)
Did you update documentation/Wiki relevant to your implementation?
Link to the wiki page?
-->
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
- Adding instructions to build telemetry server/go client inside docker (sonic-net#68)
- Add RBAC, gNOI, API Versioning and Bulk Set operations. (sonic-net#61) …
- Support NonTLS option for testing purpose only. (sonic-net#67) …
- Oc gnmi examples (sonic-net#62) …
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…e latest HEAD automatically (sonic-net#15016)

src/wpasupplicant/sonic-wpa-supplicant

* a24412c25 - (HEAD -> 202205, origin/master, origin/HEAD, origin/202211, origin/202205, master) [mka]: Fix unexpected cleanup (sonic-net#73) (8 days ago) [Ze Gan]
* 26d1da0bc - [mka]: Fix re-establishment by reset MI (sonic-net#72) (8 days ago) [Ze Gan]
* f07e0a097 - [azp]: Update build pipeline to build for Bullseye (sonic-net#70) (4 weeks ago) [Ze Gan]
*   2c69e2cda - Use github code scanning instead of LGTM (sonic-net#69) (6 months ago) [Liu Shilong]
|\  
| * 23abb04e5 - fix (6 months ago) [shilongliu]
| * f34d68fe6 - libdbus-1-dev (6 months ago) [shilongliu]
| * dc2dd881e - add dbus (6 months ago) [shilongliu]
| * 5de037661 - use swsscommon packages (6 months ago) [shilongliu]
| * 32c5a2729 - Use github code scanning instead of LGTM (6 months ago) [shilongliu]
|/  
* aa731b96f - [azp]: Install libyang in azure pipeline (sonic-net#68) (8 months ago) [Hua Liu]
* 71b635d74 - Revert "[Azp]: Upgrade Azp to bullseye (sonic-net#49)" (sonic-net#66) (9 months ago) [Ze Gan]
* 7aa4e6fa4 - Adding Microsoft SECURITY.MD (sonic-net#58) (9 months ago) [microsoft-github-policy-service[bot]]
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
[Submodule]: update sonic-restapi
bd97dfe Fix urllib3 CVE-2021-33503 issue (sonic-net#104)
f159bfa Upgrade the containers to be based on Debian Buster (sonic-net#103)
a1830c1 Fix OpenAPI spec to be readable by autorest (sonic-net#101)
94805a3 Identify and report Vnet GUID for conflicting VNI (sonic-net#99)
4832dfd Static route expiry if not specified as persistent (sonic-net#98)
5cc4358 Add support for overlay ECMP (sonic-net#96)
6822a46 [CI] Set diff cover threshold to 50% (sonic-net#97)
dcc826a Add PR diff coverage (sonic-net#95)
e842c5f Generate code coverage for Unit Tests (sonic-net#94)
f9bbed3 Convert Unit Tests from unittest framework to pytest framework (sonic-net#93)
e466ac2 Reject incorrect CIDR addresses while configuring routes (sonic-net#91)
07cf59d [CI] Set up Azure pipeline (sonic-net#89)
47476ac Upgrade Go version to 1.14 (sonic-net#90)
ee887c7 Added flag to make go/pkg/ folder writable (removable) (sonic-net#87)
6cfc8fe (origin/shilongliu/azp) Default Vrf static route support (sonic-net#85)
d3e8b8e Add BFD config to subinterface and neighbor (sonic-net#68)
8d4fd4a Fix WS-2018-0594 potential non-random UUIDs security issue (sonic-net#78)
fad87fa Update API description for default vrf and ecmp routes (sonic-net#82)

Some of them have been updated in 202012 branch, should be added in 202106 as well.
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
e466ac226c48cf87f83aa5564efd7155ac97a0c1 (HEAD -> master, origin/master, origin/HEAD) Reject incorrect CIDR addresses while configuring routes (sonic-net#91)
07cf59d866914ef7cb6901d51f289f0bee721e44 [CI] Set up Azure pipeline (sonic-net#89)
47476acdfaf668ab0cd9ae2443205a3bdc2e9ef9 Upgrade Go version to 1.14 (sonic-net#90)
ee887c785c10d8b4f70db90ca50cc398327c5d73 Added flag to make go/pkg/ folder writable (removable) (sonic-net#87)
6cfc8fe110c46a1ee5a8430e02a440b5a7b4006d (origin/shilongliu/azp) Default Vrf static route support (sonic-net#85)
d3e8b8e4aee278fa11d7d86acabdab3fffc70d5a Add BFD config to subinterface and neighbor (sonic-net#68)
8d4fd4a56b637d3b7403c321aef36b8dff58cd62 Fix WS-2018-0594 potential non-random UUIDs security issue (sonic-net#78)
fad87fa20f6b15e28c90e02a131c44d236d6a751 Update API description for default vrf and ecmp routes (sonic-net#82)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants