Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./evaluate.sh baseline fails #757

Open
syedsouban opened this issue Dec 21, 2024 · 0 comments
Open

./evaluate.sh baseline fails #757

syedsouban opened this issue Dec 21, 2024 · 0 comments

Comments

@syedsouban
Copy link

I am trying to see how much time the baseline version takes using the evaluate.sh script. But I get the following error when I try to run it:

 saubaan@Saubaans-MacBook-Pro  ~/projects/concurrency/1BillionRowChallenge   main  ./evaluate.sh baseline
WARNING gtimeout not available, benchmark runs may take indefinitely long.
+ sdk use java 21.0.1-open

Using java version 21.0.1-open in this shell.
+ java --version
openjdk 21.0.1 2023-10-17
OpenJDK Runtime Environment (build 21.0.1+12-29)
OpenJDK 64-Bit Server VM (build 21.0.1+12-29, mixed mode, sharing)
+ ./mvnw --quiet clean verify
+ rm -f measurements.txt
+ ln -s measurements_1B.txt measurements.txt

+ source ./prepare_baseline.sh
+ ./test.sh baseline
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-1.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-10.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-10000-unique-keys.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-2.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-20.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-3.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-boundaries.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-complex-utf8.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-dot.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-rounding.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-short.txt
Validating calculate_average_baseline.sh -- src/test/resources/samples/measurements-shortest.txt

