-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix: slow log to info #2935
fix: slow log to info #2935
Changes from 8 commits
c5cbb1f
d618282
b1163bd
3fcc14e
a4e81f1
60efd65
4522363
c3936d8
b34af68
f5ab80a
1f7caae
caed42d
4d7bf70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -156,7 +156,7 @@ jobs: | |
sh integrate_test.sh | ||
|
||
build_on_macos: | ||
runs-on: macos-12 | ||
runs-on: macos-13 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -169,7 +169,7 @@ jobs: | |
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: macos-12 | ||
key: macos-13 | ||
|
||
- name: Install Deps | ||
run: | | ||
|
@@ -188,7 +188,10 @@ jobs: | |
|
||
- name: Cleanup | ||
run: | | ||
rm -rf ./deps | ||
cp deps/lib/libz.1.dylib . | ||
cp deps/lib/libz.1.dylib tests/integration/ | ||
cp output/pika tests/integration/ | ||
rm -rf ./deps | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Warning: Copy operations in cleanup step may be failing The verification reveals that neither the dynamic library (libz.1.dylib) nor the pika binary are present in the expected locations after the copy operations. This suggests that:
Locations checked and found missing:
🔗 Analysis chainLGTM: Proper setup of dynamic library and binary dependencies. The cleanup step now correctly preserves required dependencies before removing the deps directory. Consider verifying the library dependencies of the pika binary. Let me try to verify the binary and library existence first before making conclusions. 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Verify dynamic library dependencies
echo "Checking pika binary dependencies..."
otool -L tests/integration/pika 2>/dev/null || echo "Binary not found or not a Mach-O file"
Length of output: 201 Script: #!/bin/bash
# Check if files exist and their types
echo "Checking files in root directory:"
file ./libz.1.dylib 2>/dev/null || echo "libz.1.dylib not found in root"
file ./pika 2>/dev/null || echo "pika not found in root"
echo -e "\nChecking files in integration tests directory:"
file tests/integration/libz.1.dylib 2>/dev/null || echo "libz.1.dylib not found in integration tests"
file tests/integration/pika 2>/dev/null || echo "pika not found in integration tests"
echo -e "\nListing output directory:"
ls -la output/ 2>/dev/null || echo "output directory not found"
Length of output: 740 |
||
rm -rf ./buildtrees | ||
|
||
- name: Test | ||
|
@@ -201,19 +204,18 @@ jobs: | |
./pikatests.sh all clean | ||
|
||
- name: Start codis, pika master and pika slave | ||
working-directory: ${{ github.workspace }}/build | ||
run: | | ||
chmod +x ../tests/integration/start_master_and_slave.sh | ||
../tests/integration/start_master_and_slave.sh | ||
chmod +x ../tests/integration/start_codis.sh | ||
../tests/integration/start_codis.sh | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
cd tests/integration/ | ||
chmod +x start_master_and_slave.sh | ||
./start_master_and_slave.sh | ||
chmod +x start_codis.sh | ||
./start_codis.sh | ||
|
||
- name: Run Go E2E Tests | ||
working-directory: ${{ github.workspace }}/build | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
cd ../tools/pika_keys_analysis/ | ||
go test -v ./... | ||
cd ../../tests/integration/ | ||
cd tests/integration/ | ||
chmod +x integrate_test.sh | ||
sh integrate_test.sh | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Warning: The
deps
directory copy operations will failThe workflow shows that the
deps
directory is cleaned up in a previous step before these copy operations:Then immediately after, it attempts to copy files from the already deleted
deps/lib/libz.1.dylib
. This will always fail as the source files no longer exist.deps
directory🔗 Analysis chain
Verify dynamic library copy operations.
The copy operations for
libz.1.dylib
are crucial for the tests. Let's verify the file locations and permissions.Let me check the workflow file to understand the context of these copy operations better.
Let me check if the
deps
directory is created in a previous step of the workflow.Let me check the entire workflow file to understand the complete setup process.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 606
Script:
Length of output: 378
Script:
Length of output: 591
Script:
Length of output: 8181