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

github-actions hosted runner nest virtualisation roadblock #18

Open
InfamousSYN opened this issue Apr 25, 2022 · 2 comments
Open

github-actions hosted runner nest virtualisation roadblock #18

InfamousSYN opened this issue Apr 25, 2022 · 2 comments

Comments

@InfamousSYN
Copy link
Owner

GH hosted runner does not nested virtualisation capability

Run cat /proc/cpuinfo
  cat /proc/cpuinfo
  shell: /usr/bin/bash -e {0}
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 8171M CPU @ [2](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:2).60GHz
stepping	: 4
microcode	: 0xffffffff
cpu MHz		: 2095.19[3](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:3)
cache size	: 36608 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 21
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse[4](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:4)_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx[5](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:5)12f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4190.38
clflush size	: [6](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:6)4
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Platinum 81[7](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:7)1M CPU @ 2.60GHz
stepping	: 4
microcode	: 0xffffffff
cpu MHz		: 2095.193
cache size	: 3660[8](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:8) KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 21
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt avx512cd avx512bw avx512vl xsaveopt xsavec xsaves md_clear
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 41[9](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:9)0.[38](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:38)
clflush size	: 64
cache_alignment	: 64
address sizes	: [46](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:46) bits physical, [48](https://github.com/InfamousSYN/packer/runs/6150759698?check_suite_focus=true#step:3:48) bits virtual
power management:
@InfamousSYN
Copy link
Owner Author

egrep -c '(vmx|svm)' /proc/cpuinfo

@InfamousSYN
Copy link
Owner Author

solution 1:
use github action to build bespoke EC2 instances using a HVM AMI.
Once built, install virtualisation and packer software and run the packer build

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

No branches or pull requests

1 participant