Giter Site home page Giter Site logo

Comments (7)

lixuemin2016 avatar lixuemin2016 commented on August 18, 2024

Update here let you know this issue, or maybe you could help to figure out the reason, thank you.

from lis-test.

lixuemin2016 avatar lixuemin2016 commented on August 18, 2024

08:21:25 Info : DoDetermineReboot(RHEL-7.5--GEN1-A)
08:21:25 Info : GetNextText(RHEL-7.5--GEN1-A)
08:21:25 Debug: vm.currentTest = VMBus_verify_interrupts
08:21:25 Debug: vm.suite = Functional
08:21:25 Info : GetTestData(VMBus_verify_interrupts)
08:21:25 Info : RHEL-7.5-20180125.0-x86_64-GEN1-A transitioned from DetermineReboot to ShutdownSystem
08:21:25 Info : DoShutdownSystem(RHEL-7.5-20180125.0-x86_64-GEN1-A)
08:21:31 Processing data for a remote command failed with the following error message:
08:21:31 <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault"
08:21:31 Code="3221225477" Machine="2012-72-132"><f:Message><f:ProviderFault
08:21:31 provider="microsoft.powershell" path="C:\Windows\system32\pwrshplugin.dll"></f:
08:21:31 ProviderFault></f:Message></f:WSManFault> For more information, see the
08:21:31 about_Remote_Troubleshooting Help topic.
08:21:31 + CategoryInfo : OperationStopped: (2012-72-132:String) [], PSRem
08:21:31 otingTransportException
08:21:31 + FullyQualifiedErrorId : JobFailure
08:21:31 + PSComputerName : 2012-72-132

from lis-test.

chvalean avatar chvalean commented on August 18, 2024

Thank you @lixuemin2016 for the report!
We haven't seen this in our environment. How are you running lisa - is it on the same server as the test server, or you're running it from a system and use a remote Hyper-V server?

from lis-test.

lixuemin2016 avatar lixuemin2016 commented on August 18, 2024

Hi Chris,
We copy the lisa code from remote windows server A to test windows server B, then use following command in this remote server A to run test.

Here $env:HOST_ID is test server B.
Invoke-command -computername $env:HOST_ID -Credential $cred -scriptblock {cd "$Using:lisaDir"; .\lisa run .\xml$Using:xmlFile -vmName $Using:vmName -hvServer $Using:hvServer -sshKey id_rsa.ppk -suite $Using:suiteTestName -os Linux -dbgLevel 10}

Thank you.

from lis-test.

chvalean avatar chvalean commented on August 18, 2024

I will have to check this scenario.
Usually if we target a remote Hyper-V server, we make use of the hvServer tag in the xml. The code will be executed on the VM used to run lisa, but all cmdlets will make use of the hvServer as ComputerName.

from lis-test.

chvalean avatar chvalean commented on August 18, 2024

@lixuemin2016 trying to repro this by only running the vmbus test case or separate test cases doesn't repro this situation.
While looking for the message, I see that some suggestions are that the wsman script execution exceeded some memory limit.
Can you please check on your servers the MaxMemoryShellMB allocation from this command:
winrm get winrm/config/winrs
In my case it's set to 2GB, wondering if you have a lower limit or if you run a full set of tests, maybe is your instance running out of memory?

from lis-test.

lixuemin2016 avatar lixuemin2016 commented on August 18, 2024

Hi Chris,

Thank you so much for your great help to analyze the reason. I think you are right that maybe our instances are running out of memory during running full set of tests for lots of vms. A little strange after run the older script without this issue.

Just checked, our host's MaxMemoryShellMB is also 2GB. Have moved the testing hosts to other new hosts with latest scripts, it can run without this error. To avoid this issue happen again, we have reinstalled original testing hosts.

Thank you again, now I close this issue request.

from lis-test.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.