Skip to content

Installation of Rust in Solaris VM fails #47

@lordmulder

Description

@lordmulder

I'm trying to install Rust, using the following job:

build-solaris:
  runs-on: ubuntu-latest
  needs: [test-linux, test-windows, test-macos]
  steps:
    - uses: vmactions/solaris-vm@v1
      with:
        release: 11.4
        usesh: true
        prepare: |
          pkg install developer/gcc developer/versioning/git
          curl -sSf https://static.rust-lang.org/dist/rust-1.91.1-x86_64-pc-solaris.tar.xz | tar -xzf - -C /tmp
          /tmp/rust-1.91.1-x86_64-pc-solaris/install.sh
          rm -rf /tmp/rust-1.91.1-x86_64-pc-solaris

...but this reproducibly fails with:


Run 'prepare' in VM
  Running prepare: pkg install developer/gcc developer/versioning/git
  curl -sSf https://static.rust-lang.org/dist/rust-1.91.1-x86_64-pc-solaris.tar.xz | tar -xzf - -C /tmp
  /tmp/rust-1.91.1-x86_64-pc-solaris/install.sh
  rm -rf /tmp/rust-1.91.1-x86_64-pc-solaris
  git config --global --add safe.directory '*'
  
  exec ssh: pkg install developer/gcc developer/versioning/git
  curl -sSf https://static.rust-lang.org/dist/rust-1.91.1-x86_64-pc-solaris.tar.xz | tar -xzf - -C /tmp
  /tmp/rust-1.91.1-x86_64-pc-solaris/install.sh
  rm -rf /tmp/rust-1.91.1-x86_64-pc-solaris
  git config --global --add safe.directory '*'
  /usr/bin/bash /home/runner/work/_actions/vmactions/solaris-vm/v1/run.sh execSSHSH
  Config file: solaris-11.4.conf
   Startup: Refreshing catalog 'solaris' ... Done
   Startup: Caching catalogs ... Done
  Planning: Solver setup ... Done
  Planning: Running solver ... Done
  Planning: Finding local manifests ... Done
  Planning: Fetching manifests:  0/24  0% complete
  Planning: Fetching manifests: 24/24  100% complete
  Planning: Package planning ... Done
  Planning: Merging actions ... Done
  Planning: Checking for conflicting actions ... Done
  Planning: Consolidating action changes ... Done
  Planning: Evaluating mediators ... Done
  Planning: Planning completed in 4.73 seconds
             Packages to install: 24
             Mediators to change:  3
              Services to change:  1
         Create boot environment: No
  Create backup boot environment: No
  
  Download:    0/2768 items     0.0/1116.8MB  0% complete 
  Download:  986/2768 items   172.7/1116.8MB  15% complete (34.6M/s)
  Download:  986/2768 items   263.1/1116.8MB  23% complete (26.4M/s)
  Download: 1757/2768 items   336.2/1116.8MB  30% complete (16.4M/s)
  Download: 1761/2768 items   545.1/1116.8MB  48% complete (28.0M/s)
  Download: 1800/2768 items   671.4/1116.8MB  60% complete (33.5M/s)
  Download: 1975/2768 items   763.7/1116.8MB  68% complete (22.0M/s)
  Download: 1991/2768 items   896.0/1116.8MB  80% complete (22.4M/s)
  Download: 2411/2768 items  1040.0/1116.8MB  93% complete (27.6M/s)
  Download: Completed 1.09 GB in 42.87 seconds (25.5M/s)
   Actions:    1/3607 actions (Installing new actions)
   Actions: 1087/3607 actions (Installing new actions)
   Actions: 1765/3607 actions (Installing new actions)
   Actions: 2729/3607 actions (Installing new actions)
   Actions: Completed 3607 actions in 24.85 seconds.
  Finalize: Updating package state database ... Done
  Finalize: Updating package cache ... Done
  Finalize: Updating image state ... Done
  Finalize: Creating fast lookup database ... Done
  Finalize: Updating package cache ... Done
  tar: directory checksum error
  curl: (23) Failure writing output to destination, passed 1378 returned 884
  Error: The process '/usr/bin/bash' failed with exit code 255

I suspect we are running out of disk space inside the VM 😕

But I have not found an option to configure the size of the virtual disc for the Solaris VM.

Any ideas ???

Thank you and best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions