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

[Linux] Fix test issue for Flatcar 3760.2.0 #536

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

keirazhang
Copy link
Contributor

From Flatcar 3760.2.0, /etc/vmware-tools is not writable any more. So we can't enable VMware Tools debug logs in /etc/vmware-tools/tools.conf, and can't create quiesce snapshot scripts under /etc/vmware-tools/backupScripts.d. Besides, Flatcar 3760.2.0 added vgauth. Therefore, I made below changes for Flatcar:

  1. Do not enable VMware Tools debug logging for Flatcar 3760.2.0 or later, and only collect default VMware Tools logs from /var/log.
  2. Skip check_quiesce_snapshot_custom_script testing from Flatcar 3760.2.0.
  3. Check VGAuth service status from Flatcar 3760.2.0.

In Flatcar 3760.2.0, vmtoolsd and vgauthd services are running but disabled. That need to double check with Flatcar whether it is a 3rd party issue.

VM information:
+------------------------------------------------------------------------------------------------------+
| Name                      | test_vm                                                                  |
+------------------------------------------------------------------------------------------------------+
| Guest OS Distribution     | Flatcar 3760.2.0 x86_64                                                  |
+------------------------------------------------------------------------------------------------------+
| GUI Installed             | False                                                                    |
+------------------------------------------------------------------------------------------------------+
| CloudInit Version         |                                                                          |
+------------------------------------------------------------------------------------------------------+
| Hardware Version          | vmx-17                                                                   |
+------------------------------------------------------------------------------------------------------+
| VMTools Version           | 12.3.0 (build-22234872)                                                  |
+------------------------------------------------------------------------------------------------------+
| Config Guest Id           | other3xLinux64Guest                                                      |
+------------------------------------------------------------------------------------------------------+
| GuestInfo Guest Id        | other3xLinux64Guest                                                      |
+------------------------------------------------------------------------------------------------------+
| GuestInfo Guest Full Name | Other 3.x Linux (64-bit)                                                 |
+------------------------------------------------------------------------------------------------------+
| GuestInfo Guest Family    | linuxGuest                                                               |
+------------------------------------------------------------------------------------------------------+
| GuestInfo Detailed Data   | architecture='X86'                                                       |
|                           | bitness='64'                                                             |
|                           | buildNumber='2024-01-16-1847'                                            |
|                           | cpeString='cpe:2.3:o:flatcar-linux:flatcar_linux:3760.2.0:*:*:*:*:*:*:*' |
|                           | distroAddlVersion='3760.2.0'                                             |
|                           | distroName='Flatcar Container Linux by Kinvolk'                          |
|                           | distroVersion='3760.2.0'                                                 |
|                           | familyName='Linux'                                                       |
|                           | kernelVersion='6.1.73-flatcar'                                           |
|                           | prettyName='Flatcar Container Linux by Kinvolk 3760.2.0 (Oklo)'          |
+------------------------------------------------------------------------------------------------------+


Test Results (Total: 3, Passed: 1, Failed: 1, Skipped: 1, Elapsed Time: 00:02:52)
+-------------------------------------------------------------------------+
| ID | Name                                 |   Status        | Exec Time |
+-------------------------------------------------------------------------+
|  1 | vgauth_check_service                 | * Failed        | 00:00:49  |
|  2 | check_os_fullname                    |   Passed        | 00:00:41  |
|  3 | check_quiesce_snapshot_custom_script | * Not Supported | 00:00:34  |
+-------------------------------------------------------------------------+

@keirazhang keirazhang added this to the 3.1 milestone Jan 19, 2024
Copy link
Member

@Tomorrow9 Tomorrow9 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@keirazhang keirazhang merged commit d45a4e7 into vmware:main Jan 22, 2024
@keirazhang keirazhang deleted the fix_flatcar branch March 7, 2024 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants