Skip to content

[action] [PR:20106] Enhance test_disk_exhaustion with using /host for Simulating Disk Full.#20197

Merged
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20106
Aug 12, 2025
Merged

[action] [PR:20106] Enhance test_disk_exhaustion with using /host for Simulating Disk Full.#20197
mssonicbld merged 1 commit intosonic-net:202505from
mssonicbld:cherry/202505/20106

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Description of PR

Since the latest image mounts /tmp as tmpfs, it uses RAM instead of disk storage. To simulate a disk full scenario, use the /host directory instead.

The /host path is backed by the host’s actual disk (/dev/sda1, ext4), not memory. Therefore, operations performed in /host consume real disk space, and commands like fallocate behave as expected.

Type of change

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

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Approach

What is the motivation for this PR?

Since the latest image mounts /tmp as tmpfs, it uses RAM instead of disk storage. To simulate a disk full scenario, use the /host directory instead.

How did you do it?

Replace /tmp with /host

How did you verify/test it?

Test locally on testbed.

Any platform specific information?

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

Documentation

…l. (sonic-net#20106)

Description of PR
Since the latest image mounts /tmp as tmpfs, it uses RAM instead of disk storage. To simulate a disk full scenario, use the /host directory instead.

The /host path is backed by the host’s actual disk (/dev/sda1, ext4), not memory. Therefore, operations performed in /host consume real disk space, and commands like fallocate behave as expected.

Type of change
 Bug fix
 Testbed and Framework(new/improvement)
 New Test case
 Skipped for non-supported platforms
 Test case improvement

Approach
What is the motivation for this PR?
Since the latest image mounts /tmp as tmpfs, it uses RAM instead of disk storage. To simulate a disk full scenario, use the /host directory instead.

How did you do it?
Replace /tmp with /host

How did you verify/test it?
Test locally on testbed.

signed-off-by: [email protected]
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #20106

@mssonicbld
Copy link
Copy Markdown
Collaborator Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 574576e into sonic-net:202505 Aug 12, 2025
12 checks passed
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
…utomatically (sonic-net#20197)

#### Why I did it
src/sonic-host-services
```
* 2f92e44 - (HEAD -> 202311, origin/202311) Disable connection tracking for icmpv6 traffic (sonic-net#160) (11 hours ago) [prabhataravind]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants