Skip to content
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

Fixing tests and removing dependabot automerge #552

Merged
merged 2 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/configs/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -774,4 +774,7 @@ FailNode
FailureEnabled
Prepull
PrepullMode
async
async
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From another commit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw. Let it stay there, and I will rebase the async PR.

AsyncMode
AsyncResponseURL
AsyncWaitToCollectMin
18 changes: 9 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,47 @@ updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "gomod"
directory: "/tools/invoker"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "gomod"
directory: "/tools/benchmark/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "gomod"
directory: "/tools/generateTimeline/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gomod"
directory: "/tools/helloworld"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]
Expand All @@ -54,23 +54,23 @@ updates:
# Look for `.github/workflows` in the `root` directory
directory: "/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "pip"
directory: "/tools/trace_synthesizer/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]

- package-ecosystem: "pip"
directory: "/sampler/"
schedule:
interval: "weekly"
interval: "monthly"
ignore:
- dependency-name: "*"
update-types: [ "version-update:semver-patch" ]
4 changes: 2 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout Sources
uses: actions/checkout@v3
uses: actions/checkout@v4
- id: set-matrix
run: ./utils/golangci-lint/resolve-modules.sh

Expand All @@ -39,7 +39,7 @@ jobs:
run: sudo apt update && sudo apt install libsnmp-dev

- name: Checkout code into go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint with golangci-lint
uses: golangci/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
trace_func_go,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: "true"
- name: Checkout LFS objects
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fi

- name: Checkout GitHub Code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: "true"

Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/enable-auto-merge.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/integration_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Spellcheck
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: rojopolis/[email protected]
name: Spellcheck
with:
Expand All @@ -19,7 +19,7 @@ jobs:
name: Commitlint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
Expand All @@ -39,7 +39,7 @@ jobs:
name: LinkCheck
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/preprocessing_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: 'true'

- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.10'

- uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
go-version: 1.22

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run tests
working-directory: ${{ matrix.module }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
trace,
]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'true'

Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
run: pip install -r ./requirements.txt

- name: Run loader tests
run: go test -v -cover -race ./pkg/${{ matrix.module }}
run: go test -v -cover -race ./pkg/${{ matrix.module }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ data/azure
!data/traces/example/
pkg/generator/*.png
pkg/generator/*.txt
!pkg/generator/requirements.txt
pkg/driver/*.csv
pkg/workload/openwhisk/*.zip
*.log
Expand Down
2 changes: 1 addition & 1 deletion config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pandas==2.0.3
psutil==6.1.0
statsmodels==0.14.0
statsmodels==0.14.4
4 changes: 2 additions & 2 deletions config/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ idna==3.7
language-selector==0.1
lxml==5.3.0
netifaces==0.11.0
numpy==2.1.3
numpy==1.26.4
packaging==24.2
pandas==2.0.3
patsy==0.5.2
Expand All @@ -31,7 +31,7 @@ scipy==1.13.0
six==1.16.0
soupsieve==2.5
ssh-import-id==5.11
statsmodels==0.14.0
statsmodels==0.14.4
ubuntu-advantage-tools==20.3
ufw==0.36
unattended-upgrades==0.1
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/vhive-serverless/loader

go 1.22.0
go 1.22.7

toolchain go1.22.9

require (
Expand Down
2 changes: 2 additions & 0 deletions pkg/generator/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
numpy==1.26.1
pandas==2.2.0
4 changes: 3 additions & 1 deletion pkg/generator/specification_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ func TestSerialGenerateIAT(t *testing.T) {

for _, test := range tests {
t.Run(test.testName, func(t *testing.T) {
log.SetLevel(log.TraceLevel)

sg := NewSpecificationGenerator(seed)

testFunction.InvocationStats = &common.FunctionInvocationStats{Invocations: test.invocations}
Expand Down Expand Up @@ -476,7 +478,7 @@ func checkDistribution(data [][]float64, nonScaledDuration []float64, distributi
// NOTE: the script generates a histogram in PNG format that can be used as a sanity-check
if err := statisticalTest.Wait(); err != nil {
output, _ := statisticalTest.Output()
log.Debug(string(output))
log.Info(string(output))

switch statisticalTest.ProcessState.ExitCode() {
case 0:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
matplotlib==3.9.1
numpy==2.1.3
numpy==1.26.4
pandas==1.3.5
scipy==1.13.0
pytest==8.3.2
Expand Down
4 changes: 2 additions & 2 deletions tools/trace_synthesizer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy==2.1.3
pandas==2.2.0
numpy==1.26.1
pandas==2.2.0
Loading