+ ./test.sh baseline measurements_1B.txt
Validating calculate_average_baseline.sh -- measurements_1B.txt
1,413c1 
< Abha;-28.0;18.0;66.6
< Abidjan;-23.9;26.0;79.1
< Abéché;-21.9;29.4;80.3
< Accra;-20.8;26.4;73.5
< Addis Ababa;-32.4;16.0;65.7
< Adelaide;-31.1;17.3;67.5
< Aden;-23.0;29.1;80.9
< Ahvaz;-22.9;25.4;75.0
< Albuquerque;-34.4;14.0;64.5
< Alexandra;-38.4;11.0;61.8
< Alexandria;-29.4;20.0;75.0
< Algiers;-31.3;18.2;70.6
< Alice Springs;-28.6;21.0;71.6
< Almaty;-40.3;10.0;61.4
< Amsterdam;-38.5;10.2;63.5
< Anadyr;-57.2;-6.9;41.4
< Anchorage;-48.6;2.8;53.8
< Andorra la Vella;-42.0;9.8;62.5
< Ankara;-37.8;12.0;62.4
< Antananarivo;-29.4;17.9;66.3
< Antsiranana;-26.1;25.2;75.8
< Arkhangelsk;-48.8;1.3;56.8
< Ashgabat;-31.1;17.1;66.9
< Asmara;-34.0;15.6;71.0
< Assab;-18.7;30.5;78.5
< Astana;-45.0;3.5;52.9
< Athens;-28.9;19.2;69.9
< Atlanta;-34.2;17.0;67.2
< Auckland;-33.4;15.2;64.0
< Austin;-34.4;20.7;69.2
< Baghdad;-24.2;22.8;74.5
< Baguio;-31.6;19.5;70.5
< Baku;-35.2;15.1;66.8
< Baltimore;-38.3;13.1;65.1
< Bamako;-19.5;27.8;79.4
< Bangkok;-23.6;28.6;76.9
< Bangui;-20.6;26.0;74.9
< Banjul;-24.6;26.0;75.7
< Barcelona;-32.9;18.2;66.3
< Bata;-25.7;25.1;74.6
< Batumi;-36.4;14.0;68.0
< Beijing;-36.0;12.9;63.0
< Beirut;-27.7;20.9;70.3
< Belgrade;-37.7;12.5;62.5
< Belize City;-24.9;26.7;77.1
< Benghazi;-30.7;19.9;69.4
< Bergen;-38.3;7.7;60.3
< Berlin;-39.3;10.3;66.0
< Bilbao;-32.2;14.7;65.2
< Birao;-23.5;26.5;75.6
< Bishkek;-36.3;11.3;63.0
< Bissau;-23.6;27.0;77.2
< Blantyre;-26.5;22.2;75.8
< Bloemfontein;-36.0;15.6;69.9
< Boise;-41.8;11.4;61.1
< Bordeaux;-33.7;14.2;63.5
< Bosaso;-22.4;30.0;77.4
< Boston;-38.6;10.9;59.1
< Bouaké;-23.9;26.0;77.6
< Bratislava;-39.2;10.5;57.0
< Brazzaville;-23.0;25.0;76.0
< Bridgetown;-24.5;27.0;75.9
< Brisbane;-27.9;21.4;72.6
< Brussels;-39.9;10.5;58.2
< Bucharest;-35.6;10.8;59.0
< Budapest;-34.5;11.3;62.1
< Bujumbura;-28.8;23.8;73.1
< Bulawayo;-30.4;18.9;69.8
< Burnie;-38.5;13.1;60.6
< Busan;-34.6;15.0;64.1
< Cabo San Lucas;-23.9;23.9;76.4
< Cairns;-29.8;25.0;76.0
< Cairo;-33.9;21.4;72.3
< Calgary;-46.5;4.4;52.4
< Canberra;-36.6;13.1;60.3
< Cape Town;-35.1;16.2;65.5
< Changsha;-32.9;17.4;68.0
< Charlotte;-38.1;16.1;65.0
< Chiang Mai;-24.1;25.8;82.2
< Chicago;-40.7;9.8;58.7
< Chihuahua;-32.1;18.6;67.4
< Chittagong;-23.3;25.9;77.9
< Chișinău;-38.3;10.2;61.0
< Chongqing;-28.9;18.6;69.7
< Christchurch;-35.9;12.2;67.0
< City of San Marino;-42.8;11.8;59.3
< Colombo;-20.9;27.4;75.7
< Columbus;-37.0;11.7;62.9
< Conakry;-24.6;26.4;77.8
< Copenhagen;-38.4;9.1;61.5
< Cotonou;-22.9;27.2;77.3
< Cracow;-43.0;9.3;55.8
< Da Lat;-35.6;17.9;63.4
< Da Nang;-26.2;25.8;81.0
< Dakar;-23.0;24.0;72.5
< Dallas;-27.3;19.0;68.8
< Damascus;-34.4;17.0;66.1
< Dampier;-22.5;26.4;79.6
< Dar es Salaam;-31.1;25.8;74.3
< Darwin;-24.8;27.6;77.3
< Denpasar;-29.1;23.7;73.6
< Denver;-37.8;10.4;63.9
< Detroit;-39.5;10.0;59.7
< Dhaka;-26.2;25.9;79.6
< Dikson;-62.2;-11.1;40.6
< Dili;-23.3;26.6;79.6
< Djibouti;-19.8;29.9;79.9
< Dodoma;-38.1;22.7;74.8
< Dolisie;-27.0;24.0;77.1
< Douala;-21.6;26.7;77.1
< Dubai;-20.3;26.9;78.1
< Dublin;-37.4;9.8;61.5
< Dunedin;-38.7;11.1;59.1
< Durban;-31.1;20.6;67.9
< Dushanbe;-36.8;14.7;65.5
< Edinburgh;-39.5;9.3;61.3
< Edmonton;-42.8;4.2;53.7
< El Paso;-30.5;18.1;69.3
< Entebbe;-37.0;21.0;74.1
< Erbil;-30.6;19.5;72.0
< Erzurum;-44.7;5.1;53.8
< Fairbanks;-55.5;-2.3;47.4
< Fianarantsoa;-29.9;17.9;66.7
< Flores,  Petén;-25.4;26.4;78.7
< Frankfurt;-39.4;10.6;63.0
< Fresno;-32.4;17.9;68.1
< Fukuoka;-34.1;17.0;66.1
< Gaborone;-32.7;21.0;68.4
< Gabès;-30.3;19.5;68.5
< Gagnoa;-22.2;26.0;77.9
< Gangtok;-37.2;15.2;72.9
< Garissa;-19.3;29.3;79.2
< Garoua;-21.1;28.3;80.6
< George Town;-25.3;27.9;81.8
< Ghanzi;-27.9;21.4;74.2
< Gjoa Haven;-64.2;-14.4;36.8
< Guadalajara;-26.8;20.9;73.5
< Guangzhou;-28.9;22.4;73.0
< Guatemala City;-31.6;20.4;70.1
< Halifax;-50.0;7.5;60.3
< Hamburg;-40.8;9.7;62.1
< Hamilton;-39.0;13.8;63.5
< Hanga Roa;-30.3;20.5;68.3
< Hanoi;-26.4;23.6;76.6
< Harare;-33.1;18.4;64.8
< Harbin;-43.8;5.0;56.8
< Hargeisa;-27.3;21.7;71.0
< Hat Yai;-21.7;27.0;76.0
< Havana;-26.0;25.2;75.3
< Helsinki;-44.0;5.9;58.8
< Heraklion;-36.0;18.9;70.8
< Hiroshima;-32.1;16.3;66.4
< Ho Chi Minh City;-22.1;27.4;77.2
< Hobart;-37.3;12.7;65.4
< Hong Kong;-25.4;23.3;73.9
< Honiara;-25.2;26.5;75.0
< Honolulu;-29.6;25.4;76.5
< Houston;-29.4;20.8;69.8
< Ifrane;-36.5;11.4;64.9
< Indianapolis;-37.4;11.8;60.0
< Iqaluit;-61.7;-9.3;40.8
< Irkutsk;-48.0;1.0;51.1
< Istanbul;-33.2;13.9;65.6
< Jacksonville;-27.4;20.3;68.8
< Jakarta;-21.1;26.7;77.4
< Jayapura;-24.7;27.0;79.3
< Jerusalem;-34.3;18.3;71.9
< Johannesburg;-39.4;15.5;66.0
< Jos;-32.3;22.8;73.2
< Juba;-21.3;27.8;77.4
< Kabul;-35.1;12.1;64.3
< Kampala;-29.8;20.0;74.4
< Kandi;-20.4;27.7;74.8
< Kankan;-22.4;26.5;77.0
< Kano;-23.6;26.4;76.2
< Kansas City;-41.0;12.5;58.8
< Karachi;-19.3;26.0;76.8
< Karonga;-27.9;24.4;72.7
< Kathmandu;-29.3;18.3;66.3
< Khartoum;-21.5;29.9;77.6
< Kingston;-23.5;27.4;73.8
< Kinshasa;-22.9;25.3;78.8
< Kolkata;-21.6;26.7;75.6
< Kuala Lumpur;-24.5;27.3;75.4
< Kumasi;-24.4;26.0;73.7
< Kunming;-40.0;15.7;67.4
< Kuopio;-53.6;3.4;54.4
< Kuwait City;-20.9;25.7;80.0
< Kyiv;-41.5;8.4;56.2
< Kyoto;-34.5;15.8;64.2
< La Ceiba;-22.8;26.2;74.7
< La Paz;-24.8;23.7;73.7
< Lagos;-29.5;26.8;76.5
< Lahore;-24.7;24.3;73.7
< Lake Havasu City;-27.9;23.7;72.5
< Lake Tekapo;-40.8;8.7;55.8
< Las Palmas de Gran Canaria;-25.4;21.2;72.1
< Las Vegas;-31.7;20.3;71.5
< Launceston;-35.5;13.1;62.4
< Lhasa;-45.4;7.6;55.8
< Libreville;-25.7;25.9;81.0
< Lisbon;-32.6;17.5;68.4
< Livingstone;-32.6;21.8;71.7
< Ljubljana;-41.9;10.9;60.1
< Lodwar;-18.3;29.3;81.2
< Lomé;-26.0;26.9;79.8
< London;-39.1;11.3;59.8
< Los Angeles;-30.1;18.6;69.0
< Louisville;-36.3;13.9;66.9
< Luanda;-28.6;25.8;77.7
< Lubumbashi;-29.7;20.8;77.3
< Lusaka;-31.3;19.9;69.7
< Luxembourg City;-45.3;9.3;63.3
< Lviv;-40.7;7.8;55.7
< Lyon;-35.4;12.5;62.6
< Madrid;-32.2;15.0;66.3
< Mahajanga;-19.6;26.3;78.4
< Makassar;-21.5;26.7;78.7
< Makurdi;-25.9;26.0;73.8
< Malabo;-21.0;26.3;83.0
< Malé;-21.8;28.0;76.7
< Managua;-23.8;27.3;78.5
< Manama;-23.1;26.5;74.2
< Mandalay;-20.0;28.0;75.1
< Mango;-20.7;28.1;77.9
< Manila;-20.0;28.4;80.2
< Maputo;-30.8;22.8;71.8
< Marrakesh;-29.1;19.6;69.1
< Marseille;-33.1;15.8;63.1
< Maun;-23.6;22.4;68.9
< Medan;-21.4;26.5;73.7
< Mek'ele;-33.2;22.7;70.6
< Melbourne;-32.5;15.1;64.7
< Memphis;-36.7;17.2;67.6
< Mexicali;-24.0;23.1;72.1
< Mexico City;-33.5;17.5;74.5
< Miami;-23.3;24.9;77.6
< Milan;-35.8;13.0;66.4
< Milwaukee;-44.2;8.9;57.1
< Minneapolis;-44.9;7.8;57.0
< Minsk;-40.3;6.7;58.6
< Mogadishu;-21.9;27.1;74.4
< Mombasa;-21.9;26.3;78.1
< Monaco;-32.6;16.4;66.9
< Moncton;-46.3;6.1;56.0
< Monterrey;-27.1;22.3;69.4
< Montreal;-43.6;6.8;62.0
< Moscow;-46.8;5.8;53.7
< Mumbai;-24.4;27.1;77.6
< Murmansk;-52.8;0.6;49.3
< Muscat;-20.6;28.0;79.3
< Mzuzu;-32.2;17.7;70.3
< N'Djamena;-24.2;28.3;76.9
< Naha;-25.4;23.1;73.6
< Nairobi;-29.6;17.8;68.4
< Nakhon Ratchasima;-22.0;27.3;78.2
< Napier;-37.3;14.6;65.9
< Napoli;-31.9;15.9;63.9
< Nashville;-36.0;15.4;66.2
< Nassau;-25.2;24.6;76.5
< Ndola;-30.1;20.3;77.1
< New Delhi;-28.2;25.0;74.7
< New Orleans;-32.5;20.7;76.9
< New York City;-33.0;12.9;67.6
< Ngaoundéré;-29.1;22.0;71.4
< Niamey;-18.0;29.3;77.5
< Nicosia;-28.4;19.7;70.2
< Niigata;-44.2;13.9;63.9
< Nouadhibou;-34.2;21.3;68.2
< Nouakchott;-22.3;25.7;75.5
< Novosibirsk;-48.7;1.7;55.0
< Nuuk;-56.0;-1.4;49.6
< Odesa;-40.0;10.7;61.8
< Odienné;-25.6;26.0;80.9
< Oklahoma City;-34.1;15.9;69.1
< Omaha;-39.7;10.6;66.4
< Oranjestad;-25.7;28.1;78.1
< Oslo;-43.0;5.7;54.7
< Ottawa;-44.7;6.6;61.8
< Ouagadougou;-19.1;28.3;75.7
< Ouahigouya;-19.8;28.6;77.7
< Ouarzazate;-31.2;18.9;67.4
< Oulu;-43.7;2.7;52.1
< Palembang;-23.0;27.3;74.3
< Palermo;-33.1;18.5;70.0
< Palm Springs;-23.7;24.5;72.4
< Palmerston North;-36.8;13.2;65.0
< Panama City;-23.3;28.0;78.3
< Parakou;-31.7;26.8;74.8
< Paris;-38.3;12.3;63.2
< Perth;-29.5;18.7;73.4
< Petropavlovsk-Kamchatsky;-50.8;1.9;55.3
< Philadelphia;-36.1;13.2;62.7
< Phnom Penh;-29.8;28.3;75.6
< Phoenix;-24.4;23.9;73.2
< Pittsburgh;-44.9;10.8;61.2
< Podgorica;-32.5;15.3;63.5
< Pointe-Noire;-22.7;26.1;76.1
< Pontianak;-23.9;27.7;78.9
< Port Moresby;-24.0;26.9;75.1
< Port Sudan;-20.5;28.4;77.4
< Port Vila;-27.2;24.3;74.7
< Port-Gentil;-24.2;26.0;75.3
< Portland (OR);-36.3;12.4;63.3
< Porto;-32.9;15.7;67.4
< Prague;-41.3;8.4;58.7
< Praia;-24.2;24.4;75.9
< Pretoria;-31.8;18.2;71.1
< Pyongyang;-40.5;10.8;60.6
< Rabat;-34.2;17.2;64.4
< Rangpur;-24.3;24.4;74.0
< Reggane;-24.0;28.3;81.8
< Reykjavík;-45.3;4.3;59.4
< Riga;-43.9;6.2;57.6
< Riyadh;-26.0;26.0;74.2
< Rome;-36.1;15.2;64.3
< Roseau;-25.0;26.2;79.5
< Rostov-on-Don;-44.4;9.9;60.8
< Sacramento;-36.2;16.3;66.7
< Saint Petersburg;-47.3;5.8;54.4
< Saint-Pierre;-47.4;5.7;55.7
< Salt Lake City;-38.5;11.6;64.3
< San Antonio;-31.4;20.8;70.0
< San Diego;-34.1;17.8;67.7
< San Francisco;-36.3;14.6;72.6
< San Jose;-29.7;16.4;66.9
< San José;-32.0;22.6;71.8
< San Juan;-24.8;27.2;75.9
< San Salvador;-24.0;23.1;77.9
< Sana'a;-28.8;20.0;67.9
< Santo Domingo;-27.2;25.9;74.6
< Sapporo;-41.9;8.9;57.2
< Sarajevo;-38.7;10.1;58.5
< Saskatoon;-53.4;3.3;52.9
< Seattle;-38.0;11.3;59.1
< Seoul;-39.3;12.5;59.9
< Seville;-29.6;19.2;69.3
< Shanghai;-34.9;16.7;67.2
< Singapore;-26.2;27.0;77.2
< Skopje;-37.1;12.4;62.0
< Sochi;-36.8;14.2;65.1
< Sofia;-38.9;10.6;58.2
< Sokoto;-24.7;28.0;84.7
< Split;-32.7;16.1;65.0
< St. John's;-48.2;5.0;55.8
< St. Louis;-36.1;13.9;63.1
< Stockholm;-47.3;6.6;58.2
< Surabaya;-20.7;27.1;76.9
< Suva;-25.7;25.6;78.3
< Suwałki;-42.2;7.2;55.9
< Sydney;-30.8;17.7;65.8
< Ségou;-23.6;28.0;77.7
< Tabora;-27.3;23.0;71.1
< Tabriz;-39.4;12.6;62.3
< Taipei;-26.3;23.0;73.3
< Tallinn;-41.4;6.4;55.4
< Tamale;-26.6;27.9;77.4
< Tamanrasset;-26.8;21.7;69.3
< Tampa;-28.5;22.9;71.6
< Tashkent;-37.7;14.8;63.9
< Tauranga;-32.4;14.8;62.4
< Tbilisi;-36.3;12.9;65.8
< Tegucigalpa;-31.3;21.7;74.1
< Tehran;-30.7;17.0;67.5
< Tel Aviv;-28.2;20.0;70.9
< Thessaloniki;-36.6;16.0;68.7
< Thiès;-25.6;24.0;81.3
< Tijuana;-31.6;17.8;66.1
< Timbuktu;-19.2;28.0;79.5
< Tirana;-31.8;15.2;64.2
< Toamasina;-27.3;23.4;73.7
< Tokyo;-40.0;15.4;62.6
< Toliara;-24.0;24.1;71.5
< Toluca;-38.2;12.4;61.4
< Toronto;-44.5;9.4;61.5
< Tripoli;-31.2;20.0;67.7
< Tromsø;-46.3;2.9;53.8
< Tucson;-25.5;20.9;72.3
< Tunis;-28.3;18.4;66.5
< Ulaanbaatar;-58.0;-0.4;50.3
< Upington;-30.7;20.4;69.5
< Vaduz;-36.8;10.1;56.9
< Valencia;-32.7;18.3;67.3
< Valletta;-33.2;18.8;66.2
< Vancouver;-36.5;10.4;59.1
< Veracruz;-28.5;25.4;75.7
< Vienna;-39.0;10.4;59.9
< Vientiane;-23.8;25.9;74.6
< Villahermosa;-21.7;27.1;78.9
< Vilnius;-43.2;6.0;56.5
< Virginia Beach;-34.0;15.8;67.1
< Vladivostok;-44.3;4.9;54.4
< Warsaw;-40.8;8.5;62.3
< Washington, D.C.;-34.3;14.6;63.2
< Wau;-22.5;27.8;75.9
< Wellington;-36.9;12.9;61.7
< Whitehorse;-55.7;-0.1;54.4
< Wichita;-33.7;13.9;62.5
< Willemstad;-26.4;28.0;80.9
< Winnipeg;-48.5;3.0;53.3
< Wrocław;-40.8;9.6;60.8
< Xi'an;-34.5;14.1;70.0
< Yakutsk;-58.2;-8.8;44.6
< Yangon;-22.3;27.5;79.7
< Yaoundé;-24.2;23.8;73.4
< Yellowknife;-56.7;-4.3;49.5
< Yerevan;-38.9;12.4;68.1
< Yinchuan;-43.3;9.0;57.8
< Zagreb;-38.6;10.7;60.5
< Zanzibar City;-30.7;26.0;80.4
< Zürich;-38.7;9.3;58.9
< Ürümqi;-44.2;7.4;58.4
< İzmir;-32.5;17.9;69.6
---
> 

FAILURE: ./test.sh baseline measurements_1B.txt failed
Summary
  baseline: command failed or output did not match

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|

Raw results saved to file(s):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant