-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Analyzing tackle-testapp produces no issues #52
Comments
Adding TestApp analysis test with custom rule corporate-framework-config. Related to konveyor/tackle2-addon-analyzer#52 and konveyor#39 Signed-off-by: Marek Aufart <maufart@redhat.com>
@jortel close? |
Reproduced in 0.3.0-beta1. Can we verify this gets fixed before cutting releases? |
This has improved in 0.3.0-beta1.1, but it is far from being complete. The issue related to the custom rule has been detected correctly, but issues related to the Cloud Readiness migration path are missing:
Execution report is as follows:
Please, check the results from a Windup analysis for completeness. |
Reproduced again in 0.3.0-beta2, with some improvements. The following issue is still missing:
Execution report is as follows:
|
Adding TestApp analysis test with custom rule corporate-framework-config. Related to konveyor/tackle2-addon-analyzer#52 and konveyor#39 Signed-off-by: Marek Aufart <maufart@redhat.com>
@rromannissen Hi, just for clarification, I'd like ask if the change in sources/targets was intentional (if so, I'd add this case to API analysis test, it is still in draft). Task from comment on Oct 20th
Task from the latest comment (no java source here)
|
@aufi I think the source was being added automatically by the UI, I didn't add it manually by myself in previous beta versions. This is something that I think @jortel and @ibolton336 have been discussing and changed on this last release. Regarding the additional target (openjdk), it was simply not available before so I wasn't able to add it. |
The UI stopped automatically adding the source because it should not. |
Correct, then it looks addon doesn't add custom rule, since it has specified source https://github.com/konveyor/go-konveyor-tests/blob/4f3cc0e786eaa675771ed21c83f905750394ed60/analysis/data/corporate-framework-config.windup.xml#L14-L15 (I'm not sure if this is a wanted/expected behaviour or not) |
@aufi the custom rule is being triggered correctly. It is local-storage-00001 what is not being triggered. |
I just tested |
Just tested with :v0.3.0-beta.2 images in fresh install and the rule is run and produced the expected issue. |
Sorry for issues potentialy on my side, but I wasn't able execute Tackle Testapp public application analysis in a way that returns all 3 rules issues (hardcoded-ip-address, local-storage-00001 and corporate-config-01000 from custom rule). Tried few combinations of source/targets using go-konveyor-tests as well as "standard" Konveyor UI, got the same results. Please, could you confirm expected source/target to get mentioned rules issues (or should the corporate config custom rule test not expect local-storage and hardcoded-ip-address rules to be executed if source was set to java or java-ee)? |
Which issues did you get (or not get)? |
@jortel Pasted task, analysis output, etc. to https://gist.github.com/aufi/7f02a3ee9d1e322b04f083ee8d0f6e7e (corporate-config-01000 issues were missing) |
Hey folks, this issue is caused due to a change in the analyzer...it was introduced due to a change in the logic that determines which dependency sources need to be decompiled: It is being fixed here: konveyor/analyzer-lsp#409 |
This appears to be fixed. |
Is there an existing issue for this?
Konveyor version
0.3-alpha5
Priority
Blocker
Current Behavior
No issues are identified in the application:
![Screenshot from 2023-09-29 11-40-53](https://private-user-images.githubusercontent.com/15966456/271536041-7d8c5de4-d837-4514-b734-92bc7f59d915.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTQ0ODIsIm5iZiI6MTczOTU5NDE4MiwicGF0aCI6Ii8xNTk2NjQ1Ni8yNzE1MzYwNDEtN2Q4YzVkZTQtZDgzNy00NTE0LWI3MzQtOTJiYzdmNTlkOTE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA0MzYyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2ODViZGQ4OGZlNDU5Nzk2NDZhZGY2YjA0YWE3MDZlYmEyOTE2ZTcwNzkzOTkzMjM1YTE5YzdjMTQ2OGEyODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.d1bqg3cJ8Uldw9lf13HV-Ne5Q7kImE-tzzdDA_e_hEs)
![Screenshot from 2023-09-29 11-41-04](https://private-user-images.githubusercontent.com/15966456/271536059-72a750fc-4261-4e31-9706-f40b14165906.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTQ0ODIsIm5iZiI6MTczOTU5NDE4MiwicGF0aCI6Ii8xNTk2NjQ1Ni8yNzE1MzYwNTktNzJhNzUwZmMtNDI2MS00ZTMxLTk3MDYtZjQwYjE0MTY1OTA2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA0MzYyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMzNGM5NTI3OGRjZDFhNWNlYjAyMTg2ZmZkNzYxYzQ2MGM5NjU1MWEzNmI5NzhiMTc1ODdlZDlhNWI5OTY1ZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.agws4Q0IElwvW6WN5_1Wlif20V0bWXOsFeFdw6Es5Nc)
![Screenshot from 2023-09-29 11-41-12](https://private-user-images.githubusercontent.com/15966456/271536072-4913bf0b-1b78-4e9e-8a92-9475c207d433.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTQ0ODIsIm5iZiI6MTczOTU5NDE4MiwicGF0aCI6Ii8xNTk2NjQ1Ni8yNzE1MzYwNzItNDkxM2JmMGItMWI3OC00ZTllLThhOTItOTQ3NWMyMDdkNDMzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA0MzYyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZlMzBjZWU5MGFiZWM1NDdkMzUwOGQxMTMxMzE4MTNkYzlhNzJhOWVhNDU1MTU2YWYyOWMzMTU1ZjE5YmEzMGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.XKL4V0VAXpPdfkeilPkk090QwR_gyGCRiLPUocagNgE)
![Screenshot from 2023-09-29 11-41-23](https://private-user-images.githubusercontent.com/15966456/271536094-7abfef86-db2f-42ae-9646-3348b1b2b68d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTQ0ODIsIm5iZiI6MTczOTU5NDE4MiwicGF0aCI6Ii8xNTk2NjQ1Ni8yNzE1MzYwOTQtN2FiZmVmODYtZGIyZi00MmFlLTk2NDYtMzM0OGIxYjJiNjhkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA0MzYyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU2MjI3YWZlM2U2YmVjODRiNjI4YmFiNzVlY2U1MjY2ZmM1MzE3MGJjYzM2YTAzZjMyZjllODAyNjExYmYxZDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.B1aVBkt3NmKtYbQpA1GAzBDtWNYzih0aduJ6gffR_hI)
Analysis execution log:
Expected Behavior
The following issues should have been identified:
How Reproducible
Always (Default)
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: