dan-v / rattlesnakeos-stack Goto Github PK
View Code? Open in Web Editor NEWBuild your own privacy and security focused Android OS in the cloud.
License: MIT License
Build your own privacy and security focused Android OS in the cloud.
License: MIT License
rattlesnakeos-stack/templates/build_script.go
Line 274 in 6ac2e74
if [ -d "$HOME/bromite" ] ; then
pushd "$HOME/bromite"
git fetch origin
git checkout ${CHROMIUM_REVISION}
git reset --hard origin/${CHROMIUM_REVISION}
popd
else
git clone --branch ${CHROMIUM_REVISION} $BROMITE_URL $HOME/bromite
fi
Speeds up this process sooooooo much, and avoids errors when $HOME/bromite
already exists..
Running latest master. Building for taimen (Pixel 2 XL)
Build fails with the error
ln: failed to create symbolic link '/home/ubuntu/rattlesnake-os/kernel/google/marlin/verity_user.der.x509': No such file or directory
Linux
./rattlesnakeos-stack -r ap-southeast-2 -n rattlesnakeos-sjdrc -d taimen --ssh-key rattlesnakeos-sjdrc --spot-price 1.2
Should look something like this:
Device: taimen
Stack Version: WARNING: you should upgrade to the latest version: 0.0.10
Build Date: 2018.06.26.11
Elapsed Time: 4hrs 46min 42sec
(I've compiled from master)
Latest chromium (67.0.3396.101) is having some build errors at the moment. Opening this to track issue.
KeyError: "chrome_git was used as a variable, but was not declared in the vars dict.."
In the current state the tool is AWS specific. It would be nice to have a method of supporting local builds without any dependency on AWS.
On trying to deploy environment, I got this error.
Expected behavior: Complete deployment.
Actual behavior:
�[36mINFO�[0m[0000] Checking AWS credentials
�[36mINFO�[0m[0001] Creating S3 bucket rattlesnakeos-uniquename001
�[36mINFO�[0m[0003] Downloading Terraform binary from URL: https://releases.hashicorp.com/terraform/0.11.7/terraform_0.11.7_windows_amd64.zip
�[31mFATA�[0m[0012] Failed to create client: chmod C:\Users\User\AppData\Local\Temp\rattlesnakeos-stack850001234\terraform: The system cannot find the file specified.
Windows
rattlesnakeos-stack.exe --region eu-west-1 --name rattlesnakeos-uniquename001 --device marlin --ssh-key privkey123.pem
git verify-tag --raw $(git describe refs/tags/"$ANDROID_BUILD_TAG")
after repo init
.
repo forall -c 'git verify-tag --raw $(git describe)' || { ret=$? ; echo Verification failed! ; exit $ret ; }
after repo sync
.
This allows us to verify that the code has in fact been signed. Without this, there is no certainty that what you are building has not been tampered with.
Can be seen under site settings
Needs this patch I think:
https://github.com/AndroidHardeningArchive/chromium_patches/blob/oreo-m2-s3-release/0020-stop-enabling-search-engine-geolocation-by-default.patch
Some other patches in that repo may also be useful, although I get the point in not deviating too much from upstream. Also not sure about the licensing situation w.r.t COS.
There is also another unrelated issue with chromium, google and location. Google never manages to get the correct location. If you go to the google maps website, it keeps spinning but never gets the location. If you open google maps in firefox, it works.
I would like your program (the script template) that downloads and builds Chromium to please resume or at least reuse the Chromium checkout, because it takes like half an hour to download, and I've already hit the bandwidth cap for my IP address today from so much building.
rattlesnakeos-stack/templates/build_script.go
Line 274 in c717345
if [ -d $HOME/bromite ] ; then
pushd $HOME/bromite
git fetch origin
git checkout -f ${CHROMIUM_REVISION}
popd
else
git clone --branch ${CHROMIUM_REVISION} $BROMITE_URL $HOME/bromite
fi
How much does a build cost on average?
user
should probably be a variable that also acccepts userdebug
or eng
(useful to get a build that will support ADB out of the box to diagnose boot failures).
There is currently a bug where the Lambda function will fail to launch a spot instance if there are multiple VPCs (more than just the default VPC) in an account as it picks up all of the subnets. Some possible options are to limit scope to just the default VPC or create a VPC specifically for rattlesnakeos-stack.
Right now the build parts of the script is pretty closely coupled with the AWS release parts. I think that a better approach would be to generalise the build script so that it can be run on any machine or easily used in a systemd-nspawn or docker container by specifying environment variables. There seems to be a lack of simple, reliable build scripts for AOSP out there and this would be a useful resource for building a custom stack on another hosting site (for example digitalocean).
The script in build_script.go
will then set the required build variables and then execute the build script.
I have already done a majority of the build script refactor and hope to have it up on a repo by the end of the weekend.
if [ "$(aws s3 ls "s3://${AWS_RELEASE_BUCKET}/${DEVICE}-factory-latest.tar.xz" | wc -l)" == '0' ]; then
aws s3 cp "${BUILD_DIR}/out/release-${DEVICE}-${build_date}/${DEVICE}-factory-${build_date}.tar.xz" "s3://${AWS_RELEASE_BUCKET}/${DEVICE}-factory-latest.tar.xz"
fi
The factory image is never updated if it exists. A command line argument to update the factory image as well would be nice.
Yes
Build stops before finish
[Description of the bug or feature]
Here is a part of /var/log/syslog witch I think is relevant
Sep 7 18:09:44 ip-172-31-43-140 cloud-init[2261]: Preparing to unpack .../bsdiff_4.3-15_amd64.deb ...
Sep 7 18:09:44 ip-172-31-43-140 cloud-init[2261]: Unpacking bsdiff (4.3-15) ...
Sep 7 18:09:44 ip-172-31-43-140 cloud-init[2261]: Processing triggers for man-db (2.7.5-1) ...
Sep 7 18:09:44 ip-172-31-43-140 cloud-init[2261]: Setting up bsdiff (4.3-15) ...
Sep 7 18:09:46 ip-172-31-43-140 cloud-init[2261]: install-build-deps-android.sh complete.
Sep 7 18:09:46 ip-172-31-43-140 cloud-init[2261]: Not applying any patches to Chromium as requested
Sep 7 18:09:52 ip-172-31-43-140 cloud-init[2261]: Done. Made 22505 targets from 1535 files in 6432ms
Sep 7 18:09:52 ip-172-31-43-140 cloud-init[2261]: ninja: Entering directory `out/Default/'
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: ninja: error: '../../third_party/proguard/lib/proguard.jar', needed by 'gen/chrome/android/webapk/libs/runtime_library/webapk_runtime_library.jar', missing and no known rule to make it
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: Filesystem Size Used Avail Use% Mounted on
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: udev 15G 0 15G 0% /dev
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: tmpfs 3.0G 17M 3.0G 1% /run
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: /dev/xvda1 194G 42G 152G 22% /
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: tmpfs 15G 0 15G 0% /dev/shm
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: tmpfs 5.0M 0 5.0M 0% /run/lock
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: tmpfs 15G 0 15G 0% /sys/fs/cgroup
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: /dev/loop0 87M 87M 0 100% /snap/core/4830
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: /dev/loop1 13M 13M 0 100% /snap/amazon-ssm-agent/295
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: 4.0K#011/home/ubuntu/rattlesnake-os
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: 4.0K#011total
Sep 7 18:09:54 ip-172-31-43-140 cloud-init[2261]: 18:09:54 up 28 min, 0 users, load average: 1.33, 2.01, 2.03
Sep 7 18:10:09 ip-172-31-43-140 cloud-init[2261]: Completed 88.0 KiB/953.7 KiB with 1 file(s) remaining#015upload failed: ../../../../var/log/cloud-init-output.log to s3://rattlesnakeos-private-logs/walleye/1536343794 ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Linux
./rattlesnakeos-stack --region us-west-2 --name rattlesnakeos-private --device walleye --ssh-key ...
No event triggered
No log uploaded
Build failed after about 30 minutes, email text:
RattlesnakeOS build FAILED for sailfish (date=2018.06.21.09 aosp_build=OPM4.171019.021.D1 aosp_branch=android-8.1.0_r31 kernel_branch=android-msm-marlin-3.18-oreo-m4)
Expected behavior: build succeed
Actual behavior: build failed
You can get this information from executing rattlesnakeos-stack --version
.
./rattlesnakeos-stack --version
Error: unknown flag: --version
macOS
./rattlesnakeos-stack --region ap-northeast-1 --name rattlesnakeos-tectiv3 --device sailfish
Parts with error
in logs:
Warning: File /home/ubuntu/.android/repositories.cfg could not be loaded.
[= ] 4% Fetch remote repository...
[== ] 5% Fetch remote repository...
[== ] 6% Fetch remote repository...
[== ] 6% Computing updates...
[=== ] 8% Computing updates...
[=== ] 8% Computing updates...
[=== ] 10% Computing updates...
[=======================================] 100% Computing updates...
download failed: s3://rattlesnakeos-tectiv3-release/chromium/revision to - An error occurred (404) when calling the HeadObject operation: Not Found
Chromium current:
Chromium latest: 67.0.3396.87
Building chromium 67.0.3396.87
~/rattlesnake-os ~/chromium /
Cloning into '/home/ubuntu/depot_tools'...
src/v8 (ERROR)
Error: 138>
138> ____ src/v8 at a64db1ffcc1f9521a4e338b539607415fa64131e
138> You have unstaged changes.
138> Please commit, stash, or reset.
With a new optional flag, allow a git repo url to be provided which contains pre-built APKs and the required Android makefile to include it into the build process.
Yes
When rattlesnakeos-stack provisions to a new AWS account, it does not add tcp/22 access to the default security group.
TCP/22 should be allowed by default in the default security group or it should be added to the README that this is a required step for ssh troubleshooting.
Linux
./rattlesnakeos-stack --region us-east-2 --name ros-mine --device walleye --force --ssh-key us-east-2 --force
Should look something like this:
None
None.
I have a few problems with this ROM.
clock is stopped
displayed after alarm goes on.That's it so far. Do you also have those issues or they are specific to sailfish?
I am using latest version.
Tried 2 times, the ec2 instances spawned but looking at the cpu usage was activity only about 30 minutes after I think the build process quits with an error, but I don't have experience with aws and I can't look in logs if you can guide me I will leave the instance running more time to give you some debugging feedback.
rattlesnakeos-stack/templates/build_script.go
Line 210 in c717345
if [ ! -f sdk-tools.zip ] ; then
wget ${ANDROID_SDK_URL} -O sdk-tools.zip
fi
unzip -o sdk-tools.zip || {
echo unzip failed, retrying download
rm -f sdk-tools.zip
wget ${ANDROID_SDK_URL} -O sdk-tools.zip
unzip -o sdk-tools.zip
}
Latest version (with my modifications).
+ build/tools/releasetools/sign_target_files_apks -o -d keys/marlin --replace_verity_public_key keys/marlin/verity_key.pub --replace_verity_private_key keys/marlin/verity --replace_verity_keyid keys/marlin/verity.x509.pem out/target/product/marlin/obj/PACKAGING/target_files_intermediates/aosp_marlin-target_files-2018.10.04.11.zip out/release-marlin-2018.10.04.11/marlin-target_files-2018.10.04.11.zip
ERROR: no key specified for:
PicoTts.apk
SSRestartDetector.apk
See attached for modified build template.
stack-builder.txt
Yes.
The spot instance gets spun up and running. Negligible CPU/network use. When I logged in via ssh, it was not running the build script. This was on a brand new AWS account. I tried deploying / removing multiple times to deal with account limit issues since it was new.
Create new account.
Get limits raised
Download / run rattlesnake-stack
Login to spot instance
I saw these errors in the log:
2018-07-05 21:54:35,298 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2018-07-05 21:54:35,298 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_scripts_user.py'>) failed
Linux
./rattlesnakeos-stack --region us-east-2 --name ros-mine --device walleye --force --ssh-key us-east-2
None sent unless I run copy/run build.sh manually via ssh
No logs generated / pushed to S3
As I don't have a Reddit account, I'll post it here:
I've today build and flashed 9.0.5 onto the Pixel 2 and it seems to work without any problem.
Thank you for all the work.
Fails to build because sdk license isn't accepted
Linux
./rattlesnakeos-stack --region us-east-1 --instance-type c5.9xlarge --name rattlesnakeos-pg --device sailfish --ssh-key keyfile
Should look something like this:
RattlesnakeOS Build FAILED
Device: sailfish
Stack Name: rattlesnakeos-pg
Stack Version: 9.0.6
Stack Region: us-east-1
Release Channel: sailfish-stable
Instance Type: c5.9xlarge
Instance Region: us-east-2
Build Date: 2018.09.23.04
Elapsed Time: 2hrs 13min 48sec
AOSP Build: PPR2.180905.006
AOSP Branch: android-9.0.0_r7
Chromium Version: 69.0.3497.100
F-Droid Version: 1.4
F-Droid Priv Extension Version: 0.2.8
/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.pom
Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.pom
Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-parent/1.14/animal-sniffer-parent-1.14.pom
Download https://jcenter.bintray.com/org/codehaus/mojo/mojo-parent/34/mojo-parent-34.pom
Download https://jcenter.bintray.com/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
Download https://maven.google.com/com/android/tools/dvlib/26.1.1/dvlib-26.1.1.pom
Download https://maven.google.com/com/android/tools/repository/26.1.1/repository-26.1.1.pom
Download https://maven.google.com/com/android/tools/layoutlib/layoutlib-api/26.1.1/layoutlib-api-26.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/39/commons-parent-39.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.2.6/httpcomponents-client-4.2.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
Download https://jcenter.bintray.com/org/apache/apache/16/apache-16.pom
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.pom
Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.pom
Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
Download https://jcenter.bintray.com/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
Download https://jcenter.bintray.com/com/sun/activation/all/1.2.0/all-1.2.0.pom
Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
Download https://jcenter.bintray.com/net/java/jvnet-parent/1/jvnet-parent-1.pom
Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
Download https://jcenter.bintray.com/com/sun/xml/bind/jaxb-bom-ext/2.2.11/jaxb-bom-ext-2.2.11.pom
Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-bom/2.2.11/jaxb-bom-2.2.11.pom
Download https://jcenter.bintray.com/net/java/jvnet-parent/4/jvnet-parent-4.pom
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.pom
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.2.5/httpcomponents-core-4.2.5.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/commons-parent-22.pom
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.pom
Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.pom
Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.pom
Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/fastinfoset-project/1.2.13/fastinfoset-project-1.2.13.pom
Download https://jcenter.bintray.com/net/java/jvnet-parent/3/jvnet-parent-3.pom
Download https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.pom
Download https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.pom
Download https://jcenter.bintray.com/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.pom
Download https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-txw-parent/2.2.11/jaxb-txw-parent-2.2.11.pom
Download https://jcenter.bintray.com/com/sun/istack/istack-commons/2.21/istack-commons-2.21.pom
Download https://maven.google.com/com/android/tools/annotations/26.1.1/annotations-26.1.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.1/asm-tree-5.1.jar
Download https://maven.google.com/com/android/tools/build/gradle/3.1.1/gradle-3.1.1.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.1/asm-commons-5.1.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.1/asm-analysis-5.1.jar
Download https://maven.google.com/com/android/databinding/compilerCommon/3.1.1/compilerCommon-3.1.1.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.1/asm-5.1.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-util/5.1/asm-util-5.1.jar
Download https://maven.google.com/com/android/tools/common/26.1.1/common-26.1.1.jar
Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
Download https://maven.google.com/com/android/tools/build/gradle-api/3.1.1/gradle-api-3.1.1.jar
Download https://maven.google.com/com/android/tools/analytics-library/shared/26.1.1/shared-26.1.1.jar
Download https://maven.google.com/com/android/tools/sdk-common/26.1.1/sdk-common-26.1.1.jar
Download https://maven.google.com/com/android/tools/build/builder/3.1.1/builder-3.1.1.jar
Download https://maven.google.com/com/android/tools/build/bundletool/0.1.0-alpha01/bundletool-0.1.0-alpha01.jar
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.2.0/kotlin-stdlib-jre8-1.2.0.jar
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
Download https://maven.google.com/com/android/tools/lint/lint-gradle-api/26.1.1/lint-gradle-api-26.1.1.jar
Download https://maven.google.com/com/android/tools/build/gradle-core/3.1.1/gradle-core-3.1.1.jar
Download https://maven.google.com/com/android/tools/analytics-library/tracker/26.1.1/tracker-26.1.1.jar
Download https://maven.google.com/com/android/tools/repository/26.1.1/repository-26.1.1.jar
Download https://maven.google.com/com/android/tools/build/manifest-merger/26.1.1/manifest-merger-26.1.1.jar
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.jar
Download https://maven.google.com/com/android/tools/layoutlib/layoutlib-api/26.1.1/layoutlib-api-26.1.1.jar
Download https://maven.google.com/com/android/tools/annotations/26.1.1/annotations-26.1.1.jar
Download https://maven.google.com/com/android/tools/build/apksig/3.1.1/apksig-3.1.1.jar
Download https://maven.google.com/com/android/tools/build/builder-test-api/3.1.1/builder-test-api-3.1.1.jar
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jre7/1.2.0/kotlin-stdlib-jre7-1.2.0.jar
Download https://maven.google.com/com/android/tools/sdklib/26.1.1/sdklib-26.1.1.jar
Download https://maven.google.com/com/android/databinding/baseLibrary/3.1.1/baseLibrary-3.1.1.jar
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/3.4.0/protobuf-java-util-3.4.0.jar
Download https://maven.google.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
Download https://maven.google.com/com/android/tools/dvlib/26.1.1/dvlib-26.1.1.jar
Download https://maven.google.com/com/android/tools/analytics-library/protos/26.1.1/protos-26.1.1.jar
Download https://maven.google.com/com/android/tools/ddms/ddmlib/26.1.1/ddmlib-26.1.1.jar
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/3.4.0/protobuf-java-3.4.0.jar
Download https://jcenter.bintray.com/com/google/errorprone/error_prone_annotations/2.1.2/error_prone_annotations-2.1.2.jar
Download https://jcenter.bintray.com/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar
Download https://maven.google.com/com/android/tools/build/builder-model/3.1.1/builder-model-3.1.1.jar
Download https://jcenter.bintray.com/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
Download https://jcenter.bintray.com/com/squareup/javapoet/1.8.0/javapoet-1.8.0.jar
Download https://jcenter.bintray.com/com/google/j2objc/j2objc-annotations/1.1/j2objc-annotations-1.1.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.3.3/proguard-gradle-5.3.3.jar
Download https://jcenter.bintray.com/org/codehaus/mojo/animal-sniffer-annotations/1.14/animal-sniffer-annotations-1.14.jar
Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
Download https://jcenter.bintray.com/org/jetbrains/annotations/13.0/annotations-13.0.jar
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.2.6/httpclient-4.2.6.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.56/bcprov-jdk15on-1.56.jar
Download https://jcenter.bintray.com/it/unimi/dsi/fastutil/7.2.0/fastutil-7.2.0.jar
Download https://jcenter.bintray.com/com/sun/istack/istack-commons-runtime/2.21/istack-commons-runtime-2.21.jar
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib/1.2.0/kotlin-stdlib-1.2.0.jar
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.7/gson-2.7.jar
Download https://jcenter.bintray.com/com/google/guava/guava/22.0/guava-22.0.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.56/bcpkix-jdk15on-1.56.jar
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.12/commons-compress-1.12.jar
Download https://maven.google.com/com/android/tools/build/aapt2-proto/0.1.0/aapt2-proto-0.1.0.jar
Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.3.3/proguard-base-5.3.3.jar
Download https://jcenter.bintray.com/org/glassfish/jaxb/txw2/2.2.11/txw2-2.2.11.jar
Download https://jcenter.bintray.com/com/sun/activation/javax.activation/1.2.0/javax.activation-1.2.0.jar
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
Download https://jcenter.bintray.com/javax/xml/bind/jaxb-api/2.2.12-b140109.1041/jaxb-api-2.2.12-b140109.1041.jar
Download https://jcenter.bintray.com/com/google/auto/value/auto-value/1.5.2/auto-value-1.5.2.jar
Download https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-reflect/1.2.0/kotlin-reflect-1.2.0.jar
Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-core/2.2.11/jaxb-core-2.2.11.jar
Download https://jcenter.bintray.com/org/jvnet/staxex/stax-ex/1.7.7/stax-ex-1.7.7.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.2.5/httpcore-4.2.5.jar
Download https://jcenter.bintray.com/com/sun/xml/fastinfoset/FastInfoset/1.2.13/FastInfoset-1.2.13.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
Download https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.jar
buildTypes.debug defaultConfig.versionCode 1004050
File /home/ubuntu/.android/repositories.cfg could not be loaded.
Checking the license for package Android SDK Build-Tools 27.0.3 in /home/ubuntu/sdk/licenses
Warning: License for package Android SDK Build-Tools 27.0.3 not accepted.
Checking the license for package Android SDK Platform 27 in /home/ubuntu/sdk/licenses
Warning: License for package Android SDK Platform 27 not accepted.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-27 Android SDK Platform 27
build-tools;27.0.3 Android SDK Build-Tools 27.0.3
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
Using Android SDK: /home/ubuntu/sdk
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 48s
[ 2% 1960/86823] Notice file: frameworks/base/packages/PrintRecommendationService/NOTICE -- out/target/product/sailfish/obj/NOTICE_FILES/src/system/app/PrintRecommendationService/PrintRecommendationService.apk.txt
[ 2% 1961/86823] Check module type: out/target/common/obj/APPS/PrintRecommendationService_intermediates/link_type
[ 2% 1962/86823] target C++: libv8src <= external/v8/src/wasm/wasm-js.cc
[ 2% 1963/86823] target C++: libv8src <= external/v8/src/arm64/instructions-arm64.cc
[ 2% 1964/86823] target C++: libv8src <= external/v8/src/arm64/disasm-arm64.cc
[ 2% 1965/86823] target C++: libv8src <= external/v8/src/arm64/interface-descriptors-arm64.cc
[ 2% 1966/86823] target C++: libv8src <= external/v8/src/wasm/wasm-objects.cc
[ 2% 1967/86823] target C++: libv8src <= external/v8/src/arm64/deoptimizer-arm64.cc
[ 2% 1968/86823] target C++: libv8gen <= out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/experimental-libraries.cc
[ 2% 1969/86823] target C++: libv8gen <= out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/extra-libraries.cc
[ 2% 1970/86823] target C++: libv8gen <= out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/experimental-extra-libraries.cc
[ 2% 1971/86823] target C++: libv8src <= external/v8/src/compiler/arm64/unwinding-info-writer-arm64.cc
[ 2% 1972/86823] target C++: libv8gen <= external/v8/src/snapshot/snapshot-empty.cc
[ 2% 1973/86823] target C++: libv8src <= external/v8/src/arm64/assembler-arm64.cc
[ 2% 1974/86823] target C++: libv8src <= external/v8/src/wasm/module-decoder.cc
[ 2% 1975/86823] target C++: libv8gen <= out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/libraries.cc
[ 2% 1976/86823] target C++: libv8src <= external/v8/src/compiler/arm64/instruction-scheduler-arm64.cc
[ 2% 1977/86823] target C++: libv8src <= external/v8/src/arm64/code-stubs-arm64.cc
[ 2% 1978/86823] target C++: libv8src <= external/v8/src/crankshaft/arm64/delayed-masm-arm64.cc
[ 2% 1979/86823] target C++: libv8src <= external/v8/src/crankshaft/arm64/lithium-gap-resolver-arm64.cc
[ 2% 1980/86823] target C++: libv8src <= external/v8/src/debug/arm64/debug-arm64.cc
[ 2% 1981/86823] target C++: libv8src <= external/v8/src/arm64/macro-assembler-arm64.cc
[ 2% 1982/86823] target C++: libv8src <= external/v8/src/compiler/arm64/instruction-selector-arm64.cc
[ 2% 1983/86823] target C++: libv8src <= external/v8/src/ic/arm64/access-compiler-arm64.cc
[ 2% 1984/86823] target C++: libv8src <= external/v8/src/ic/arm64/handler-compiler-arm64.cc
[ 2% 1985/86823] target C++: libv8src <= external/v8/src/ic/arm64/ic-arm64.cc
[ 2% 1986/86823] target C++: libv8src <= external/v8/src/wasm/wasm-interpreter.cc
[ 2% 1987/86823] target C++: libv8src <= external/v8/src/wasm/wasm-module.cc
[ 2% 1988/86823] target C++: libv8src <= external/v8/src/regexp/arm64/regexp-macro-assembler-arm64.cc
[ 2% 1989/86823] target C++: libv8src <= external/v8/src/builtins/arm64/builtins-arm64.cc
[ 2% 1990/86823] target C++: libv8src <= external/v8/src/compiler/arm64/code-generator-arm64.cc
[ 2% 1991/86823] target C++: libv8src <= external/v8/src/full-codegen/arm64/full-codegen-arm64.cc
[ 2% 1992/86823] target C++: libv8src <= external/v8/src/crankshaft/arm64/lithium-arm64.cc
[ 2% 1993/86823] target C++: libv8src <= external/v8/src/crankshaft/arm64/lithium-codegen-arm64.cc
[ 2% 1994/86823] target C++: libv8src <= external/v8/src/objects.cc
ninja: build stopped: subcommand failed.
06:50:50 ninja failed with: exit status 1
Filesystem Size Used Avail Use% Mounted on
udev 35G 0 35G 0% /dev
tmpfs 6.9G 113M 6.8G 2% /run
/dev/nvme0n1p1 194G 66G 129G 34% /
tmpfs 35G 0 35G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 35G 0 35G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4830
/dev/loop1 13M 13M 0 100% /snap/amazon-ssm-agent/295
62G /home/ubuntu/rattlesnake-os
62G total
06:50:53 up 2:14, 0 users, load average: 22.30, 13.18, 15.14
Completed 256.0 KiB/12.1 MiB with 1 file(s) remaining
Completed 512.0 KiB/12.1 MiB with 1 file(s) remaining
Completed 768.0 KiB/12.1 MiB with 1 file(s) remaining
Completed 1.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 1.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 1.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 1.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 2.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 2.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 2.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 2.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 3.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 3.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 3.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 3.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 4.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 4.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 4.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 4.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 5.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 5.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 5.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 5.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 6.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 6.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 6.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 6.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 7.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 7.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 7.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 7.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 8.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 8.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 8.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 8.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 9.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 9.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 9.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 9.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 10.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 10.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 10.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 10.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 11.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 11.2 MiB/12.1 MiB with 1 file(s) remaining
Completed 11.5 MiB/12.1 MiB with 1 file(s) remaining
Completed 11.8 MiB/12.1 MiB with 1 file(s) remaining
Completed 12.0 MiB/12.1 MiB with 1 file(s) remaining
Completed 12.1 MiB/12.1 MiB with 1 file(s) remaining
upload: ../../../var/log/cloud-init-output.log to s3://rattlesnakeos-pg-logs/sailfish/1537685453
Log file is quite big. Can attach if needed. (Also not sure if all sensitive information is pruned from the log)
rattlesnakeos-stack/templates/build_script.go
Line 679 in 6ac2e74
if [] rather than if ${}.
Just executed the rattlesnakeos cli like this:
./rattlesnakeos-stack --region us-west-2 --name rattlesnakeos-chaos --device marlin
It shows:
iam_ec2_instance_profile_arn = arn:aws:iam::734408xxxxxx:instance-profile/rattlesnakeos-chaos-ec2
But no ec2 instance is running...
S3 buckets and lambda function is deployed properly but the instance is not.
I am on a free tier account tough I can launch paid instances so I don't see a problem.
Any thoughts ?
Currently the Lambda function launches a spot instance, which does version checks for stack, AOSP, Chromium, F-Droid, etc and if there are no new versions will exit. Rather than waste money spinning up an EC2 instance to do this, just run the checks in the Lambda function.
Is it possible to build on your own hardware rather than AWS?
I have a 42u rack full of beefy CPU servers and plenty of RAM. If not, would it be possible to work on a build that we can build in-house?
When will rattlesnakeos support Android P?
rattlesnakeos-stack/templates/build_script.go
Line 263 in c717345
Instead of the gclient sync
, try this:
for gitdir in $( find -name .git ) ; do
pushd $gitdir/..
git clean -dff
popd
done
yes | gclient sync --with_branch_heads --jobs 32 -RDf
That does a sync but only after git clean
so that sync cannot fail with a patched source tree.
rattlesnakeos-stack/templates/build_script.go
Line 515 in c717345
if test -d "${MARLIN_KERNEL_SOURCE_DIR}"/.git ; then
pushd "${MARLIN_KERNEL_SOURCE_DIR}"
sed -i 's|url = .*|url = '"${MARLIN_KERNEL_SOURCE_DIR}"'|' .git/config
git fetch
popd
else
git clone "${KERNEL_SOURCE_URL}" "${MARLIN_KERNEL_SOURCE_DIR}"
fi
After running the second build for a day (manually), the script uploads the ota files to aws, but in aws_release, it attempts to delete the old ota after uploading the new one, which results in the script deleting the file that it just uploaded.
Last lines of log
upload: release-taimen-2018.07.07.13/taimen-ota_update-2018.07.07.13.zip to s3://sjdrc-release/taimen-ota_update-2018.07.07.13.zip
delete: s3://sjdrc-release/taimen-ota_update-2018.07.07.13.zip
download: s3://sjdrc-release/taimen-target/taimen-target-files-2018.07.07.13.zip to ../taimen-target/taimen-target-files-2018.07.07.13.zip
~/rattlesnake-os/out ~/rattlesnake-os/out
~/rattlesnake-os/taimen-target ~/rattlesnake-os/out ~/rattlesnake-os/out
fatal error: An error occurred (404) when calling the HeadObject operation: Key "taimen-target/taimen-target-files-2018.07.07.00.zip" does not exist
delete: s3://sjdrc-release/taimen-target/taimen-target-files-2018.07.07.13.zip
upload: ../out/release-taimen-2018.07.07.13/taimen-target_files-2018.07.07.13.zip to s3://sjdrc-release/taimen-target/taimen-target-files-2018.07.07.13.zip
Running version 0.0.14
Unable to install apps from FDroid due to ungranted permissions to the extension
Linux
From previous issue. I'm on a train and will update when I get to the office.
N/A but will attach later if required
N/A but will attach later if required
Build keeps failing and I cannot figure out why
[Description of the bug or feature]
Expected behavior: Build finish successfully
Actual behavior: Build fails
Linux
./artifacts/0.0.25.1/linux/rattlesnakeos-stack --region us-east-2 --prevent-shutdown --name rattlesnakeos-gpxl2 --device taimen --ssh-key awsedu
e.g. T-mobile, etc
Should look something like this:
RattlesnakeOS Build FAILED
Device: taimen
Stack Version: 0.0.25.1 WARNING: you should upgrade to the latest version: 9.0.3
Build Date: 2018.09.05.00
Elapsed Time: 0hrs 25min 16sec
AOSP Build: OPM2.171026.006.H1
AOSP Branch: android-8.1.0_r36
Chromium Version: 69.0.3497.73
F-Droid Version: 1.3.1
F-Droid Priv Extension Version: 0.2.8
ox (3.6.1-1ubuntu2.1) ...
[1536108486.txt](https://github.com/dan-v/rattlesnakeos-stack/files/2350794/1536108486.txt)
You can find log files in your S3 bucket <stackname>-logs/<device>/<timestamp>
Currently not signing commits or doing verification at build time.
Will you offer an option to build with the microG gapps implementation, with the needed signature spoofing?
In email notification, highlight reason why the build is required (e.g. Chromium version changed, etc).
It seems that building Chromium is an important fraction of the total build time. I'm going to use Bromite as a browser anyway (it integrates an adblock and other stuff). Is it possible to skip building Chromium? It would be nice to have a flag for that.
Amazon Kindle doesn't login, claiming a problem with "connecting to Amazon". A webview with some sort of error momentarily pops up, probably meaning something wrong with the webview. I wonder whether this is due to the "privacy" patches done to Chromium preventing Kindle from displaying the Amazon stuff using the WebView correctly.
Expected behavior: WebView-based Amazon login screen appears
Actual behavior: WebView showing an error appears for a split seconds, and Kindle shows a toast saying that it cannot connect to Amazon.
After patch_fdroid() runs, it seems to display an error running one of the other functions. It does however continue with rebuilding kernel.
Actual behavior:
Failed with an exception
Ubuntu 16.04 LTS
./rattlesnakeos-stack --region us-west-2 --name rattlesnakeos-whatever --device marlin --ssh-key whatever
==================================
Running apply_patches
==================================
~/rattlesnake-os/packages/apps/Updater/res/values ~/rattlesnake-os ~/chromium/src /
~/rattlesnake-os/packages/apps/F-Droid ~/rattlesnake-os/packages/apps/Updater/res/values ~/rattlesnake-os ~/chromium/src /
Downloading https://services.gradle.org/distributions/gradle-3.2.1-bin.zip
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/ubuntu/.gradle/wrapper/dists/gradle-3.2.1-bin/erlz51pt56t1o6vc7t39cikug/gradle-3.2.1-bin.zip to /home/ubuntu/.gradle/wrapper/dists/gradle-3.2.1-bin/erlz51pt56t1o6vc7t39cikug
Set executable permissions for: /home/ubuntu/.gradle/wrapper/dists/gradle-3.2.1-bin/erlz51pt56t1o6vc7t39cikug/gradle-3.2.1/bin/gradle
Starting a Gradle Daemon (subsequent builds will be faster)
Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.2/gradle-core-2.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder/2.2.2/builder-2.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.2.2/lint-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.2.2/gradle-api-2.2.2.pom
Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.2.2/compilerCommon-2.2.2.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.4/asm-parent-5.0.4.pom
Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.2.1/proguard-gradle-5.2.1.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-parent/5.2.1/proguard-parent-5.2.1.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.build/0.7.5.201505241946/org.jacoco.build-0.7.5.201505241946.pom
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.pom
Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.pom
Download https://jcenter.bintray.com/com/google/google/1/google-1.pom
Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.pom
Download https://jcenter.bintray.com/org/antlr/antlr-master/3.5.2/antlr-master-3.5.2.pom
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/9/oss-parent-9.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.2.2/builder-model-2.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.2.2/builder-test-api-2.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/sdklib/25.2.2/sdklib-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.2.2/sdk-common-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/common/25.2.2/common-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.2.2/manifest-merger-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.2.2/ddmlib-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.11.0/jack-api-0.11.0.pom
Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.pom
Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.2.2/protos-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.2.2/shared-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.2.2/tracker-25.2.2.pom
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.pom
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.2.2/lint-checks-25.2.2.pom
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.5.1/ecj-4.5.1.pom
Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.2.2/baseLibrary-2.2.2.pom
Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.pom
Download https://jcenter.bintray.com/org/antlr/antlr4-master/4.5.3/antlr4-master-4.5.3.pom
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/25/commons-parent-25.pom
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.pom
Download https://jcenter.bintray.com/com/android/tools/annotations/24.5.0/annotations-24.5.0.pom
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom
Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.pom
Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.pom
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.2/layoutlib-api-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/dvlib/25.2.2/dvlib-25.2.2.pom
Download https://jcenter.bintray.com/com/android/tools/repository/25.2.2/repository-25.2.2.pom
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/33/commons-parent-33.pom
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1.1/httpcomponents-client-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/4.1.1/project-4.1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.1/httpcomponents-client-4.1.pom
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.2/lint-api-25.2.2.pom
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.pom
Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.pom
Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom
Download https://jcenter.bintray.com/com/google/jimfs/jimfs-parent/1.1/jimfs-parent-1.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.1/httpcomponents-core-4.1.pom
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/5/commons-parent-5.pom
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/11/commons-parent-11.pom
Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.pom
Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/145.597.3/uast-145.597.3.pom
Download https://jcenter.bintray.com/com/android/tools/annotations/25.2.2/annotations-25.2.2.pom
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.2.2/gradle-2.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/gradle-core/2.2.2/gradle-core-2.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder/2.2.2/builder-2.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint/25.2.2/lint-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
Download https://jcenter.bintray.com/com/android/tools/build/gradle-api/2.2.2/gradle-api-2.2.2.jar
Download https://jcenter.bintray.com/com/android/databinding/compilerCommon/2.2.2/compilerCommon-2.2.2.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-commons/5.0.4/asm-commons-5.0.4.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-gradle/5.2.1/proguard-gradle-5.2.1.jar
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.core/0.7.5.201505241946/org.jacoco.core-0.7.5.201505241946.jar
Download https://jcenter.bintray.com/org/jacoco/org.jacoco.report/0.7.5.201505241946/org.jacoco.report-0.7.5.201505241946.jar
Download https://jcenter.bintray.com/net/sf/jopt-simple/jopt-simple/4.9/jopt-simple-4.9.jar
Download https://jcenter.bintray.com/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar
Download https://jcenter.bintray.com/org/antlr/antlr/3.5.2/antlr-3.5.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-model/2.2.2/builder-model-2.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/builder-test-api/2.2.2/builder-test-api-2.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/sdklib/25.2.2/sdklib-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/sdk-common/25.2.2/sdk-common-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/common/25.2.2/common-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/build/manifest-merger/25.2.2/manifest-merger-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/25.2.2/ddmlib-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/jack/jack-api/0.11.0/jack-api-0.11.0.jar
Download https://jcenter.bintray.com/com/android/tools/jill/jill-api/0.10.0/jill-api-0.10.0.jar
Download https://jcenter.bintray.com/com/android/tools/analytics-library/protos/25.2.2/protos-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/analytics-library/shared/25.2.2/shared-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/analytics-library/tracker/25.2.2/tracker-25.2.2.jar
Download https://jcenter.bintray.com/com/squareup/javawriter/2.5.0/javawriter-2.5.0.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar
Download https://jcenter.bintray.com/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-tree/5.0.4/asm-tree-5.0.4.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-checks/25.2.2/lint-checks-25.2.2.jar
Download https://jcenter.bintray.com/org/eclipse/jdt/core/compiler/ecj/4.5.1/ecj-4.5.1.jar
Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/2.2.2/baseLibrary-2.2.2.jar
Download https://jcenter.bintray.com/org/antlr/antlr4/4.5.3/antlr4-4.5.3.jar
Download https://jcenter.bintray.com/commons-io/commons-io/2.4/commons-io-2.4.jar
Download https://jcenter.bintray.com/com/googlecode/juniversalchardet/juniversalchardet/1.0.3/juniversalchardet-1.0.3.jar
Download https://jcenter.bintray.com/net/sf/proguard/proguard-base/5.2.1/proguard-base-5.2.1.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.0.1/asm-debug-all-5.0.1.jar
Download https://jcenter.bintray.com/org/antlr/antlr-runtime/3.5.2/antlr-runtime-3.5.2.jar
Download https://jcenter.bintray.com/org/antlr/ST4/4.0.8/ST4-4.0.8.jar
Download https://jcenter.bintray.com/com/android/tools/layoutlib/layoutlib-api/25.2.2/layoutlib-api-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/dvlib/25.2.2/dvlib-25.2.2.jar
Download https://jcenter.bintray.com/com/android/tools/repository/25.2.2/repository-25.2.2.jar
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
Download https://jcenter.bintray.com/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.1.1/httpclient-4.1.1.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.1/httpmime-4.1.jar
Download https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.jar
Download https://jcenter.bintray.com/com/android/tools/lint/lint-api/25.2.2/lint-api-25.2.2.jar
Download https://jcenter.bintray.com/org/ow2/asm/asm-analysis/5.0.4/asm-analysis-5.0.4.jar
Download https://jcenter.bintray.com/com/intellij/annotations/12.0/annotations-12.0.jar
Download https://jcenter.bintray.com/com/google/jimfs/jimfs/1.1/jimfs-1.1.jar
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
Download https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar
Download https://jcenter.bintray.com/com/android/tools/external/com-intellij/uast/145.597.3/uast-145.597.3.jar
Download https://jcenter.bintray.com/com/android/tools/annotations/25.2.2/annotations-25.2.2.jar
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_3vudhze99ar1vo69pk1n5bwx.run(/home/ubuntu/rattlesnake-os/packages/apps/F-Droid/app/build.gradle:2)
File /home/ubuntu/.android/repositories.cfg could not be loaded.
Preparing "Install Android SDK Build-Tools 25.0.3".
"Install Android SDK Build-Tools 25.0.3" ready.
Finishing "Install Android SDK Build-Tools 25.0.3"
Installing Android SDK Build-Tools 25.0.3 in /home/ubuntu/sdk/build-tools/25.0.3
"Install Android SDK Build-Tools 25.0.3" complete.
Preparing "Install Android SDK Platform 24".
"Install Android SDK Platform 24" ready.
Finishing "Install Android SDK Platform 24"
Installing Android SDK Platform 24 in /home/ubuntu/sdk/platforms/android-24
"Install Android SDK Platform 24" complete.
Download https://jcenter.bintray.com/com/nostra13/universalimageloader/universal-image-loader/1.9.5/universal-image-loader-1.9.5.pom
Download https://jcenter.bintray.com/com/google/zxing/core/3.3.2/core-3.3.2.pom
Download https://jcenter.bintray.com/com/google/zxing/zxing-parent/3.3.2/zxing-parent-3.3.2.pom
Download https://jcenter.bintray.com/eu/chainfire/libsuperuser/1.0.0.201602271131/libsuperuser-1.0.0.201602271131.pom
Download https://jcenter.bintray.com/cc/mvdan/accesspoint/library/0.2.0/library-0.2.0.pom
Download https://jcenter.bintray.com/info/guardianproject/netcipher/netcipher/2.0.0-alpha1/netcipher-2.0.0-alpha1.pom
Download https://jcenter.bintray.com/info/guardianproject/panic/panic/0.5/panic-0.5.pom
Download https://jcenter.bintray.com/commons-io/commons-io/2.5/commons-io-2.5.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/39/commons-parent-39.pom
Download https://jcenter.bintray.com/org/apache/apache/16/apache-16.pom
Download https://jcenter.bintray.com/commons-net/commons-net/3.5/commons-net-3.5.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/40/commons-parent-40.pom
Download https://jcenter.bintray.com/org/apache/apache/17/apache-17.pom
Download https://jcenter.bintray.com/org/jmdns/jmdns/3.5.3/jmdns-3.5.3.pom
Download https://jcenter.bintray.com/ch/acra/acra/4.9.1/acra-4.9.1.pom
Download https://jcenter.bintray.com/io/reactivex/rxjava/1.1.0/rxjava-1.1.0.pom
Download https://jcenter.bintray.com/io/reactivex/rxandroid/0.23.0/rxandroid-0.23.0.pom
Download https://jcenter.bintray.com/com/hannesdorfmann/adapterdelegates3/3.0.1/adapterdelegates3-3.0.1.pom
Download https://jitpack.io/com/github/pserwylo/BottomNavigation/1.5.0/BottomNavigation-1.5.0.pom
Download https://jcenter.bintray.com/com/fasterxml/jackson/core/jackson-core/2.8.7/jackson-core-2.8.7.pom
Download https://jcenter.bintray.com/com/fasterxml/jackson/jackson-parent/2.8/jackson-parent-2.8.pom
Download https://jcenter.bintray.com/com/fasterxml/oss-parent/27/oss-parent-27.pom
Download https://jcenter.bintray.com/com/fasterxml/jackson/core/jackson-annotations/2.8.7/jackson-annotations-2.8.7.pom
Download https://jcenter.bintray.com/com/fasterxml/jackson/core/jackson-databind/2.8.7/jackson-databind-2.8.7.pom
Download https://jcenter.bintray.com/com/madgag/spongycastle/pkix/1.54.0.0/pkix-1.54.0.0.pom
Download https://jcenter.bintray.com/com/madgag/spongycastle/prov/1.54.0.0/prov-1.54.0.0.pom
Download https://jcenter.bintray.com/com/madgag/spongycastle/core/1.54.0.0/core-1.54.0.0.pom
Download https://jcenter.bintray.com/org/slf4j/slf4j-api/1.7.16/slf4j-api-1.7.16.pom
Download https://jcenter.bintray.com/org/slf4j/slf4j-parent/1.7.16/slf4j-parent-1.7.16.pom
Preparing "Install Solver for ConstraintLayout 1.0.2".
"Install Solver for ConstraintLayout 1.0.2" ready.
Finishing "Install Solver for ConstraintLayout 1.0.2"
Installing Solver for ConstraintLayout 1.0.2 in /home/ubuntu/sdk/extras/m2repository/com/android/support/constraint/constraint-layout-solver/1.0.2
"Install Solver for ConstraintLayout 1.0.2" failed.
Preparing "Install ConstraintLayout for Android 1.0.2".
"Install ConstraintLayout for Android 1.0.2" ready.
Finishing "Install ConstraintLayout for Android 1.0.2"
Installing ConstraintLayout for Android 1.0.2 in /home/ubuntu/sdk/extras/m2repository/com/android/support/constraint/constraint-layout/1.0.2
"Install ConstraintLayout for Android 1.0.2" failed.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> Failed to install the following SDK components:
[ConstraintLayout for Android 1.0.2, Solver for ConstraintLayout 1.0.2]
Please install the missing components using the SDK manager in Android Studio.
> Could not resolve all dependencies for configuration ':app:compile'.
> Could not find com.android.support:support-v4:25.3.1.
Required by:
project :app
> Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support:gridlayout-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support:support-annotations:25.3.1.
Required by:
project :app
> Could not find com.android.support:recyclerview-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support:cardview-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support:design:25.3.1.
Required by:
project :app
> Could not find com.android.support:support-vector-drawable:25.3.1.
Required by:
project :app
> Could not find com.android.support.constraint:constraint-layout:1.0.2.
Required by:
project :app
> Could not find com.android.support:palette-v7:25.3.1.
Required by:
project :app
> Could not find com.android.support:support-v4:25.3.1.
Required by:
project :app > ch.acra:acra:4.9.1
> Could not find com.android.support:support-annotations:25.3.1.
Required by:
project :app > ch.acra:acra:4.9.1
> Could not find com.android.support:recyclerview-v7:25.3.1.
Required by:
project :app > com.hannesdorfmann:adapterdelegates3:3.0.1
> Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app > com.github.pserwylo:BottomNavigation:1.5.0
> Could not find com.android.support:design:25.3.1.
Required by:
project :app > com.github.pserwylo:BottomNavigation:1.5.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 45.461 secs
==================================
Running rebuild_marlin_kernel
==================================
Cloning into '/home/ubuntu/rattlesnake-os/kernel/google/marlin'...
built from master
Build fails with the following error during the build of chromium
ninja: Entering directory `out/Default/'
ninja: error: '../../third_party/libsync/src/sync.c', needed by 'obj/third_party/libsync/libsync/sync.o', missing and no known rule to make it
Compile the go application and run it to provision AWS services
Expected behavior:
Actual behavior: [What actually happened]
Linux
./rattlesnakeos-stack --region ap-southeast-2 --name rattlesnakeos-sjdrc --device taimen --ssh-key rattlesnakeos-sjdrc --spot-price 1.2 --prevent-shutdown
Received no error notification
Build fails on sailfish.
Expected behavior: Build
Actual behavior: Failed
Linux
AWS_ACCESS_KEY_ID=??? AWS_SECRET_ACCESS_KEY=??? ./rattlesnakeos-stack --region us-west-2 --name rattlej1 --device sailfish
Cricket
From
AWS Notifications [email protected]
Th 23. Aug 02:14
Sender
01010165648f71d9-ca2649b1-c783-4703-8f9a-386a80f0088e-000000@us-west-2.amazonses.com
To
Me [email protected]
AWS Notification Message
RattlesnakeOS Build FAILED
Device: sailfish
Stack Name: rattlej1
Stack Version: 9.0.2
Release Channel: sailfish-stable
Build Date: 2018.08.22.21
Elapsed Time: 4hrs 58min 56sec
AOSP Build: PPR1.180610.009
AOSP Branch: android-9.0.0_r1
Chromium Version: 69.0.3497.41
F-Droid Version: 1.3.1
F-Droid Priv Extension Version: 0.2.8
et/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/experimental-extra-libraries.cc
[ 1% 1437/86805] Copy: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/extra-libraries.cc
[ 1% 1438/86805] bc: libclcore_neon.bc_32 <= frameworks/rs/driver/runtime/arch/clamp.c
[ 1% 1439/86805] Check module type: out/target/product/sailfish/obj/SHARED_LIBRARIES/libpac_intermediates/link_type
[ 1% 1440/86805] Check module type: out/target/product/sailfish/obj/SHARED_LIBRARIES/libnfc_nci_jni_intermediates/link_type
[ 1% 1441/86805] Generating experimental-libraries.cc
[ 1% 1442/86805] Copy: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/experimental-libraries.cc
[ 1% 1443/86805] Check module type: out/target/product/sailfish/obj/APPS/NfcNci_intermediates/jni_link_type
[ 1% 1444/86805] Check module type: out/target/product/sailfish/obj/SHARED_LIBRARIES/libjni_pacprocessor_intermediates/link_type
[ 1% 1445/86805] Check module type: out/target/product/sailfish/obj/APPS/PacProcessor_intermediates/jni_link_type
[ 1% 1446/86805] host C++: libv8base <= external/v8/src/base/once.cc
[ 1% 1447/86805] Generating libraries.cc
[ 1% 1448/86805] Copy: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/libraries.cc
[ 1% 1449/86805] Export includes file: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/libraries.cc -- out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8gen_intermediates/export_includes
[ 1% 1450/86805] host C++: libv8base <= external/v8/src/base/cpu.cc
[ 1% 1451/86805] host C++: libv8base <= external/v8/src/base/functional.cc
[ 1% 1452/86805] host C++: v8mkpeephole <= external/v8/src/interpreter/bytecode-operands.cc
[ 1% 1453/86805] host C++: libv8base <= external/v8/src/base/file-utils.cc
[ 1% 1454/86805] host C++: libv8base <= external/v8/src/base/division-by-constant.cc
[ 1% 1455/86805] host C++: libv8base <= external/v8/src/base/debug/stack_trace.cc
[ 1% 1456/86805] host C++: libv8base <= external/v8/src/base/logging.cc
[ 1% 1457/86805] host C++: libv8base <= external/v8/src/base/platform/mutex.cc
[ 1% 1458/86805] Check module type: out/host/linux-x86/obj/EXECUTABLES/v8mkpeephole_intermediates/link_type
[ 1% 1459/86805] host C++: libv8base <= external/v8/src/base/ieee754.cc
[ 1% 1460/86805] build out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt
[ 1% 1461/86805] target C++: libv8base <= external/v8/src/base/cpu.cc
[ 1% 1462/86805] host C++: libv8base <= external/v8/src/base/platform/condition-variable.cc
[ 1% 1463/86805] target C++: libv8base <= external/v8/src/base/bits.cc
[ 1% 1464/86805] host C++: libv8base <= external/v8/src/base/bits.cc
[ 1% 1465/86805] host C++: v8mkpeephole <= external/v8/src/interpreter/bytecodes.cc
[ 1% 1466/86805] host C++: v8mkpeephole <= external/v8/src/interpreter/mkpeephole.cc
[ 1% 1467/86805] host C++: libv8base <= external/v8/src/base/sys-info.cc
[ 1% 1468/86805] host C++: libv8base <= external/v8/src/base/platform/time.cc
[ 1% 1469/86805] target C++: libv8base <= external/v8/src/base/once.cc
[ 1% 1470/86805] host C++: libv8base <= external/v8/src/base/utils/random-number-generator.cc
[ 1% 1471/86805] target C++: libv8base <= external/v8/src/base/debug/stack_trace.cc
[ 1% 1472/86805] target C++: libv8base <= external/v8/src/base/functional.cc
[ 1% 1473/86805] host C++: libv8base <= external/v8/src/base/platform/platform-posix.cc
[ 1% 1474/86805] host C++: libv8base <= external/v8/src/base/platform/platform-linux.cc
[ 1% 1475/86805] target C++: libv8base <= external/v8/src/base/division-by-constant.cc
[ 1% 1476/86805] target C++: libv8base <= external/v8/src/base/ieee754.cc
[ 1% 1477/86805] target C++: libv8base <= external/v8/src/base/platform/mutex.cc
[ 1% 1478/86805] target C++: libv8base <= external/v8/src/base/platform/condition-variable.cc
[ 1% 1479/86805] target C++: libv8base <= external/v8/src/base/sys-info.cc
[ 1% 1480/86805] target C++: libv8base <= external/v8/src/base/utils/random-number-generator.cc
[ 1% 1481/86805] target C++: libv8base <= external/v8/src/base/file-utils.cc
[ 1% 1482/86805] host C++: libv8base <= external/v8/src/base/platform/semaphore.cc
[ 1% 1483/86805] target C++: libv8base <= external/v8/src/base/platform/semaphore.cc
[ 1% 1484/86805] target C++: libv8base <= external/v8/src/base/platform/time.cc
[ 1% 1485/86805] Check module type: out/target/product/sailfish/obj_arm/STATIC_LIBRARIES/libgif_intermediates/link_type
[ 1% 1486/86805] Export includes file: -- out/target/product/sailfish/obj_arm/SHARED_LIBRARIES/libframesequence_intermediates/export_includes
[ 1% 1487/86805] target C++: libv8base <= external/v8/src/base/platform/platform-posix.cc
[ 1% 1488/86805] Import includes file: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8sampler_intermediates/import_includes
[ 1% 1489/86805] target C++: libv8base <= external/v8/src/base/logging.cc
[ 1% 1490/86805] Check module type: out/target/product/sailfish/obj/STATIC_LIBRARIES/libregistermsext_intermediates/link_type
[ 1% 1491/86805] Import includes file: out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8src_intermediates/import_includes
[ 1% 1492/86805] target C++: libv8base <= external/v8/src/base/platform/platform-linux.cc
[ 1% 1493/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/trace-object.cc
[ 1% 1494/86805] host C++: libv8base <= external/v8/src/base/debug/stack_trace_posix.cc
[ 1% 1495/86805] host StaticLib: libv8base (out/host/linux-x86/obj/STATIC_LIBRARIES/libv8base_intermediates/libv8base.a)
[ 1% 1496/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/trace-buffer.cc
[ 1% 1497/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/trace-writer.cc
[ 1% 1498/86805] target C++: libv8base <= external/v8/src/base/debug/stack_trace_android.cc
[ 1% 1499/86805] target StaticLib: libv8base (out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8base_intermediates/libv8base.a)
[ 1% 1500/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/trace-config.cc
[ 1% 1501/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/tracing-controller.cc
[ 1% 1502/86805] target C++: libv8platform <= external/v8/src/libplatform/worker-thread.cc
[ 1% 1503/86805] target C++: libv8platform <= external/v8/src/libplatform/task-queue.cc
[ 1% 1504/86805] build out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
[ 1% 1505/86805] target C++: libv8platform <= external/v8/src/libplatform/default-platform.cc
[ 1% 1506/86805] target StaticLib: libv8platform (out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8platform_intermediates/libv8platform.a)
[ 1% 1507/86805] build out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
[ 1% 1508/86805] build packages/apps/F-Droid/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
FAILED: packages/apps/F-Droid/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
/bin/bash -c "(rm -Rf packages/apps/F-Droid/app/build ) && (mkdir -p /home/ubuntu/rattlesnake-os/out/target/common/obj/APPS/F-Droid_intermediates ) && (ln -sf /home/ubuntu/rattlesnake-os/out/target/common/obj/APPS/F-Droid_intermediates packages/apps/F-Droid/app/build ) && (cd packages/apps/F-Droid/app && ../gradlew assembleRelease )"
Picked up _JAVA_OPTIONS: -XX:-UsePerfData
Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip
Exception in thread "main" java.net.SocketException: Broken pipe (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:236)
at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:79)
at java.base/sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1196)
at java.base/sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1339)
at java.base/sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1243)
at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:414)
at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086)
at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020)
at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1563)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1491)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:236)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[ 1% 1509/86805] target C++: libv8src <= external/v8/src/allocation.cc
[ 1% 1510/86805] target C++: libv8sampler <= external/v8/src/libsampler/sampler.cc
[ 1% 1511/86805] target C++: libv8src <= external/v8/src/asmjs/asm-types.cc
[ 1% 1512/86805] target C++: libv8src <= external/v8/src/arguments.cc
[ 1% 1513/86805] target C++: libv8src <= external/v8/src/allocation-site-scopes.cc
[ 1% 1514/86805] target C++: libv8src <= external/v8/src/address-map.cc
[ 1% 1515/86805] target C++: libv8src <= external/v8/src/api-experimental.cc
[ 1% 1516/86805] target C++: libv8src <= external/v8/src/api-arguments.cc
[ 1% 1517/86805] target C++: libv8src <= external/v8/src/api-natives.cc
[ 1% 1518/86805] target C++: libv8src <= external/v8/src/accessors.cc
[ 1% 1519/86805] target C++: libv8src <= external/v8/src/asmjs/asm-js.cc
[ 1% 1520/86805] target C++: libv8src <= external/v8/src/asmjs/asm-wasm-builder.cc
[ 1% 1521/86805] target C++: libv8src <= external/v8/src/asmjs/asm-typer.cc
[ 1% 1522/86805] target C++: libv8src <= external/v8/src/api.cc
[ 1% 1523/86805] build out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp
Picked up _JAVA_OPTIONS: -XX:-UsePerfData
WARNING: duplicate annotation of type libcore.util.NonNull
WARNING: duplicate annotation of type libcore.util.NonNull
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/io/Writer;, IN_METHOD=in method 'append(C)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/lang/Appendable;, IN_METHOD=in method 'append(C)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(1)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
ninja: build stopped: subcommand failed.
02:14:00 ninja failed with: exit status 1
Filesystem Size Used Avail Use% Mounted on
udev 15G 0 15G 0% /dev
tmpfs 3.0G 114M 2.9G 4% /run
/dev/xvda1 194G 64G 130G 33% /
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/loop0 87M 87M 0 100% /snap/core/4830
/dev/loop1 13M 13M 0 100% /snap/amazon-ssm-agent/295
/dev/loop2 87M 87M 0 100% /snap/core/5145
/dev/loop3 13M 13M 0 100% /snap/amazon-ssm-agent/495
60G /home/ubuntu/rattlesnake-os
60G total
02:14:05 up 4:59, 0 users, load average: 10.43, 7.91, 7.03
Completed 256.0 KiB/11.8 MiB with 1 file(s) remaining
Completed 512.0 KiB/11.8 MiB with 1 file(s) remaining
Completed 768.0 KiB/11.8 MiB with 1 file(s) remaining
Completed 1.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 1.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 1.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 1.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 2.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 2.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 2.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 2.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 3.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 3.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 3.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 3.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 4.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 4.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 4.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 4.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 5.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 5.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 5.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 5.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 6.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 6.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 6.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 6.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 7.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 7.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 7.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 7.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 8.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 8.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 8.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 8.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 9.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 9.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 9.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 9.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 10.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 10.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 10.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 10.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 11.0 MiB/11.8 MiB with 1 file(s) remaining
Completed 11.2 MiB/11.8 MiB with 1 file(s) remaining
Completed 11.5 MiB/11.8 MiB with 1 file(s) remaining
Completed 11.8 MiB/11.8 MiB with 1 file(s) remaining
Completed 11.8 MiB/11.8 MiB with 1 file(s) remaining
upload: ../../../var/log/cloud-init-output.log to s3://rattlej1-logs/sailfish/1534990445
--
[ 1% 1500/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/trace-config.cc
[ 1% 1501/86805] target C++: libv8platform <= external/v8/src/libplatform/tracing/tracing-controller.cc
[ 1% 1502/86805] target C++: libv8platform <= external/v8/src/libplatform/worker-thread.cc
[ 1% 1503/86805] target C++: libv8platform <= external/v8/src/libplatform/task-queue.cc
[ 1% 1504/86805] build out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt
[ 1% 1505/86805] target C++: libv8platform <= external/v8/src/libplatform/default-platform.cc
[ 1% 1506/86805] target StaticLib: libv8platform (out/target/product/sailfish/obj/STATIC_LIBRARIES/libv8platform_intermediates/libv8platform.a)
[ 1% 1507/86805] build out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
[ 1% 1508/86805] build packages/apps/F-Droid/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
FAILED: packages/apps/F-Droid/app/build/outputs/apk/full/release/app-full-release-unsigned.apk
/bin/bash -c "(rm -Rf packages/apps/F-Droid/app/build ) && (mkdir -p /home/ubuntu/rattlesnake-os/out/target/common/obj/APPS/F-Droid_intermediates ) && (ln -sf /home/ubuntu/rattlesnake-os/out/target/common/obj/APPS/F-Droid_intermediates packages/apps/F-Droid/app/build ) && (cd packages/apps/F-Droid/app && ../gradlew assembleRelease )"
Picked up _JAVA_OPTIONS: -XX:-UsePerfData
Downloading https://services.gradle.org/distributions/gradle-4.4.1-bin.zip
Exception in thread "main" java.net.SocketException: Broken pipe (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:155)
at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:236)
at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:79)
at java.base/sun.security.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:1196)
at java.base/sun.security.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:1339)
at java.base/sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:1243)
at java.base/sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:414)
at java.base/sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086)
at java.base/sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020)
at java.base/sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074)
at java.base/sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at java.base/sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1563)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1491)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:236)
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:61)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
[ 1% 1509/86805] target C++: libv8src <= external/v8/src/allocation.cc
[ 1% 1510/86805] target C++: libv8sampler <= external/v8/src/libsampler/sampler.cc
[ 1% 1511/86805] target C++: libv8src <= external/v8/src/asmjs/asm-types.cc
[ 1% 1512/86805] target C++: libv8src <= external/v8/src/arguments.cc
[ 1% 1513/86805] target C++: libv8src <= external/v8/src/allocation-site-scopes.cc
[ 1% 1514/86805] target C++: libv8src <= external/v8/src/address-map.cc
[ 1% 1515/86805] target C++: libv8src <= external/v8/src/api-experimental.cc
[ 1% 1516/86805] target C++: libv8src <= external/v8/src/api-arguments.cc
[ 1% 1517/86805] target C++: libv8src <= external/v8/src/api-natives.cc
[ 1% 1518/86805] target C++: libv8src <= external/v8/src/accessors.cc
[ 1% 1519/86805] target C++: libv8src <= external/v8/src/asmjs/asm-js.cc
[ 1% 1520/86805] target C++: libv8src <= external/v8/src/asmjs/asm-wasm-builder.cc
[ 1% 1521/86805] target C++: libv8src <= external/v8/src/asmjs/asm-typer.cc
[ 1% 1522/86805] target C++: libv8src <= external/v8/src/api.cc
[ 1% 1523/86805] build out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/annotated/timestamp
Picked up _JAVA_OPTIONS: -XX:-UsePerfData
WARNING: duplicate annotation of type libcore.util.NonNull
WARNING: duplicate annotation of type libcore.util.NonNull
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/io/Writer;, IN_METHOD=in method 'append(C)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(C)Ljava/lang/Appendable;, IN_METHOD=in method 'append(C)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/io/Writer;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/io/Writer;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, RETURN_TYPE=ReturnTypeCriterion for method: append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.io.PrintWriter, but unable to insert @libcore.util.Nullable:
@libcore.util.Nullable (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at outermost type, PARAM=ParamCriterion for method: append(Ljava/lang/CharSequence;II) at position: 0, IN_METHOD=in method 'append(Ljava/lang/CharSequence;II)Ljava/lang/Appendable;', IN_CLASS=In class 'java.io.PrintWriter' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NonNull:
@libcore.util.NonNull (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(0)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
Found class java.util.HashMap, but unable to insert @libcore.util.NullFromTypeParam:
@libcore.util.NullFromTypeParam (nl=false) @ {GENERIC_ARRAY_LOCATION=GenericArrayLocationCriterion at ( [TYPE_ARGUMENT(0), TYPE_ARGUMENT(1)] ), RETURN_TYPE=ReturnTypeCriterion for method: entrySet()Ljava/util/Set;, IN_METHOD=in method 'entrySet()Ljava/util/Set;', IN_CLASS=In class 'java.util.HashMap' (exactly)}
ninja: build stopped: subcommand failed.
02:14:00 ninja failed with: exit status 1
This is on a squeaky-clean checkout. Still won't work. I'm using master branch, not 9.0 branch.
+ echo 'Running fetch_aosp_source'
Running fetch_aosp_source
+ echo ==================================
==================================
+ pushd /home/user/jenkins/workspace/RattlesnakeOS_images_master-ROOFFD3KKAISMC4G76UPIWCPKBIHZ73OD3D77HHSZLNDKO3FBUSA/rattlesnake-os
~/rattlesnake-os ~
+ repo init --manifest-url https://android.googlesource.com/platform/manifest --manifest-branch AOSP_BRANCH --depth 1
gpg: keybox '/home/user/jenkins/workspace/RattlesnakeOS_images_master-ROOFFD3KKAISMC4G76UPIWCPKBIHZ73OD3D77HHSZLNDKO3FBUSA/.repoconfig/gnupg/pubring.kbx' created
gpg: /home/user/jenkins/workspace/RattlesnakeOS_images_master-ROOFFD3KKAISMC4G76UPIWCPKBIHZ73OD3D77HHSZLNDKO3FBUSA/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 16530D5E920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: key 67B7E448692B382C: public key "Conley Owens <[email protected]>" imported
gpg: Total number processed: 2
gpg: imported: 2
Get https://gerrit.googlesource.com/git-repo/clone.bundle
Get https://gerrit.googlesource.com/git-repo
Get https://android.googlesource.com/platform/manifest
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.
fatal: Couldn't find remote ref refs/heads/AOSP_BRANCH
fatal: Couldn't find remote ref refs/heads/AOSP_BRANCH
fatal: cannot obtain manifest https://android.googlesource.com/platform/manifest
+ true
+ grep -q RattlesnakeOS .repo/manifest.xml
grep: .repo/manifest.xml: No such file or directory
+ awk -i inplace -v FDROID_CLIENT_VERSION=1.3.1 -v FDROID_PRIV_EXT_VERSION=0.2.8 '1;/<repo-hooks in-project=/{
print " ";
print " <remote name=\"github\" fetch=\"https://github.com/RattlesnakeOS/\" revision=\"master\" />";
print " <remote name=\"fdroid\" fetch=\"https://gitlab.com/fdroid/\" />";
print " <remote name=\"prepare-vendor\" fetch=\"https://github.com/anestisb/\" revision=\"master\" />";
print " ";
print " <project path=\"script\" name=\"script\" remote=\"github\" />";
print " <project path=\"external/chromium\" name=\"platform_external_chromium\" remote=\"github\" />";
print " <project path=\"packages/apps/Updater\" name=\"platform_packages_apps_Updater\" remote=\"github\" />";
print " <project path=\"packages/apps/F-Droid\" name=\"fdroidclient\" remote=\"fdroid\" revision=\"refs/tags/" FDROID_CLIENT_VERSION "\" />";
print " <project path=\"packages/apps/F-DroidPrivilegedExtension\" name=\"privileged-extension\" remote=\"fdroid\" revision=\"refs/tags/" FDROID_PRIV_EXT_VERSION "\" />";
print " <project path=\"vendor/android-prepare-vendor\" name=\"android-prepare-vendor\" remote=\"prepare-vendor\" />"}' .repo/manifest.xml
awk: inplace:25: warning: inplace_begin: Cannot stat `.repo/manifest.xml' (No such file or directory)
awk: inplace:25: fatal: cannot open file `.repo/manifest.xml' for reading (No such file or directory)
It's possible to poll internal metadata (http://169.254.169.254/latest/meta-data/spot/termination-time) to get a notification an instance is about to shutdown, and could send a notification.
A small network connectivity issue at any point of the build process can cause a build failure. Adding some retry logic around any network operations would help out with this.
Yes. 0.15
ninja: Entering directory `out/Default/'
ninja: error: '../../third_party/libsync/src/sync.c', needed by 'obj/third_party/libsync/libsync/sync.o', missing and no known rule to make it
New build
Linux
./rattlesnakeos-stack --device walleye --name ros --prevent-shutdown --region us-east-2 --ssh-key us-east-2
Should look something like this:
RattlesnakeOS Build STARTED
Device: walleye
Stack Version: 0.0.15
Build Date: 2018.07.06.15
Elapsed Time: 0hrs 0min 6sec
AOSP Build: OPM2.171026.006.G1
AOSP Branch: android-8.1.0_r35
Chromium Version: 68.0.3440.50
F-Droid Version: 1.2.2
F-Droid Priv Extension Version: 0.2.8
N/A. Manually running build.sh. Last bit of lines:
Applying: kill Auth
Applying: kill remaining Play Services checks
error: patch failed: chrome/android/java_sources.gni:485
error: chrome/android/java_sources.gni: patch does not apply
error: patch failed: services/shape_detection/android/java/src/org/chromium/shape_detection/FaceDetectionProviderImpl.java:24
error: services/shape_detection/android/java/src/org/chromium/shape_detection/FaceDetectionProviderImpl.java: patch does not apply
Patch failed at 0001 kill remaining Play Services checks
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Applying: kill TOS and metrics opt-out
Applying: kill Translate(doesn't work)
Installing Debian sid i386 root image: /home/ubuntu/chromium/src/build/linux/debian_sid_i386-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/1015a998c2adf188813cca60b558b0ea1a0b6ced/debian_sid_i386_sysroot.tar.xz
Installing Debian sid amd64 root image: /home/ubuntu/chromium/src/build/linux/debian_sid_amd64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/1015a998c2adf188813cca60b558b0ea1a0b6ced/debian_sid_amd64_sysroot.tar.xz
Done. Made 22483 targets from 1498 files in 7466ms
ninja: Entering directory `out/Default/'
ninja: error: '../../third_party/libsync/src/sync.c', needed by 'obj/third_party/libsync/libsync/sync.o', missing and no known rule to make it
"The ability to provide a set of patches would be useful as well. We'd need to fetch additional build scripts and execute them during apply_patches. The order would matter, so maybe it would make sense to order them alphabetically and use the standard patch format - 0001-my-patch.sh."
Hello,
please provide a proper license, such as GPL-3+ so that it is free software and people can enjoy their 4 freedoms.Also, please consider not using a license similar to that which copperhead used for the userland code, because this would mean that forks will be problematic.
Thanks,
Robert
rattlesnakeos-stack/templates/build_script.go
Line 560 in c717345
It makes sense to instead of getting the metadata from the public URL, do the symmetric thing and get it from the private location:
"$(aws s3 cp "s3://${AWS_RELEASE_BUCKET}/${RELEASE_CHANNEL}" -)"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.