Home | Search | celab - Builders
Login

Builder Linux Build 8928384105607147664 Canonical Ubuntu

Results:

Success

Trigger Info:

Projectcelab
Revision5da3fd90a4f37acab9a81b870da8f55140986e81
Got Revision5da3fd90a4f37acab9a81b870da8f55140986e81

Execution:

Steps and Logfiles:

Show:
  1. ( 97 ms ) setup_build
    running recipe: "celab"
  2. ( 1 secs ) bot_update
    [23GB/344GB used (6%)]
  3. ( 114 ms ) gclient runhooks
  4. ( 5 secs ) ensure_installed
  5. ( 1 mins 58 secs ) install deps
  6. ( 10 mins 14 secs ) build

Build Properties:

NameValueSource
$recipe_engine/path {"cache_dir": "/mnt/data/b/s/w/ir/cache", "temp_dir": "/mnt/data/b/s/w/ir/tmp/rt"} setup_build
$recipe_engine/runtime {"is_experimental": false, "is_luci": true} setup_build
bot_id "vm78-m1" setup_build
branch "refs/heads/master" setup_build
buildbucket {"build": {"bucket": "luci.celab.ci", "created_by": "user:luci-scheduler@appspot.gserviceaccount.com", "created_ts": 1543626413680891, "id": "8928384105607147664", "project": "celab", "tags": ["builder:Linux", "buildset:commit/git/5da3fd90a4f37acab9a81b870da8f55140986e81", "buildset:commit/gitiles/chromium.googlesource.com/enterprise/cel/+/5da3fd90a4f37acab9a81b870da8f55140986e81", "gitiles_ref:refs/heads/master", "scheduler_invocation_id:9093814167851587936", "scheduler_job_id:celab/Linux", "user_agent:luci-scheduler"]}, "hostname": "cr-buildbucket.appspot.com"} setup_build
buildername "Linux" setup_build
path_config "generic" setup_build
recipe "celab" setup_build
repository "https://chromium.googlesource.com/enterprise/cel.git" setup_build
revision "5da3fd90a4f37acab9a81b870da8f55140986e81" setup_build
target_cpu "x64" setup_build
got_revision "5da3fd90a4f37acab9a81b870da8f55140986e81" bot_update

Blamelist:

  1. Mathieu Binette (mbinetteohnoyoudont@google.com)

Timing:

Create Saturday, 01-Dec-18 01:06:53 UTC
Start Saturday, 01-Dec-18 01:12:46 UTC
End Saturday, 01-Dec-18 01:25:30 UTC
Pending 5 mins 52 secs
Execution 12 mins 44 secs

All Changes:

  1. Basic E2E test for IISSites

    Changed by Mathieu Binette - mbinetteohnoyoudont@google.com
    Changed at Saturday, 01-Dec-18 00:57:29 UTC
    Repository https://chromium.googlesource.com/enterprise/cel
    Branch
    Revision 5da3fd90a4f37acab9a81b870da8f55140986e81

    Comments

    Basic E2E test for IISSites
    
    
    Scope:
      Covers parsing/creating assets in cel_ctl.
      Covers deployment failures that result in the asset being marked bad.
        e.g. onhost script failures (exit_code != 0), or instances not booting.
      Doesn't cover testing environment functionality (coming later).
    
    
    Usage:
      > ./test.py --test test.tests.IISSitesTest --host test.host.textpb
      > ./test.py --test test.tests.IISSitesTest --host test.host.textpb --nodeploy
      > ./test.py --test test.tests.IISSitesTest --host test.host.textpb --error_logs_dir=/tmp/logs/celab/
    
    
    File layout:
      /test/infra
        - infra.core contains what test packages need to import to create test cases
        - infra.gcp contains all google API (compute & runtimeconfig) calls
        - controller.py contains high level test phases and validation
      /test/tests
        - depends on test.infra.core
        - contains test cases (1)
    
    
    Requires googleapiclient.discovery:
      # TODO: Add to build.py deps --install
      > apt-get install python-pip
      > pip install google-api-python-client
    
    
    Example success output:
    ```
    Running tests...
    
    PASSED   VerifyNTLMSite
    PASSED   VerifyAnonymousSite
    
    2/2 tests passed.
    ```
    
    Example @environment failure output:
    ```
    Waiting for all assets to be ready...
    Traceback (most recent call last):
      File "test.py", line 79, in <module>
        c.DeployNewEnvironment(args.cel_ctl)
      File "test/infra/controller.py", line 59, in DeployNewEnvironment
        config.WaitForAllAssetsReady()
      File "test/infra/gcp/runtime_config.py", line 46, in WaitForAllAssetsReady
        raise AssetError('Deployment failed: %s' % assetStates['error'])
    AssetError: Deployment failed: [u'windows_machine/domain2008-websites']
    
    2018/11/29 03:13:08 test.py:90: [ERROR] Test failed.
    ```
    
    Example @test failure output:
    ```
    Running tests...
    
    FAILED   VerifyNTLMSite
    Traceback (most recent call last):
      File "test/infra/controller.py", line 81, in ExecuteTestCase
        test(self=testCaseInstance)
      File "test/tests/iis_sites.py", line 22, in VerifyNTLMSite
        self.SomeOtherMethod()
      File "test/tests/iis_sites.py", line 26, in SomeOtherMethod
        raise Exception("This is an exception!")
    Exception: This is an exception!
    
    PASSED   VerifyAnonymousSite
    
    1/2 tests passed.
    
    ```
    
    Change-Id: I37662b90c83deba5c62e1d49ba97097fcf431b34
    Reviewed-on: https://chromium-review.googlesource.com/c/1355344
    Reviewed-by: Fei Ling <feiling@chromium.org>
    

    Changed files

    • examples/schema/iis/iis-various-auth.asset.textpb
    • test.py
    • test/__init__.py
    • test/infra/__init__.py
    • test/infra/controller.py
    • test/infra/core/__init__.py
    • test/infra/core/test_case.py
    • test/infra/core/test_decorators.py
    • test/infra/core/test_environment.py
    • test/infra/gcp/__init__.py
    • test/infra/gcp/compute.py
    • test/infra/gcp/runtime_config.py
    • test/tests/__init__.py
    • test/tests/iis_sites.py