This project is mirrored from https://gitee.com/cowcomic/pixie.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 21 Jun, 2022 7 commits
-
-
Nick Lanam authored
Summary: Viewing cron history and then trying the back link was escaping the embed. Now it's a relative link. Test Plan: Visit `/configure-data-export`. View a script's history, then click the icon in the top left to go back. It should still do so. Embed the same view (`/embed/configure-data-export`). Do the same thing. It should work and not break out of the embedded mode. Reviewers: michelle, vihang Reviewed By: vihang Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11646 GitOrigin-RevId: 3b76b2b1dcb27aa9041bfdf80014e2d45480b0e7
-
Phillip Kuznetsov authored
Summary: This diff improves the px/cluster process_stats scripts to reduce computation and re-use a table value. I discovered these opportunities writing the export script for px/cluster. The difference is large, from exectime running against staging. *Before:* ``` +------------+-------------------+----------------------+----------------------+---------------------+------------+ | NAME | COMPILATION TIME | EXEC TIME: EXTERNAL | EXEC TIME: INTERNAL | NUM BYTES | NUM ERRORS | +------------+-------------------+----------------------+----------------------+---------------------+------------+ | px/cluster | 37.55ms +/- 2.9ms | 899.09ms +/- 24.11ms | 801.11ms +/- 24.15ms | 77654.80 +/- 435.48 | 0 | +------------+-------------------+----------------------+----------------------+---------------------+------------+ ``` *After:* ``` +------------+--------------------+----------------------+---------------------+---------------------+------------+ | NAME | COMPILATION TIME | EXEC TIME: EXTERNAL | EXEC TIME: INTERNAL | NUM BYTES | NUM ERRORS | +------------+--------------------+----------------------+---------------------+---------------------+------------+ | px/cluster | 51.12ms +/- 3.32ms | 395.75ms +/- 10.26ms | 284.5ms +/- 8.52ms | 78756.50 +/- 325.19 | 0 | +------------+--------------------+----------------------+---------------------+---------------------+------------+ ``` Test Plan: Ran the changed functions and compared them to the old results to confirm they lined up results Reviewers: vihang, michelle, jamesbartlett Reviewed By: jamesbartlett Signed-off-by:
Phillip Kuznetsov <pkuznetsov@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11633 GitOrigin-RevId: 01e031aef4d8752b27643b30d41f00f4fb122ec1
-
Nick Lanam authored
Summary: They were previously only showing if the text wasn't already fully visible. This was slightly more confusing than showing them anyway. Test Plan: Run any script or look at data export history or the script drawer (anywhere with a `<DataTable>`). Tooltips should appear on hover of any header cell, even if it's wide enough to already show the full text. Previously, it would only appear if the text wasn't already fully visible. Reviewers: michelle, vihang, zasgar Reviewed By: vihang JIRA Issues: PC-1543 Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11643 GitOrigin-RevId: 5aea3a74effdb7401b82f3010fe768998df4e074
-
Ryan Cheng authored
Summary: We moved to a deterministic containerized build previously and `PL_COVERAGE` ifdefs were removed in D10602. In D11586, container build was removed. This diff adds back some of the `PL_COVERAGE` to make sure the tests still pass when built with gcc. Test Plan: Updated tests Reviewers: #stirling, oazizi Reviewed By: #stirling, oazizi Subscribers: oazizi Signed-off-by:
Ryan Cheng <rcheng@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11632 GitOrigin-RevId: dc15bac3013c57e9e07f882a332636c48870ed66
-
Nick Lanam authored
Summary: Adds a new view for export scripts to show their recent run history. {F188001} Test Plan: Visit `/configure-data-export`. For various scripts: - Click the new history icon next to the edit icon to veiw logs - Try clicking several clusters in the dropdown to see their history - Loading state should be visible - Error states should present clearly - If a cluster has never run the selected script, a message explaining such appears - If a cluster HAS run the selected script, you get a full data table with the details - The top left corner of the page has a back button to return to the script list - The center of the top of the page shows the plugin name and icon as weell as the script that you're viewing Reviewers: michelle, vihang, philkuz Reviewed By: philkuz Subscribers: philkuz JIRA Issues: PP-3380 Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11610 GitOrigin-RevId: 1a93fb1ce79c26ef1645684b8dd75c62f28b1cce
-
Pete Stevenson authored
Summary: We enable Java symbolization by default, and switch the skaffold profile from 'jsyms' to 'no-jsyms'. Test Plan: Tested one-off on dev. cluster. Reviewers: #stirling, oazizi Reviewed By: #stirling, oazizi Signed-off-by:
Pete Stevenson <jps@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11597 GitOrigin-RevId: 774da6909507cd3e7a73e4159d9b170d07511824
-
Vihang Mehta authored
Summary: openssl defaults to sha1 on some systems and go 1.18 rejects these certs. So let's be super explicit and request sha256 certs. Test Plan: Ran the create_cloud_secrets script and ensured that certs are still generated as expected. Reviewers: zasgar, michelle Reviewed By: michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11641 GitOrigin-RevId: 54e8ba703e6a70d6a2bc4e2a5c26be99ba49a25d
-
- 20 Jun, 2022 1 commit
-
-
Vihang Mehta authored
Summary: TSIA Test Plan: Run docker image/run chef on machine. Ensure that gh cli exists. Reviewers: zasgar, michelle Reviewed By: michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11640 GitOrigin-RevId: eb1c37009e116290f6c5ec5a0b07e6343a6c4537
-
- 18 Jun, 2022 5 commits
-
-
Vihang Mehta authored
Summary: This enforces that any tests marked with `requires_bpf` ends in `_bpf_test` Test Plan: Renamed a test that requires bpf to not follow the naming convention. Ensured that the linter errored. Reviewers: yzhao, oazizi, zasgar Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11639 GitOrigin-RevId: cdc3f9ede8d717d55b4b76374189572db632a22f
-
Vihang Mehta authored
Summary: Just reorganizing some files. Test Plan: Ran all existing tests. Reviewers: philkuz, jamesbartlett, zasgar Reviewed By: philkuz, zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11634 GitOrigin-RevId: a8186c43c645a16a38e573a2e2099820493f9e85
-
Dom Del Nano authored
Summary: Closes #464 Test Plan: Tests for this are disabled but will be enabled soon. Reviewers: zasgar, oazizi, jamesbartlett Reviewed By: jamesbartlett Signed-off-by:
Dom Del Nano <ddelnano@twitter.com> Differential Revision: https://phab.corp.pixielabs.ai/D11637 GitOrigin-RevId: ffb3d287ae413d310c5516b714cde40ae536ef63
-
Vihang Mehta authored
Summary: There seem to be two options for the manifest file and the runfiles dir doesn't always exists. So check for file/dir existence before setting env vars. Test Plan: Running `perf_profiler_bpf_test` with sudo bazel run no longer fails to find runfiles. Reviewers: jamesbartlett, zasgar Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11638 GitOrigin-RevId: a501d86778ccc81e06527ce605377543ee12cfac
-
Vihang Mehta authored
Summary: Change the input to an array and sort it and the output so that the script doesn't shuffle the generated file on every run. Test Plan: Ran the script. Reviewers: zasgar, jamesbartlett Reviewed By: jamesbartlett Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11636 GitOrigin-RevId: 05932cd7ace92bc6c4855b2b45deb27ed3930af0
-
- 17 Jun, 2022 9 commits
-
-
Vihang Mehta authored
Summary: This uses cquery to remove some unneded indirection and combines some build commands into a single one. Test Plan: Run the cli build script. Reviewers: zasgar, michelle Reviewed By: zasgar, michelle Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11627 GitOrigin-RevId: 0ad1accda7a37c8cdb64f2e18e203fc9f8304665
-
yzhao1012 authored
Test Plan: Refactoring, existing tests Reviewers: #stirling, jps Reviewed By: #stirling, jps Subscribers: jps Signed-off-by:
yzhao1012 <yzhao@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11620 GitOrigin-RevId: 4c75a982ecdb3e910f37f767c67dbd067c2706b2
-
Pete Stevenson authored
Stirling perf eval framework: in scripts/create_gke_cluster.sh, change perf eval clusters to subnetwork us-west1-0. Summary: Subnetwork us-west1-1 was removed. Revert back to the existing subnetwork. Test Plan: Tested one off on local machine. This code is not production code and is used by the Stirling perf eval framework. Failures will be noticed (and fixed). Reviewers: #stirling, yzhao Reviewed By: #stirling, yzhao Subscribers: yzhao Signed-off-by:
Pete Stevenson <jps@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11623 GitOrigin-RevId: 7888074a073934312f227f1318d04c2c49f7ca32
-
Ryan Cheng authored
Test Plan: Updated test Reviewers: #stirling, yzhao Reviewed By: #stirling, yzhao Signed-off-by:
Ryan Cheng <rcheng@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11618 GitOrigin-RevId: f3bff1d0afd19bb08be54a89fdb7045d60b0da4b
-
yzhao1012 authored
Summary: This test is special, as it needs host directory mapping, but not bpf permission. Was missed from previous cleanup, updated here. Test Plan: test name change, Jenkins is sufficient Reviewers: vihang Reviewed By: vihang Signed-off-by:
yzhao1012 <yzhao@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11628 GitOrigin-RevId: 7d01c049b522ea1c3efdc85124f64eaf3ae1ede7
-
yzhao1012 authored
Summary: Also add testonly to avoid misuse Test Plan: Refactoring, use existing tests Reviewers: #stirling, jamesbartlett Reviewed By: jamesbartlett Signed-off-by:
yzhao1012 <yzhao@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11622 GitOrigin-RevId: 10d0cd68fc98b281fdddab81d2b5178bbfb26328
-
Vihang Mehta authored
Summary: The sha for bazel was incorrect Test Plan: Run chef on mac Reviewers: zasgar, htroisi Reviewed By: htroisi Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11629 GitOrigin-RevId: 31dcaf7bb2629d3c963fd95d85f228b3ad2dd0f1
-
yzhao1012 authored
Summary: Test name, test source file name Test Plan: Manually build all changed test rules Reviewers: #stirling, vihang Reviewed By: vihang Subscribers: vihang Signed-off-by:
yzhao1012 <yzhao@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11619 GitOrigin-RevId: 5a0e5651a36cb78992dc1c13ea3792f4493a0f10
-
Vihang Mehta authored
Summary: This ensures that cquery finds the correct binary instead of just the fastbuild binary Test Plan: Removed the fastbuild binary, ran sudo bazel run with `-c dbg`. Fails before this change, works after. Reviewers: zasgar, oazizi Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11626 GitOrigin-RevId: f25f778ec06782f32a58aa2c392886658f22be15
-
- 16 Jun, 2022 18 commits
-
-
Nick Lanam authored
Summary: We had a Link with its component set to Button, which causes (harmless) invalid properties. Flipping it to be a button with its component set to Link prevents the error; the link still works. Test Plan: Load `/admin/plugins`. No more console error if you have react-dev-tools. Should still have an `Edit Scripts` link in each accordion, which should still be an `<a>` which still goes to `/configure-data-export` properly. Reviewers: michelle, vihang Reviewed By: michelle Subscribers: philkuz Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11615 GitOrigin-RevId: eb9da5fa4a273b9cac0feed02d37f62f38d6c348
-
Phillip Kuznetsov authored
Summary: Doc example was mixed up for the int64_to_time due to copy and paste and used the other function time_to_int64. Fixed it in this diff. Test Plan: Output the udf docs and made sure this was changed Reviewers: jamesbartlett, nserrino, vihang, htroisi Reviewed By: jamesbartlett Signed-off-by:
Phillip Kuznetsov <pkuznetsov@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11600 GitOrigin-RevId: 72c8112e8efd54dd56231fca3994942e879a11b9
-
James Bartlett authored
Summary: Patches tensorflow to remove dependency on llvm. This is not needed for building tensorflow lite, but if anyone tries to build all of tensorflow it will fail. Test Plan: Existing tests pass Reviewers: vihang, zasgar Reviewed By: zasgar Signed-off-by:
James Bartlett <jamesbartlett@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11612 GitOrigin-RevId: 3b8f0d2abf09d3d1368bbd3390cf13bc037545b2
-
Vihang Mehta authored
Summary: This was lost in merge conflicts in D11518 Test Plan: Building grpc should flake less. Reviewers: zasgar, #third_party_approvers Reviewed By: zasgar, #third_party_approvers Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11614 GitOrigin-RevId: 431c2c27021aa9523581e30dbe0c1f52adceb80f
-
James Bartlett authored
Summary: There was an issue with the implementation of our go_image alias, where it wouldn't allow specifying a different base from the one in the alias. This diff allows the user's of our go_image alias to specify their own base. Test Plan: Existing tests pass. Reviewers: vihang, zasgar Reviewed By: zasgar Signed-off-by:
James Bartlett <jamesbartlett@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11609 GitOrigin-RevId: d0a3b4465ee55c5a6ecf99fa9111e5a98d78e04e
-
Vihang Mehta authored
Summary: TSIA Test Plan: This should fix these scripts Reviewers: zasgar Reviewed By: zasgar Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11613 GitOrigin-RevId: 804b0d7f0c99e1a4c4fb3d5795e32fd8a8c908b4
-
Pete Stevenson authored
Summary: To enable use of `run_docker.sh` inside of other scripts, we detect terminal sessions and as appropriate, drop the docker arg -it. Test Plan: This will be used by our Stirling perf eval. framework (for builds). Failures will be noticed. Reviewers: #stirling, zasgar, vihang Reviewed By: vihang Subscribers: oazizi Signed-off-by:
Pete Stevenson <jps@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11585 GitOrigin-RevId: 7169e3aa8cb4cb32c7425c73642a837878a88101
-
yzhao1012 authored
Test Plan: Jenkins Reviewers: #stirling, rcheng Reviewed By: #stirling, rcheng JIRA Issues: PP-3416 Signed-off-by:
yzhao1012 <yzhao@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11594 GitOrigin-RevId: 2458db2dcf230ee70053a67479b0f91635f14c9c
-
Vihang Mehta authored
Summary: This should fix our release scripts. Test Plan: Run the CLI release. Reviewers: zasgar, michelle Reviewed By: zasgar, michelle JIRA Issues: PP-3424 Signed-off-by:
Vihang Mehta <vihang@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11608 GitOrigin-RevId: e8afee21317f5ae2f61f7649c2c827eaef3ba924
-
Ryan Cheng authored
Summary: The `tcp_drop` bpftrace script no longer works in newer kernel version, due to `tcp_drop` being inlined. This diff switches to using `exec_snoop` in the tests. Test Plan: Updated tests Reviewers: #stirling, oazizi Reviewed By: #stirling, oazizi Subscribers: yzhao Signed-off-by:
Ryan Cheng <rcheng@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11572 GitOrigin-RevId: 587598e34b6293f1a9508fab9812f53f3bc26164
-
Nick Lanam authored
Summary: Previously, a disconnected cluster would be filtered out even if it was selected before. Now, it still appears in both the overview table and the detail view. In the detail view, the cluster options (and selected chips) all show their status icons. Clusters that are disconnected still appear as options if they were already selected when the detail view opened. Other disconnected clusters are still filtered out. {F187754} Test Plan: Go to `/configure-data-export`. Look for a script that is configured to use a currently-disconnected cluster. Edit it. The disconnected cluster should still appear. If you remove it from the list and try to add it back before saving, it should work. Reviewers: michelle, vihang Reviewed By: michelle JIRA Issues: PC-1540 Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11584 GitOrigin-RevId: 8d0c778d5791ca141446c7a2a5da85a0719a4523
-
Nick Lanam authored
Summary: Shuffle fields and labels around to make it more clear how this page works. Has three modes: creating a custom script, editing a custom script, and editing a preset script. - Fields that can't be edited are disabled. - Labels and hint text updated to indicate what's going on. - Editor now presents a little tooltip when trying to edit while read-only, to explain why. - Fields now in a more intuitive grouping. - Form width limited, field width generally increased (mostly for readability). - Plugin dropdown now shows each plugin's icon. {F187739} Test Plan: Go to `/configure-data-export`. Attempt to do the following: - Create a new custom script (try with invalid values, various combinations) - Edit a custom script that has already been created - Edit a preset script - Try to edit the PxL of a preset script (it shouldn't let you, and should present a tooltip) In all cases, what's going on should be much clearer than before. Reviewers: michelle, vihang Reviewed By: michelle Subscribers: nserrino JIRA Issues: PC-1539 Signed-off-by:
Nick Lanam <nlanam@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11581 GitOrigin-RevId: 5b807fbaa2240213beb1cdf56b44fc53ba04bcb4
-
James Bartlett authored
Summary: TSIA Test Plan: Existing tests pass Reviewers: philkuz, nlanam Reviewed By: philkuz, nlanam Signed-off-by:
James Bartlett <jamesbartlett@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11598 GitOrigin-RevId: 54a13ca4391d73d10d39a5ebdb2a3d55a1a6cb3e
-
Zain Asgar authored
Summary: TSIA Test Plan: Jenkins Reviewers: michelle, vihang, jamesbartlett Reviewed By: vihang Signed-off-by:
Zain Asgar <zasgar@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11607 GitOrigin-RevId: 7dec37d5c738318f887038a9506bdaa59af6acfa
-
Zain Asgar authored
Summary: Need to select opt instead of sanitizer Test Plan: Jenkins Reviewers: vihang, michelle, jamesbartlett Reviewed By: vihang Signed-off-by:
Zain Asgar <zasgar@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11606 GitOrigin-RevId: a8a3acc90d0e4782800cb57a18598df1f5ed9f4d
-
Zain Asgar authored
Summary: Should improve build times. Test Plan: Jenkins Reviewers: vihang, jamesbartlett, michelle Reviewed By: vihang Signed-off-by:
Zain Asgar <zasgar@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11605 GitOrigin-RevId: ddeeab2f70b5d2de9c087c51baea020030ef5722
-
Zain Asgar authored
Summary: Adds jenkins/phab links. Adds config used for the run. Test Plan: N/A Reviewers: vihang, jamesbartlett, michelle Reviewed By: vihang Signed-off-by:
Zain Asgar <zasgar@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11603 GitOrigin-RevId: f5047509a74353f06693b5a76eaaab3cc2fffabc
-
Zain Asgar authored
Summary: ASAN tests are slow, this might prevent some regression flakes. Test Plan: Jenkins Reviewers: vihang, jamesbartlett, michelle Reviewed By: vihang Signed-off-by:
Zain Asgar <zasgar@pixielabs.ai> Differential Revision: https://phab.corp.pixielabs.ai/D11604 GitOrigin-RevId: 6ade81f303971a4ef0a4eb15b12db916280cf713
-